// Whenever your opponent casts a spell, add a Coin to your hand. public override void OnCardIsGoingToBePlayed(Playfield p, CardDB.Card c, bool wasOwnCard, Minion triggerEffectMinion, Minion target, int choice) { if (c.type == CardDB.cardtype.SPELL && wasOwnCard != triggerEffectMinion.own) { p.drawACard(CardDB.cardName.thecoin, triggerEffectMinion.own); } }
// Battlecry: Discard a random card. public override void getBattlecryEffect(Playfield p, Minion own, Minion target, int choice) { p.discardACard(own.own); }
public override void OnAdaptChoice(Playfield p, bool ownplay, Minion target, CardDB.cardIDEnum choice) { List <Minion> temp = p.ownMinions; switch (choice) { case CardDB.cardIDEnum.UNG_999t3: // 3attack { p.minionGetBuffed(target, 3, 0); break; } case CardDB.cardIDEnum.UNG_999t8: //divine shield { target.divineshild = true; break; } case CardDB.cardIDEnum.UNG_999t13: //poisonous { target.poisonous = true; break; } case CardDB.cardIDEnum.UNG_999t14: // +1/+1 { p.minionGetBuffed(target, 1, 1); break; } case CardDB.cardIDEnum.UNG_999t4: // 3hp { p.minionGetBuffed(target, 0, 3); break; } case CardDB.cardIDEnum.UNG_999t2: //deathrattle 2 1/1 plants { target.livingspores++; break; } case CardDB.cardIDEnum.UNG_999t7: //windfury { p.minionGetWindfurry(target); break; } case CardDB.cardIDEnum.UNG_999t6: //taunt { target.taunt = true; break; } case CardDB.cardIDEnum.UNG_999t10: //stealth { target.stealth = true; break; } case CardDB.cardIDEnum.UNG_999t5: //can't be targeted { target.AdaptedCantBeTargetedBySpellsOrHeroPowers++; break; } default: break; } }
// Deathrattle: Deal 2 damage to all minions. public override void onDeathrattle(Playfield p, Minion m) { p.allMinionsGetDamage(2); }
public override void OnCardIsGoingToBePlayed(Playfield p, CardDB.Card c, bool wasOwnCard, Minion triggerEffectMinion, Minion target, int choice) { if (wasOwnCard == triggerEffectMinion.own && c.type == CardDB.cardtype.SPELL) { int place = (wasOwnCard)? p.ownMinions.Count : p.enemyMinions.Count; p.callKid(card, place, wasOwnCard); } }
// Taunt public override void getBattlecryEffect(Playfield p, Minion own, Minion target, int choice) { }
CardDB.Card kid = CardDB.Instance.getCardDataFromID(CardDB.cardIDEnum.EX1_160t); //panther // ruft einen panther (3/2) herbei. 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, true); }
// At the start of each turn, gain +1 Attack. public override void onTurnStartTrigger(Playfield p, Minion triggerEffectMinion, bool turnStartOfOwner) { p.minionGetBuffed(triggerEffectMinion, 1, 0); }
//insprire: gain Spell Damage +1 public override void OnInspire(Playfield p, Minion m) { p.minionGetTempBuff((m.own) ? p.ownHero : p.enemyHero, 2, 0); }
// vernichtet einen diener. euer gegner zieht 2 karten. public override void onCardPlay(Playfield p, bool ownplay, Minion target, int choice) { p.minionGetDestroyed(target); p.drawACard(CardDB.cardIDEnum.None, !ownplay); p.drawACard(CardDB.cardIDEnum.None, !ownplay); }
public override void onDeathrattle(Playfield p, Minion m) { p.callKid(kid, m.zonepos - 1, m.own); }
CardDB.Card c = CardDB.Instance.getCardDataFromID(CardDB.cardIDEnum.EX1_017); //nerubian // spott. todesröcheln:/ euer gegner legt einen diener aus seinem deck auf das schlachtfeld. public override void OnDeathrattle(Playfield p, Minion m) { int place = (m.own) ? p.enemyMinions.Count : p.ownMinions.Count; p.callKid(c, place, !m.own); }
// erhält jedes Mal +1/+1, wenn Ihr eine Karte mit uberladung< ausspielt. public override void onCardIsGoingToBePlayed(Playfield p, CardDB.Card c, bool wasOwnCard, Minion triggerEffectMinion, Minion target, int choice) { if (wasOwnCard == triggerEffectMinion.own && c.Recall) { p.minionGetBuffed(triggerEffectMinion, 1, 1); } }
// Battlecry:</b> Gain 5 Armor. public override void GetBattlecryEffect(Playfield p, Minion own, Minion target, int choice) { p.minionGetArmor(own.own ? p.ownHero : p.enemyHero, 5); }
public override void onMinionIsSummoned(Playfield p, Minion triggerEffectMinion, Minion summonedMinion) { if (summonedMinion.handcard.card.race == TAG_RACE.MURLOC) { p.minionGetBuffed(triggerEffectMinion, 1, 0); } }
// Deal 2 damage to all minions. public override void onCardPlay(Playfield p, bool ownplay, Minion target, int choice) { int dmg = (ownplay) ? p.getSpellDamageDamage(2) : p.getEnemySpellDamageDamage(2); p.allMinionsGetDamage(dmg); }
public override void onMinionDiedTrigger(Playfield p, Minion triggerEffectMinion, Minion diedMinion) { if (diedMinion.handcard.card.race == TAG_RACE.MURLOC) { p.minionGetBuffed(triggerEffectMinion, -1, 0); } }
// kampfschrei:/ stellt bei eurem helden 6 leben wieder her. public override void getBattlecryEffect(Playfield p, Minion own, Minion target, int choice) { int heal = (own.own) ? p.getMinionHeal(6) : p.getEnemyMinionHeal(6); p.minionGetDamageOrHeal(own.own ? p.ownHero : p.enemyHero, -heal); }
public override void onCardPlay(Playfield p, bool ownplay, Minion target, int choice) { }
// todesröcheln:/ fügt eurer hand ein zufälliges wildtier hinzu. public override void onDeathrattle(Playfield p, Minion m) { p.drawACard(CardDB.cardIDEnum.CS2_120, m.own, true); }
// Deal $2 damage to all enemy minions and Freeze them. public override void OnCardPlay(Playfield p, bool ownplay, Minion target, int choice) { int dmg = (ownplay) ? p.getSpellDamageDamage(2) : p.getEnemySpellDamageDamage(2); p.allMinionOfASideGetDamage(!ownplay, dmg, true); }
// Battlecry: Draw a card. If it's a minion, transform it into a Chicken. public override void GetBattlecryEffect(Playfield p, Minion own, Minion target, int choice) { p.drawACard(CardDB.cardIDEnum.None, own.own); }
//Taunt Battlecry: Deal 2 damageto all other minions. public override void getBattlecryEffect(Playfield p, Minion own, Minion target, int choice) { p.allMinionsGetDamage(2); }
// kampfschrei:/ verursacht 2 schaden. public override void GetBattlecryEffect(Playfield p, Minion own, Minion target, int choice) { p.minionGetDamageOrHeal(target, 2); }
public override void onSecretPlay(Playfield p, bool ownplay, Minion attacker, Minion target, out int number) { number = 0; if (ownplay) { int posi = p.ownMinions.Count; p.callKid(kid, posi, true); if (p.ownMinions.Count >= 1) { if (p.ownMinions[p.ownMinions.Count - 1].name == CardDB.cardName.spellbender) { number = p.ownMinions[p.ownMinions.Count - 1].entityID; } } } else { int posi = p.enemyMinions.Count; p.callKid(kid, posi, false); if (p.enemyMinions.Count >= 1) { if (p.enemyMinions[p.enemyMinions.Count - 1].name == CardDB.cardName.spellbender) { number = p.enemyMinions[p.enemyMinions.Count - 1].entityID; } } } }
//After you cast a spell, Freeze a random enemy character. public override void onCardIsGoingToBePlayed(Playfield p, CardDB.Card c, bool wasOwnCard, Minion triggerEffectMinion, Minion target, int choice) { if (triggerEffectMinion.own == wasOwnCard && c.type == CardDB.cardtype.SPELL) { Minion target2 = null; List <Minion> temp = (wasOwnCard) ? p.enemyMinions : p.ownMinions; if (temp.Count > 0) { target2 = p.searchRandomMinion(temp, Playfield.searchmode.searchLowestHP); } if (target2 == null) { target2 = (wasOwnCard) ? p.enemyHero : p.ownHero; } target2.frozen = true; } }
// fügt eurer hand zwei zufällige dämonen aus eurem deck hinzu. public override void OnCardPlay(Playfield p, bool ownplay, Minion target, int choice) { p.drawACard(CardDB.cardIDEnum.None, ownplay); p.drawACard(CardDB.cardIDEnum.None, ownplay); }
//Battlecry: Adapt, then Adapt. public override void GetBattlecryEffect(Playfield p, Minion own, Minion target, int choice) { p.getBestAdapt(own); p.getBestAdapt(own); }
public override float getPlayPenalty(Playfield p, Handmanager.Handcard hc, Minion target, int choice, bool isLethal) { return(0); }
// todesröcheln:/ fügt dem feindlichen helden 2 schaden zu. public override void onDeathrattle(Playfield p, Minion m) { p.minionGetDamageOrHeal(m.own ? p.enemyHero : p.ownHero, 2); }