public void onMinionDiedTrigger( Board b, Minion triggerEffectMinion, Minion diedMinion, Minion attacker, AttackType attackType, DamageType dmgtype) { if (diedMinion == triggerEffectMinion.owner) { b.drawCards(triggerEffectMinion.owner.position.color, 1); return; } if (diedMinion != triggerEffectMinion.owner && attacker == triggerEffectMinion.owner && diedMinion.cardType == Kind.CREATURE) { b.drawCards(triggerEffectMinion.owner.position.color, 1); return; } return; }
public void onCardPlay(Board b, UColor player, ArrayList<UPosition> targets, Minion playedCard) { Minion target = b.getMinionOnPosition(targets.get(0)); target.buffMinionWithoutMessage(3, 0, 0, b); target.addnewEnchantments( "BUFF", "Focus", playedCard.card.cardDescription, playedCard.card, b, playedCard.position.color); return; }
public void onCardPlay(Board b, UColor player, ArrayList<UPosition> targets, Minion playedCard) { Minion target = b.getMinionOnPosition(targets.get(0)); target.addCardAsEnchantment( "ENCHANTMENT", "Morbid Curiosity", playedCard.card.cardDescription, playedCard, b); return; }