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:
parent
d195e6a749
commit
ec79873a0d
1 changed files with 2 additions and 0 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Reference in a new issue