Skip to content

Commit

Permalink
Ex7 cleaves cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
xpdota committed Oct 7, 2023
1 parent 6a1cdb4 commit 8f38028
Showing 1 changed file with 4 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -325,14 +325,10 @@ else if (!state.playerJobMatches(Job::isTank)) {
MapEffectEvent.class, mee -> mee.getFlags() == 0x20001,
(e1, s) -> {
var cast = s.waitEvent(AbilityCastStart.class, acs -> acs.abilityIdMatches(0x8B82));
if (e1.getIndex() == 2) {
s.updateCall(dimensionalCleaveNorth, cast);
}
else if (e1.getIndex() == 3){
s.updateCall(dimensionalCleaveMiddle, cast);
}
else {
s.updateCall(dimensionalCleaveSouth, cast);
switch ((int) e1.getIndex()) {
case 2 -> s.updateCall(dimensionalCleaveNorth, cast);
case 3 -> s.updateCall(dimensionalCleaveMiddle, cast);
case 4 -> s.updateCall(dimensionalCleaveSouth, cast);
}
});
}

0 comments on commit 8f38028

Please sign in to comment.