Пример #1
0
 //could be used for Behaviour-class to get the value of that card in your hand
 public virtual float getValueOfCardInHand(Handmanager.Handcard hc)
 {
     return(5);
 }
Пример #2
0
 public override void onCardIsGoingToBePlayed(Playfield p, Handmanager.Handcard hc, bool ownplay, Handmanager.Handcard triggerhc)
 {
     if (ownplay)
     {
         p.ownAbilityReady = true;
     }
     else
     {
         p.enemyAbilityReady = true;
     }
 }
Пример #3
0
 //penalty if card is attacking the target-minion
 public virtual float getPlayPenalty(Playfield p, Handmanager.Handcard hc, Minion target, int choice, bool isLethal)
 {
     return(0);
 }
Пример #4
0
        // Whenever you summon a Battlecry minion while this is in your hand, gain +1/+1.

        //handled

        public override void onCardIsGoingToBePlayed(Playfield p, Handmanager.Handcard hc, bool wasOwnCard, Handmanager.Handcard triggerhc)
        {
            if (hc.card.battlecry && hc.card.type == CardType.Minion)
            {
                hc.addattack++;
                hc.addHp++;
            }
        }
Пример #5
0
 public virtual bool onCardDicscard(Playfield p, Handmanager.Handcard hc, Minion own, int num, bool checkBonus = false)
 {
     return(false);
 }
Пример #6
0
 public virtual void onCardIsGoingToBePlayed(Playfield p, Handmanager.Handcard hc, bool wasOwnCard, Handmanager.Handcard triggerhc)
 {
     return;
 }
Пример #7
0
 public virtual void onCardIsGoingToBePlayed(Playfield p, Handmanager.Handcard hc, bool wasOwnCard, Minion triggerEffectMinion)
 {
     return;
 }