forked from External/mage
[FIN] Implement Ancient Adamantoise (#13670)
* [FIN] Implement Ancient Adamantoise * change effect type * add test
This commit is contained in:
parent
cf1557c7a4
commit
bddd983e0a
5 changed files with 188 additions and 2 deletions
|
|
@ -524,7 +524,11 @@ public abstract class PermanentImpl extends CardImpl implements Permanent {
|
|||
|
||||
@Override
|
||||
public void endOfTurn(Game game) {
|
||||
this.damage = 0;
|
||||
if (!game.replaceEvent(GameEvent.getEvent(
|
||||
EventType.REMOVE_DAMAGE_EOT, this.getId(), null, this.getControllerId()
|
||||
))) {
|
||||
this.damage = 0;
|
||||
}
|
||||
this.timesLoyaltyUsed = 0;
|
||||
this.turnsOnBattlefield++;
|
||||
this.deathtouched = false;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue