Skip to content

Commit

Permalink
Fix Menenius mine detonation
Browse files Browse the repository at this point in the history
  • Loading branch information
sourpuh committed May 4, 2024
1 parent c3d0d98 commit 29b2a05
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,9 @@ public enum AID : uint
ActivateBlueMine = 23888,
DetonateBlueMine = 23890,
ActivateRedMine = 23889,
DetonateRedMine = 0x5D41,
DetonateRedMine = 23891,
IndiscriminateDetonation = 23892,
Explosion = 23873,
GigaTempest = 23875,
GigaTempestLargeStart = 0x5D44,
GigaTempestLargeMove = 0x5D46,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ public override void OnEventCast(Actor caster, ActorCastEvent spell)
{
_mines.Add(new(_shapeTrigger, caster.Position, Color: ArenaColor.Trap));
}
if ((AID)spell.Action.ID is AID.DetonateRedMine)
if ((AID)spell.Action.ID is AID.DetonateRedMine or AID.Explosion)
{
_mines.RemoveAll(t => t.Origin.AlmostEqual(caster.Position, 1));
}
Expand Down

0 comments on commit 29b2a05

Please sign in to comment.