mirror of
https://github.com/correl/mage.git
synced 2024-12-26 11:09:27 +00:00
[M21] Terror of the Peaks - fixed missing target for damage effect
This commit is contained in:
parent
aeef4e1193
commit
f589d861f4
1 changed files with 3 additions and 0 deletions
|
@ -18,6 +18,7 @@ import mage.game.Game;
|
||||||
import mage.game.events.GameEvent;
|
import mage.game.events.GameEvent;
|
||||||
import mage.game.permanent.Permanent;
|
import mage.game.permanent.Permanent;
|
||||||
import mage.target.Target;
|
import mage.target.Target;
|
||||||
|
import mage.target.common.TargetAnyTarget;
|
||||||
|
|
||||||
import java.util.Collection;
|
import java.util.Collection;
|
||||||
import java.util.UUID;
|
import java.util.UUID;
|
||||||
|
@ -116,7 +117,9 @@ class TerrorOfThePeaksTriggeredAbility extends EntersBattlefieldAllTriggeredAbil
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
this.getEffects().clear();
|
this.getEffects().clear();
|
||||||
|
this.getTargets().clear();
|
||||||
this.addEffect(new DamageTargetEffect(permanent.getPower().getValue()));
|
this.addEffect(new DamageTargetEffect(permanent.getPower().getValue()));
|
||||||
|
this.addTarget(new TargetAnyTarget());
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue