Deathtouch was not working. fixing.

This commit is contained in:
jendave
2011-08-06 09:43:13 +00:00
parent 1dbb681306
commit 2733ae4e4c

View File

@@ -2684,6 +2684,11 @@ public class Card extends MyObservable {
AllZone.Stack.add(ability2);
}
if(source.getKeyword().contains("Deathtouch") && this.isCreature()) {
AllZone.GameAction.destroy(this);
//AllZone.Combat.removeFromCombat(card);
}
System.out.println("Adding " + damageToAdd + " damage to " + getName());
Log.debug("Adding " + damageToAdd + " damage to " + getName());
if(AllZoneUtil.isCardInPlay(this) && CardFactoryUtil.canDamage(source, this)) {