//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); }
public override void onCardIsGoingToBePlayed(Playfield p, Handmanager.Handcard hc, bool ownplay, Handmanager.Handcard triggerhc) { if (ownplay) { p.ownAbilityReady = true; } else { p.enemyAbilityReady = true; } }
//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); }
// 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++; } }
public virtual bool onCardDicscard(Playfield p, Handmanager.Handcard hc, Minion own, int num, bool checkBonus = false) { return(false); }
public virtual void onCardIsGoingToBePlayed(Playfield p, Handmanager.Handcard hc, bool wasOwnCard, Handmanager.Handcard triggerhc) { return; }
public virtual void onCardIsGoingToBePlayed(Playfield p, Handmanager.Handcard hc, bool wasOwnCard, Minion triggerEffectMinion) { return; }