forked from awgil/ffxiv_bossmod
-
Notifications
You must be signed in to change notification settings - Fork 35
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #29 from FFXIV-CombatReborn/slave_thaleia
Thaleia Llymlaen update
- Loading branch information
Showing
16 changed files
with
360 additions
and
228 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
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
60 changes: 48 additions & 12 deletions
60
BossMod/Modules/Endwalker/Alliance/A32Llymlaen/A32Llymlaen.cs
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
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
68 changes: 36 additions & 32 deletions
68
BossMod/Modules/Endwalker/Alliance/A32Llymlaen/A32LlymlaenStates.cs
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 |
---|---|---|
@@ -1,34 +1,38 @@ | ||
namespace BossMod.Endwalker.Alliance.A32Llymlaen | ||
namespace BossMod.Endwalker.Alliance.A32Llymlaen; | ||
|
||
class A32LlymlaenStates : StateMachineBuilder | ||
{ | ||
class A32LlymlaenStates : StateMachineBuilder | ||
{ | ||
public A32LlymlaenStates(BossModule module) : base(module) | ||
{ | ||
TrivialPhase() | ||
.ActivateOnEnter<WindRoseAOE>() | ||
.ActivateOnEnter<SurgingWaveAOE>() | ||
.ActivateOnEnter<LandingAOE>() | ||
.ActivateOnEnter<StormwhorlLocAOE>() | ||
.ActivateOnEnter<StormwindsSpread>() | ||
.ActivateOnEnter<MaelstromLocAOE>() | ||
.ActivateOnEnter<NavigatorsTridentRectAOE>() | ||
.ActivateOnEnter<NavigatorsTridentKnockback>() | ||
.ActivateOnEnter<RightStraitCone>() | ||
.ActivateOnEnter<LeftStraitCone>() | ||
.ActivateOnEnter<SeafoamSpiralDonut>() | ||
.ActivateOnEnter<DireStraits>() | ||
.ActivateOnEnter<FrothingSeaRectAOE>() | ||
.ActivateOnEnter<SerpentsTideRectAOE1>() | ||
.ActivateOnEnter<SerpentsTideRectAOE2>() | ||
.ActivateOnEnter<SerpentsTideRectAOE3>() | ||
.ActivateOnEnter<SerpentsTideRectAOE4>() | ||
.ActivateOnEnter<SerpentsTideRectAOE5>() | ||
.ActivateOnEnter<SerpentsTideRectAOE6>() | ||
.ActivateOnEnter<ToTheLastRectAOE>() | ||
.ActivateOnEnter<DeepDiveStack>() | ||
.ActivateOnEnter<HardWaterStack>() | ||
.ActivateOnEnter<SphereShatter>() | ||
.ActivateOnEnter<SurgingWaveKnockback>(); | ||
} | ||
public A32LlymlaenStates(BossModule module) : base(module) | ||
{ | ||
TrivialPhase() | ||
.ActivateOnEnter<Godsbane>() | ||
.ActivateOnEnter<Tempest>() | ||
.ActivateOnEnter<SurgingWave>() | ||
.ActivateOnEnter<SurgingWave>() | ||
.ActivateOnEnter<WindRose>() | ||
.ActivateOnEnter<SurgingWave>() | ||
.ActivateOnEnter<TorrentialTridents>() | ||
.ActivateOnEnter<Tridents>() | ||
.ActivateOnEnter<Stormwhorl>() | ||
.ActivateOnEnter<Stormwinds>() | ||
.ActivateOnEnter<Maelstrom>() | ||
.ActivateOnEnter<NavigatorsTridentRectAOE>() | ||
.ActivateOnEnter<NavigatorsTridentKnockback>() | ||
.ActivateOnEnter<NavigatorsTridentRaidwide>() | ||
.ActivateOnEnter<RightStrait>() | ||
.ActivateOnEnter<LeftStrait>() | ||
.ActivateOnEnter<SeafoamSpiral>() | ||
.ActivateOnEnter<DireStraits>() | ||
.ActivateOnEnter<FrothingSea>() | ||
.ActivateOnEnter<SerpentsTide>() | ||
.ActivateOnEnter<ToTheLast>() | ||
.ActivateOnEnter<DeepDive1>() | ||
.ActivateOnEnter<DeepDive2>() | ||
.ActivateOnEnter<HardWater1>() | ||
.ActivateOnEnter<HardWater2>() | ||
.ActivateOnEnter<SeaFoam>() | ||
.ActivateOnEnter<Shockwave>() | ||
.ActivateOnEnter<ShockwaveRaidwide>() | ||
.ActivateOnEnter<SurgingWavesArenaChange>(); | ||
} | ||
} | ||
} |
12 changes: 0 additions & 12 deletions
12
BossMod/Modules/Endwalker/Alliance/A32Llymlaen/LlymlaenConeCleaves.cs
This file was deleted.
Oops, something went wrong.
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
28 changes: 28 additions & 0 deletions
28
BossMod/Modules/Endwalker/Alliance/A32Llymlaen/LlymlaenFrothingSea.cs
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,28 @@ | ||
namespace BossMod.Endwalker.Alliance.A32Llymlaen; | ||
|
||
public class FrothingSea : Components.Exaflare | ||
{ | ||
private static readonly Angle _rot1 = 90.Degrees(); | ||
private static readonly Angle _rot2 = -90.Degrees(); | ||
public FrothingSea() : base(new AOEShapeRect(6, 20, 80)) { } | ||
|
||
public override void OnEventEnvControl(BossModule module, byte index, uint state) | ||
{ | ||
var _activation = module.WorldState.CurrentTime.AddSeconds(0.15f); | ||
if (state == 0x00800040 && index == 0x49) | ||
Lines.Add(new() { Next = new(-80, -900), Advance = 2.2f * _rot1.ToDirection(), NextExplosion = _activation, TimeToMove = 0.9f, ExplosionsLeft = 13, MaxShownExplosions = 2, Rotation = _rot1 }); | ||
if (state == 0x08000400 && index == 0x49) | ||
Lines.Add(new() { Next = new(80, -900), Advance = 2.2f * _rot2.ToDirection(), NextExplosion = _activation, TimeToMove = 0.9f, ExplosionsLeft = 13, MaxShownExplosions = 2, Rotation = _rot2 }); | ||
} | ||
|
||
public override void OnEventCast(BossModule module, Actor caster, ActorCastEvent spell) | ||
{ | ||
if (Lines.Count > 0 && (AID)spell.Action.ID == AID.FrothingSeaRectAOE) | ||
{ | ||
++NumCasts; | ||
AdvanceLine(module, Lines[0], Lines[0].Next + 2.2f * Lines[0].Rotation.ToDirection()); | ||
if (Lines[0].ExplosionsLeft == 0) | ||
Lines.RemoveAt(0); | ||
} | ||
} | ||
} |
Oops, something went wrong.