// todesröcheln:/ lasst einen zufälligen befreundeten diener auf eure hand zurückkehren. public override void onDeathrattle(Playfield p, Minion m) { List<Minion> temp = new List<Minion>(); if (m.own) { List<Minion> temp2 = new List<Minion>(p.playerFirst.ownMinions); temp2.Sort((a, b) => -a.Angr.CompareTo(b.Angr)); temp.AddRange(temp2); } else { List<Minion> temp2 = new List<Minion>(p.playerSecond.ownMinions); temp2.Sort((a, b) => a.Angr.CompareTo(b.Angr)); temp.AddRange(temp2); } if (temp.Count >= 1) { if (m.own) { Minion target = new Minion(); target = temp[0]; if (temp.Count >= 2 && !target.taunt && temp[1].taunt) target = temp[1]; p.minionReturnToHand(target, m.own, 0); } else { Minion target = new Minion(); target = temp[0]; if (temp.Count >= 2 && target.taunt && !temp[1].taunt) target = temp[1]; p.minionReturnToHand(target, m.own, 0); } } }
// kampfschrei:/ lasst einen befreundeten diener vom schlachtfeld auf eure hand zurückkehren. public override void getBattlecryEffect(Playfield p, Minion own, Minion target, int choice) { if (target != null) p.minionReturnToHand(target, target.own, 0); }
// lasst einen befreundeten diener auf eure hand zurückkehren. der diener kostet (2) weniger. public override void onCardPlay(Playfield p, bool ownplay, Minion target, int choice) { p.minionReturnToHand(target, ownplay, target.handcard.card.cost - 2); }
// Return a friendly minion to your hand. public override void onCardPlay(Playfield p, bool ownplay, Minion target, int choice) { p.minionReturnToHand(target, target.own, 0); }
//todo secret // geheimnis:/ wenn ein feindlicher diener angreift, lasst ihn auf die hand seines besitzers zurückkehren. zusätzlich kostet er (2) mehr. public override void onSecretPlay(Playfield p, bool ownplay, Minion target, int number) { p.minionReturnToHand(target, !ownplay, 2); target.Hp = -100; }