mirror of
https://github.com/correl/mage.git
synced 2025-04-10 09:11:04 -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.damage = 0;
|
||||||
this.loyaltyUsed = false;
|
this.loyaltyUsed = false;
|
||||||
this.turnsOnBattlefield++;
|
this.turnsOnBattlefield++;
|
||||||
|
this.deathtouched = false;
|
||||||
for (Ability ability : this.abilities) {
|
for (Ability ability : this.abilities) {
|
||||||
ability.reset(game);
|
ability.reset(game);
|
||||||
}
|
}
|
||||||
|
@ -449,6 +450,7 @@ public abstract class PermanentImpl<T extends PermanentImpl<T>> extends CardImpl
|
||||||
@Override
|
@Override
|
||||||
public void removeAllDamage(Game game) {
|
public void removeAllDamage(Game game) {
|
||||||
damage = 0;
|
damage = 0;
|
||||||
|
deathtouched = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
protected int damagePlaneswalker(int damage, UUID sourceId, Game game, boolean preventable, boolean combat) {
|
protected int damagePlaneswalker(int damage, UUID sourceId, Game game, boolean preventable, boolean combat) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue