- Added Daunting Defender.

This commit is contained in:
jendave
2011-08-06 14:41:40 +00:00
parent 511888bf96
commit 5147aac901
3 changed files with 15 additions and 1 deletions

View File

@@ -2902,11 +2902,16 @@ public class Card extends MyObservable {
if (AllZoneUtil.isCardInPlay("Plated Pegasus") && source.isSpell()
&& restDamage > 0) restDamage = restDamage - 1;
if (isType("Cleric") && AllZoneUtil.isCardInPlay("Daunting Defender", player))
restDamage = restDamage - AllZoneUtil.getPlayerCardsInPlay(player, "Daunting Defender").size();
} //Creature end
if (AllZoneUtil.isCardInPlay("Energy Storm") && source.isSpell()) return 0;
return restDamage;
if ( restDamage > 0)
return restDamage;
else return 0;
}
public int preventDamage(final int damage, Card source, boolean isCombat) {