public override void BeforeActStart(BattleStates.ThinkAction thinkAction) { base.BeforeActStart(thinkAction); if (thinkAction.Target == Inflictor) { thinkAction.Active = false; beforeActFinished = false; shudderManager.Reset(thinkAction.Actor); particleManager.Reset(); } else { beforeActFinished = true; } }
public override void EndTurnStart(PartyMember partyMember) { base.EndTurnStart(partyMember); textParticleManager = new ParticleManager(particleTime, (durationInTurns - turns).ToString(), Color.LightBlue); if (!Inflictor.Alive) { Inflictor = null; } shudderManager.Reset(partyMember); doomParticleManager.Reset(); textParticleManager.Reset(); }
private void resetFieldsForUpdate(PartyMember partyMember) { finished = false; thinkActionActivationDecided = false; shudderManager.Reset(partyMember); }