Пример #1
0
 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;
     }
 }
Пример #2
0
        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();
        }
Пример #3
0
 private void resetFieldsForUpdate(PartyMember partyMember)
 {
     finished = false;
     thinkActionActivationDecided = false;
     shudderManager.Reset(partyMember);
 }