Exemplo n.º 1
0
    private static void FinishAttack()
    {
        Selection.ThisShip = Attacker;

        Attacker.CallAttackFinishAsAttacker();
        Defender.CallAttackFinishAsDefender();

        Attacker.CallAttackFinish();
        Defender.CallAttackFinish();

        Attacker.CallAttackFinishGlobal(); // Only once!

        Triggers.ResolveTriggers(TriggerTypes.OnAttackFinish, FinishCombatActivation);
    }