-
Notifications
You must be signed in to change notification settings - Fork 33
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
105 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
39 changes: 39 additions & 0 deletions
39
triggers/triggers-dt/src/main/java/gg/xp/xivsupport/triggers/Arcadion/M2S.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
package gg.xp.xivsupport.triggers.Arcadion; | ||
|
||
import gg.xp.reevent.events.BaseEvent; | ||
import gg.xp.reevent.events.EventContext; | ||
import gg.xp.reevent.scan.AutoChildEventHandler; | ||
import gg.xp.reevent.scan.FilteredEventHandler; | ||
import gg.xp.xivdata.data.duties.*; | ||
import gg.xp.xivsupport.callouts.CalloutRepo; | ||
import gg.xp.xivsupport.callouts.ModifiableCallout; | ||
import gg.xp.xivsupport.events.actlines.events.AbilityCastStart; | ||
import gg.xp.xivsupport.events.state.XivState; | ||
import gg.xp.xivsupport.events.state.combatstate.StatusEffectRepository; | ||
import gg.xp.xivsupport.events.triggers.seq.SequentialTrigger; | ||
import gg.xp.xivsupport.events.triggers.support.NpcCastCallout; | ||
|
||
@CalloutRepo(name = "M2S", duty = KnownDuty.M2S) | ||
public class M2S extends AutoChildEventHandler implements FilteredEventHandler { | ||
public M2S(XivState state, StatusEffectRepository buffs) { | ||
this.state = state; | ||
this.buffs = buffs; | ||
} | ||
|
||
private XivState state; | ||
private StatusEffectRepository buffs; | ||
|
||
@Override | ||
public boolean enabled(EventContext context) { | ||
return state.dutyIs(KnownDuty.M2S); | ||
} | ||
// | ||
// @NpcCastCallout() | ||
// private final ModifiableCallout<AbilityCastStart> raidwide = ModifiableCallout.durationBasedCall("Something", "Raidwide"); | ||
// @NpcCastCallout() | ||
// private final ModifiableCallout<AbilityCastStart> tankstack = ModifiableCallout.durationBasedCall("Something", "Tank Stack"); | ||
// @NpcCastCallout(value = 0xTODO, suppressMs = 100) | ||
// private final ModifiableCallout<AbilityCastStart> killerSting = ModifiableCallout.durationBasedCall("Killer Sting", "Tank Cleaves"); | ||
// | ||
// private final SequentialTrigger<BaseEvent> | ||
} |