// Draw 2 cards. Overload: (2) public override void onCardPlay(Playfield p, bool ownplay, Minion target, int choice) { p.changeRecall(ownplay, 2); p.drawACard(CardDB.cardIDEnum.None, ownplay); p.drawACard(CardDB.cardIDEnum.None, ownplay); }
// verursacht $5 schaden. überladung:/ (2) public override void onCardPlay(Playfield p, bool ownplay, Minion target, int choice) { int dmg = (ownplay) ? p.getSpellDamageDamage(5) : p.getEnemySpellDamageDamage(5); p.minionGetDamageOrHeal(target, dmg); p.changeRecall(ownplay, 2); }
// fügt zwei zufälligen feindlichen dienern $2 schaden zu. überladung:/ (2) //todo list public override void onCardPlay(Playfield p, bool ownplay, Minion target, int choice) { p.changeRecall(ownplay, 2); if (p.isServer) { int damageS = (ownplay) ? p.getSpellDamageDamage(2) : p.getEnemySpellDamageDamage(2); List<Minion> temp22 = (ownplay) ? new List<Minion>(p.enemyMinions) : new List<Minion>(p.ownMinions); if (temp22.Count < 2) return; int random1 = p.getRandomNumber_SERVER(0, temp22.Count - 1); int random2 = p.getRandomNumber_SERVER(0, temp22.Count - 2); if (random2 >= random1) random2++; p.minionGetDamageOrHeal(temp22[random1], damageS); p.minionGetDamageOrHeal(temp22[random2], damageS); return; } int damage = (ownplay) ? p.getSpellDamageDamage(2) : p.getEnemySpellDamageDamage(2); List<Minion> temp2 = new List<Minion>(p.enemyMinions); temp2.Sort((a, b) => a.Hp.CompareTo(b.Hp)); int i = 0; foreach (Minion enemy in temp2) { p.minionGetDamageOrHeal(enemy, damage); i++; if (i == 2) break; } }
//Overload: (2) public override void getBattlecryEffect(Playfield p, Minion own, Minion target, int choice) { if (own != null) { p.changeRecall(own.own, 2); } }
CardDB.Card kid = CardDB.Instance.getCardDataFromID(CardDB.cardIDEnum.EX1_tk11);//spiritwolf // ruft zwei geisterwölfe (2/3) mit spott/ herbei. überladung:/ (2) public override void onCardPlay(Playfield p, bool ownplay, Minion target, int choice) { int posi = (ownplay) ? p.ownMinions.Count : p.enemyMinions.Count; p.callKid(kid, posi, ownplay); p.callKid(kid, posi, ownplay); p.changeRecall(ownplay, 2); }
// Deal $3-$6 damage.Overload: (1) public override void onCardPlay(Playfield p, bool ownplay, Minion target, int choice) { p.changeRecall(ownplay, 1); if (p.isServer) { int random = p.getRandomNumber_SERVER(3, 6); int dmgS = (ownplay) ? p.getSpellDamageDamage(random) : p.getEnemySpellDamageDamage(random); p.minionGetDamageOrHeal(target, dmgS); return; } int dmg = (ownplay) ? p.getSpellDamageDamage(4) : p.getEnemySpellDamageDamage(4); p.minionGetDamageOrHeal(target, dmg); }
public override void onCardPlay(Playfield p, bool ownplay, Minion target, int choice) { p.equipWeapon(card, ownplay); p.changeRecall(ownplay, 2); }