示例#1
0
 internal static void hintAttackComplete(string reason)
 {
     if (attacker != null)
     {
         LogReport($"attack was completed for {attacker.Nickname} - {attacker.DisplayName} - {attacker.GUID} ({reason}) -victims [{activationVictims.Count}]");
         foreach (AbstractActor actor in activationVictims)
         {
             DamageHandler.ProcessBatchedTurnDamage(actor);
         }
         activationVictims.Clear();
     }
 }
示例#2
0
        internal static void completedTurnFor(AbstractActor actor)
        {
            if (attacker != null)
            {
                LogReport($"completed Turn Activation for {actor.Nickname} - {actor.DisplayName} - {actor.GUID} -victims [{activationVictims.Count}]");
                foreach (AbstractActor v in activationVictims)
                {
                    DamageHandler.ProcessBatchedTurnDamage(v);
                }
                activationVictims.Clear();
            }
            attacker = null;

            if (modSettings.OneChangePerTurn)
            {
                resetDamageTrackerFor(actor);
            }
        }