mirror of
https://github.com/correl/mage.git
synced 2024-12-26 03:00:11 +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.permanent.Permanent;
|
||||
import mage.target.Target;
|
||||
import mage.target.common.TargetAnyTarget;
|
||||
|
||||
import java.util.Collection;
|
||||
import java.util.UUID;
|
||||
|
@ -116,7 +117,9 @@ class TerrorOfThePeaksTriggeredAbility extends EntersBattlefieldAllTriggeredAbil
|
|||
return false;
|
||||
}
|
||||
this.getEffects().clear();
|
||||
this.getTargets().clear();
|
||||
this.addEffect(new DamageTargetEffect(permanent.getPower().getValue()));
|
||||
this.addTarget(new TargetAnyTarget());
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue