Skip to content

Commit

Permalink
Jeuno 2 adds soft-enrage.
Browse files Browse the repository at this point in the history
  • Loading branch information
awgil committed Dec 7, 2024
1 parent def7ff8 commit 0367e86
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
1 change: 1 addition & 0 deletions BossMod/Modules/Dawntrail/Alliance/A12Fafnir/A12Fafnir.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
class ShudderingEarth(BossModule module) : Components.CastCounter(module, ActionID.MakeSpell(AID.ShudderingEarth));
class SharpSpike(BossModule module) : Components.BaitAwayIcon(module, new AOEShapeCircle(4), (uint)IconID.SharpSpike, ActionID.MakeSpell(AID.SharpSpikeAOE), 6.2f, true);
class Darter(BossModule module) : Components.Adds(module, (uint)OID.Darter);
class Venom(BossModule module) : Components.SelfTargetedAOEs(module, ActionID.MakeSpell(AID.Venom), new AOEShapeCone(30, 60.Degrees()));
class AbsoluteTerror(BossModule module) : Components.SelfTargetedAOEs(module, ActionID.MakeSpell(AID.AbsoluteTerrorAOE), new AOEShapeRect(70, 10));
class WingedTerror(BossModule module) : Components.SelfTargetedAOEs(module, ActionID.MakeSpell(AID.WingedTerrorAOE), new AOEShapeRect(70, 12.5f));

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ public enum AID : uint

AutoAttackAdd = 40633, // Darter->player, no cast, single-target
PestilentSphere = 40859, // Darter->player, 5.0s cast, single-target, single-target damage
Venom = 40858, // Darter->self, 4.0s cast, range 30 120-degree cone
HurricaneWingRaidwide = 40817, // Boss->self, 3.0+2.5s cast, single-target, visual (multi-hit raidwide)
HurricaneWingRaidwideAOE1 = 40818, // Helper->self, no cast, range 70 circle
HurricaneWingRaidwideAOE2 = 40819, // Helper->self, no cast, range 70 circle
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,11 @@ public A12FafnirStates(BossModule module) : base(module)
.Raw.Update = () => Module.PrimaryActor.IsDeadOrDestroyed || Module.FindComponent<ShudderingEarth>()?.NumCasts > 0;
SimplePhase(1, Phase2, "P2: Until 15%")
.ActivateOnEnter<Darter>()
.ActivateOnEnter<Venom>()
.Raw.Update = () => Module.PrimaryActor.IsDeadOrDestroyed || (Module.PrimaryActor.CastInfo?.IsSpell(AID.DarkMatterBlast) ?? false);
DeathPhase(2, Phase3)
.ActivateOnEnter<Darter>();
.ActivateOnEnter<Darter>()
.ActivateOnEnter<Venom>();
}

private void Phase1(uint id)
Expand Down

0 comments on commit 0367e86

Please sign in to comment.