//Spend all your Mana. Heal for double the mana you spent. public override void onCardPlay(Playfield p, bool ownplay, Minion target, int choice) { if (ownplay) { p.minionGetDamageOrHeal(target, -p.getSpellHeal(2 * p.mana)); p.mana = 0; } else p.minionGetDamageOrHeal(target, -p.getSpellHeal(2 * p.enemyMaxMana)); }
// Restore #7 Health. Reveal a minion in each deck. If yours costs more, Restore #14 instead. public override void onCardPlay(Playfield p, bool ownplay, Minion target, int choice) { if (p.isServer) { //TODO int heal2 = (ownplay) ? p.getSpellHeal(7) : p.getEnemySpellHeal(7); p.minionGetDamageOrHeal(target, -heal2); return; } int heal = (ownplay) ? p.getSpellHeal(11) : p.getEnemySpellHeal(11); p.minionGetDamageOrHeal(target, -heal); }
//todo make it better :D //Fügt allen Feinden $2 Schaden zu. Stellt bei allen befreundeten Charakteren #2 Leben wieder her. public override void onCardPlay(Playfield p, bool ownplay, Minion target, int choice) { int dmg = (ownplay)? p.getSpellDamageDamage(2) : p.getEnemySpellDamageDamage(2); int heal = (ownplay) ? p.getSpellHeal(2) : p.getEnemySpellHeal(2) ; if (ownplay) { p.minionGetDamageOrHeal(p.ownHero, -heal); p.minionGetDamageOrHeal(p.enemyHero, dmg); foreach (Minion m in p.ownMinions) { p.minionGetDamageOrHeal(m, -heal); } foreach (Minion m in p.enemyMinions) { p.minionGetDamageOrHeal(m, dmg); } } else { p.minionGetDamageOrHeal(p.enemyHero, -heal); p.minionGetDamageOrHeal(p.ownHero, dmg); foreach (Minion m in p.enemyMinions) { p.minionGetDamageOrHeal(m, -heal); } foreach (Minion m in p.ownMinions) { p.minionGetDamageOrHeal(m, dmg); } } }
//Vernichtet einen Diener. Stellt bei Eurem Helden #3 Leben wieder her. public override void onCardPlay(Playfield p, bool ownplay, Minion target, int choice) { p.minionGetDestroyed(target); int heal = (ownplay) ? p.getSpellHeal(3) : p.getEnemySpellHeal(3); p.minionGetDamageOrHeal(ownplay ? p.ownHero : p.enemyHero, -heal); }
// verursacht $2 schaden. stellt bei eurem helden #2 leben wieder her. public override void onCardPlay(Playfield p, bool ownplay, Minion target, int choice) { int dmg = (ownplay) ? p.getSpellDamageDamage(2) : p.getEnemySpellDamageDamage(2); int heal = (ownplay) ? p.getSpellHeal(2) : p.getEnemySpellHeal(2); p.minionGetDamageOrHeal(target, dmg); p.minionGetDamageOrHeal(ownplay ? p.ownHero : p.enemyHero, -heal); }
public override void onCardPlay(Playfield p, bool ownplay, Minion target, int choice) { int heal = (ownplay) ? p.getSpellHeal(3) : p.getEnemySpellHeal(3); p.minionGetDamageOrHeal(target, -heal); if (target.Hp < target.maxHp) { int posi = (ownplay) ? p.ownMinions.Count : p.enemyMinions.Count; p.callKid(kid, posi, ownplay); } }
// Restore all characters to full Health. public override void onCardPlay(Playfield p, bool ownplay, Minion target, int choice) { foreach (Minion m in p.ownMinions) { int heal = (ownplay) ? p.getSpellHeal(m.maxHp) : p.getEnemySpellHeal(m.maxHp); p.minionGetDamageOrHeal(m, -heal); } foreach (Minion m in p.enemyMinions) { int heal = (ownplay) ? p.getSpellHeal(m.maxHp) : p.getEnemySpellHeal(m.maxHp); p.minionGetDamageOrHeal(m, -heal); } int heal2 = (ownplay) ? p.getSpellHeal(p.enemyHero.maxHp) : p.getEnemySpellHeal(p.enemyHero.maxHp); p.minionGetDamageOrHeal(p.enemyHero, -heal2); heal2 = (ownplay) ? p.getSpellHeal(p.ownHero.maxHp) : p.getEnemySpellHeal(p.ownHero.maxHp); p.minionGetDamageOrHeal(p.ownHero, -heal2); }
//Stellt #8 Leben wieder her. Zieht 3 Karten. public override void onCardPlay(Playfield p, bool ownplay, Minion target, int choice) { int heal = (ownplay) ? p.getSpellHeal(8) : p.getEnemySpellHeal(8); p.minionGetDamageOrHeal(target, -heal); for (int i = 0; i < 3; i++) { //this.owncarddraw++; p.drawACard(CardDB.cardName.unknown, ownplay); } }
// Restore #4 Health to your hero and gain +2 Attack this turn. public override void onCardPlay(Playfield p, bool ownplay, Minion target, int choice) { if (ownplay) { int heal = p.getSpellHeal(4); p.minionGetDamageOrHeal(p.ownHero, -heal); p.minionGetTempBuff(p.ownHero, 2, 0); } else { int heal = p.getEnemySpellHeal(4); p.minionGetDamageOrHeal(p.enemyHero, -heal); p.minionGetTempBuff(p.enemyHero, 2, 0); } }
// stellt das volle leben eines dieners wieder her und verleiht ihm spott/. public override void onCardPlay(Playfield p, bool ownplay, Minion target, int choice) { target.taunt = true; int heal = (ownplay)? p.getSpellHeal(target.maxHp - target.Hp) : p.getEnemySpellHeal(target.maxHp - target.Hp); p.minionGetDamageOrHeal(target, heal); }
// stellt #8 leben wieder her. public override void onCardPlay(Playfield p, bool ownplay, Minion target, int choice) { int heal = (ownplay) ? p.getSpellHeal(8) : p.getEnemySpellHeal(8); p.minionGetDamageOrHeal(target, -heal); }
// stellt bei allen dienern #4 leben wieder her. public override void onCardPlay(Playfield p, bool ownplay, Minion target, int choice) { int heal = (ownplay) ? p.getSpellHeal(4) : p.getEnemySpellHeal(4); p.allMinionsGetDamage(-heal); }