Skip to content

Commit

Permalink
Merge pull request #56 from CarnifexOptimus/slave_lotsofchanges
Browse files Browse the repository at this point in the history
forgiven whimsy tower fix
  • Loading branch information
CarnifexOptimus authored Apr 24, 2024
2 parents f20622d + 41419e3 commit dd40ed0
Showing 1 changed file with 3 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -35,13 +35,10 @@ class SacramentOfPenance(BossModule module) : Components.RaidwideCastDelay(modul

class JudgmentDay(BossModule module) : Components.GenericTowers(module)
{
public override void OnActorEState(Actor actor, ushort state)
public override void OnActorCreated(Actor actor)
{
if (state is 0x01C or 0x02C)
{
if (!Towers.Any(t => t.Position.AlmostEqual(actor.Position, 1)))
Towers.Add(new(actor.Position, 5, 1, 1));
}
if ((OID)actor.OID == OID.Towers)
Towers.Add(new(actor.Position, 5, 1, 1));
}

public override void OnEventCast(Actor caster, ActorCastEvent spell)
Expand Down

0 comments on commit dd40ed0

Please sign in to comment.