Ejemplo 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);
    }
Ejemplo 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);
    }
Ejemplo 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);
    }
Ejemplo 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);
    }
Ejemplo 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);
    }
Ejemplo 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);
    }
Ejemplo 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);
    }
Ejemplo 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);
    }
Ejemplo 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);
    }
Ejemplo 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);
    }
Ejemplo 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);
    }
Ejemplo 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);
    }
Ejemplo 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);
    }