Esempio n. 1
0
    //Removes the call to this card's skills when the card leaves the field.
    public override void DeactivateFieldSkills()
    {
        Owner.deployTriggerTracker.RemoveListener(this);
        CancelJavelin();

        RemoveFromFieldEvent.Invoke(this);
    }
Esempio n. 2
0
    //Removes the call to this card's skills when the card leaves the field.
    public override void DeactivateFieldSkills()
    {
        Owner.deployTriggerTracker.RemoveListener(this);
        DeclareAttackEvent.RemoveListener(AbilitySupport.AntiFliers);

        RemoveFromFieldEvent.Invoke(this);
    }
Esempio n. 3
0
    //Removes the call to this card's skills when the card leaves the field.
    public override void DeactivateFieldSkills()
    {
        Owner.deployTriggerTracker.RemoveListener(this);

        RemoveOgmaBuffFromHimself();

        RemoveFromFieldEvent.Invoke(this);
    }
Esempio n. 4
0
    //This method is used to remove skills from event calls when the card is "disabled" (under a stack) and/or removed from the field.
    public override void DeactivateFieldSkills()
    {
        Owner.FieldChangeEvent.RemoveListener(CheckForAloofSwordsman);

        DisableAloofSwordsman();

        RemoveFromFieldEvent.Invoke(this);
    }
Esempio n. 5
0
    //Removes the call to this card's skills when the card leaves the field.
    public override void DeactivateFieldSkills()
    {
        Owner.Opponent.AttackTargetHandler.RemoveListener(this);
        RemoveFromSkillChangeTracker("Abel's Paladin's Protection skill is active.");

        DeclareAttackEvent.RemoveListener(CheckTwinStrike);

        RemoveFromFieldEvent.Invoke(this);
    }
Esempio n. 6
0
    //This method is used to remove skills from event calls when the card is "disabled" (under a stack) and/or removed from the field.
    public override void DeactivateFieldSkills()
    {
        Owner.FieldChangeEvent.RemoveListener(CheckForCutthroatSword);
        Owner.endTurnEvent.RemoveListener(DisableCutthroatSword);
        Owner.BeginTurnEvent.RemoveListener(CheckForCutthroatSword);

        DisableCutthroatSword();

        RemoveFromFieldEvent.Invoke(this);
    }
Esempio n. 7
0
    //This method is used to remove skills from event calls when the card is "disabled" (under a stack) and/or removed from the field.
    public override void DeactivateFieldSkills()
    {
        Owner.FieldChangeEvent.RemoveListener(CheckForMercenaryCaptain);
        Owner.endTurnEvent.RemoveListener(DisableMercenaryCaptain);
        Owner.BeginTurnEvent.RemoveListener(CheckForMercenaryCaptain);

        DisableMercenaryCaptain();

        RemoveFromFieldEvent.Invoke(this);
    }
Esempio n. 8
0
    //Removes the call to this card's skills when the card leaves the field.
    public override void DeactivateFieldSkills()
    {
        Owner.FieldChangeEvent.RemoveListener(CheckForJulian);

        //removes the buff from any allied Julian when Lena leaves the field.
        if (buffedJulian != null)
        {
            RemoveLenaBuffFromAlly(buffedJulian);
        }

        RemoveFromFieldEvent.Invoke(this);
    }
Esempio n. 9
0
    //Removes the call to this card's skills when the card leaves the field.
    public override void DeactivateFieldSkills()
    {
        //confirm it's the owner's turn, and if so, then cancel Fighter's Expertise.
        if (GameManager.instance.turnPlayer == Owner)
        {
            CancelFightersExpertise();
        }

        //removes the callbacks
        Owner.BeginTurnEvent.RemoveListener(FightersExpertise);
        Owner.endTurnEvent.RemoveListener(CancelFightersExpertise);

        RemoveFromFieldEvent.Invoke(this);
    }
Esempio n. 10
0
    //Removes the call to this card's skills when the card leaves the field.
    public override void DeactivateFieldSkills()
    {
        Owner.deployTriggerTracker.RemoveListener(this);
        Owner.endTurnEvent.RemoveListener(ResetHoLOncePerTurn);

        if (!PrinceOfLightUseable)
        {
            ResetHoLOncePerTurn();
        }

        DeclareAttackEvent.RemoveListener(Falchion);

        RemoveFromFieldEvent.Invoke(this);
    }
Esempio n. 11
0
    //Removes the call to this card's skills when the card leaves the field.
    public override void DeactivateFieldSkills()
    {
        BattleSupportEvent.RemoveListener(RedGreenBond);

        RemoveFromFieldEvent.Invoke(this);
    }
Esempio n. 12
0
    //Removes the call to this card's skills when the card leaves the field.
    public override void DeactivateFieldSkills()
    {
        DeclareAttackEvent.RemoveListener(ArmorExpertise);

        RemoveFromFieldEvent.Invoke(this);
    }
Esempio n. 13
0
    //Removes the call to this card's skills when the card leaves the field.
    public override void DeactivateFieldSkills()
    {
        GameManager.instance.battleDestructionTriggerTracker.RemoveListener(this);

        RemoveFromFieldEvent.Invoke(this);
    }