1
0
Fork 0
mirror of https://github.com/correl/mage.git synced 2025-04-05 01:09:06 -09:00

Fixed Issue 17

This commit is contained in:
magenoxx 2011-06-30 11:27:43 +04:00
parent d195e6a749
commit ec79873a0d

View file

@ -170,6 +170,7 @@ public abstract class PermanentImpl<T extends PermanentImpl<T>> extends CardImpl
this.damage = 0;
this.loyaltyUsed = false;
this.turnsOnBattlefield++;
this.deathtouched = false;
for (Ability ability : this.abilities) {
ability.reset(game);
}
@ -449,6 +450,7 @@ public abstract class PermanentImpl<T extends PermanentImpl<T>> extends CardImpl
@Override
public void removeAllDamage(Game game) {
damage = 0;
deathtouched = false;
}
protected int damagePlaneswalker(int damage, UUID sourceId, Game game, boolean preventable, boolean combat) {