Skip to content

Commit

Permalink
FRU updates
Browse files Browse the repository at this point in the history
  • Loading branch information
xpdota committed Nov 28, 2024
1 parent 149129a commit 649294d
Showing 1 changed file with 29 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -416,8 +416,13 @@ private static ModifiableCallout<FruP1TetherEvent> makeTetherDefault(String desc
private final ModifiableCallout<?> ddStacks = new ModifiableCallout<>("DD: Stacks", "Multiple Stacks, Keep Moving");
private final ModifiableCallout<?> ddGaze = new ModifiableCallout<>("DD: Gaze", "Look Away from {gazeFrom}");

private final ModifiableCallout<AbilityCastStart> scytheMirrors1 = ModifiableCallout.durationBasedCall("Scythe Mirrors 1", "Blue Mirror and Boss, In+Proteans");
private final ModifiableCallout<AbilityCastStart> scytheMirrors2 = ModifiableCallout.durationBasedCall("Scythe Mirrors 2", "Red Mirrors, In+Proteans");
private final ModifiableCallout<AbilityCastStart> banishBuddies = ModifiableCallout.durationBasedCall("Banish III (Buddies)", "Buddies");
private final ModifiableCallout<AbilityCastStart> banishSpread = ModifiableCallout.durationBasedCall("Banish III (Spread)", "Spread");

@AutoFeed
private final SequentialTrigger<BaseEvent> axeScythe = SqtTemplates.sq(60_000,
private final SequentialTrigger<BaseEvent> axeScythe = SqtTemplates.multiInvocation(60_000,
AbilityCastStart.class, acs -> acs.abilityIdMatches(0x9D0A, 0x9D0B),
(e1, s) -> {
// Axe kick = out
Expand Down Expand Up @@ -455,7 +460,7 @@ private static ModifiableCallout<FruP1TetherEvent> makeTetherDefault(String desc
s.waitMs(300);
// Drop or avoid puddle
s.updateCall(playerHasMarker ? ddDropPuddle : ddAvoidPuddle);
var icycleCast = s.waitEvent(AbilityCastStart.class, acs -> acs.abilityIdMatches(0x9D06));
var icycleCast = s.waitEvent(AbilityCastStart.class, acs -> acs.abilityIdMatches(0x9D08));
s.updateCall((playerHasMarker && isAxeKick) ? ddKBimmune : ddKB);
s.waitCastFinished(casts, icycleCast);
s.updateCall(ddStacks);
Expand All @@ -466,12 +471,34 @@ private static ModifiableCallout<FruP1TetherEvent> makeTetherDefault(String desc
s.setParam("gazeFrom", gazeFrom);
}
s.updateCall(ddGaze);
}, (e1, s) -> {
// Mirrors
s.updateCall(scytheMirrors1, e1);
var reflectedCast = s.findOrWaitForCast(casts, acs -> acs.abilityIdMatches(0x9D0E), false);
s.updateCall(scytheMirrors2, reflectedCast);
var banish = s.findOrWaitForCast(casts, acs -> acs.abilityIdMatches(0x9D1C, 0x9D1D), false);
if (banish.abilityIdMatches(0x9D1C)) {
s.updateCall(banishBuddies, banish);
}
else {
s.updateCall(banishSpread, banish);
}
});

@NpcCastCallout(0x9D01)
private final ModifiableCallout<AbilityCastStart> twinStillness = ModifiableCallout.durationBasedCall("Twin Stillness", "Back to Front");
@NpcCastCallout(0x9D02)
private final ModifiableCallout<AbilityCastStart> twinSilence = ModifiableCallout.durationBasedCall("Twin Silence", "Front to Back");

@NpcCastCallout(0x9D12)
private final ModifiableCallout<AbilityCastStart> hallowedRay = ModifiableCallout.durationBasedCall("Hallowed Ray", "Line Stack");

@AutoFeed
private final SequentialTrigger<BaseEvent> lightRampant = SqtTemplates.sq(60_000,
AbilityCastStart.class, acs -> acs.abilityIdMatches(0x9D14),
(e1, s) -> {
// TODO
});
}


Expand Down

0 comments on commit 649294d

Please sign in to comment.