diff --git a/BossMod/Modules/Endwalker/Dungeon/D13LunarSubterrane/D132DamcyanAntilon.cs b/BossMod/Modules/Endwalker/Dungeon/D13LunarSubterrane/D132DamcyanAntlion.cs similarity index 93% rename from BossMod/Modules/Endwalker/Dungeon/D13LunarSubterrane/D132DamcyanAntilon.cs rename to BossMod/Modules/Endwalker/Dungeon/D13LunarSubterrane/D132DamcyanAntlion.cs index 4434611cec..d84c027445 100644 --- a/BossMod/Modules/Endwalker/Dungeon/D13LunarSubterrane/D132DamcyanAntilon.cs +++ b/BossMod/Modules/Endwalker/Dungeon/D13LunarSubterrane/D132DamcyanAntlion.cs @@ -1,4 +1,4 @@ -namespace BossMod.Endwalker.Dungeon.D13LunarSubterrane.D132DamcyanAntilon; +namespace BossMod.Endwalker.Dungeon.D13LunarSubterrane.D132DamcyanAntlion; public enum OID : uint { @@ -72,6 +72,15 @@ public override bool DestinationUnsafe(int slot, Actor actor, WPos pos) else return false; } + + public override void AddAIHints(int slot, Actor actor, PartyRolesConfig.Assignment assignment, AIHints hints) + { + foreach (var c in _casters) + // forbid the half of each lane that would result in the player being pushed into the death wall + // TODO make this work with towerfall too...not a huge priority because duty support healer can keep + // player alive in that case + hints.AddForbiddenZone(new AOEShapeRect(10, 5, 10), c.Position + c.Rotation.ToDirection() * 30); + } } class EarthenGeyser(BossModule module) : Components.StackWithCastTargets(module, ActionID.MakeSpell(AID.EarthenGeyser2), 10);