//Destroy 2 random enemy minions. Discard 2 random cards. public override void onCardPlay(Playfield p, bool ownplay, Minion target, int choice) { if (p.isServer) { Minion choosen = p.getRandomMinionFromSide_SERVER(!ownplay, false); if (choosen != null) p.minionGetDestroyed(choosen); choosen = p.getRandomMinionFromSide_SERVER(!ownplay, false); if (choosen != null) p.minionGetDestroyed(choosen); p.discardRandomCard_SERVER(ownplay); p.discardRandomCard_SERVER(ownplay); return; } Minion choosen2 = p.searchRandomMinion(p.enemyMinions, Playfield.searchmode.searchLowestAttack); if (choosen2 != null) p.minionGetDestroyed(choosen2); choosen2 = p.searchRandomMinion(p.enemyMinions, Playfield.searchmode.searchLowestAttack); if (choosen2 != null) p.minionGetDestroyed(choosen2); p.disCardACard(ownplay); p.disCardACard(ownplay); }
// ansturm/. kampfschrei:/ werft zwei zufällige karten ab. public override void getBattlecryEffect(Playfield p, Minion own, Minion target, int choice) { if (p.isServer) { p.discardRandomCard_SERVER(own.own); p.discardRandomCard_SERVER(own.own); return; } p.disCardACard(own.own); p.disCardACard(own.own); }
// verursacht $4 schaden. werft eine zufällige karte ab. public override void onCardPlay(Playfield p, bool ownplay, Minion target, int choice) { int dmg = (ownplay) ? p.getSpellDamageDamage(4) : p.getEnemySpellDamageDamage(4); p.minionGetDamageOrHeal(target, dmg); if (p.isServer) { p.discardRandomCard_SERVER(ownplay); return; } p.disCardACard(ownplay); }