mirror of
https://github.com/correl/mage.git
synced 2024-11-15 03:00:16 +00:00
Changed reflexive ability on -2 ability to have a target. (#8993)
This commit is contained in:
parent
1991bc9e80
commit
9ebf16ca26
1 changed files with 2 additions and 0 deletions
|
@ -28,6 +28,7 @@ import mage.game.permanent.Permanent;
|
||||||
import mage.game.permanent.token.BooToken;
|
import mage.game.permanent.token.BooToken;
|
||||||
import mage.players.Player;
|
import mage.players.Player;
|
||||||
import mage.target.TargetPermanent;
|
import mage.target.TargetPermanent;
|
||||||
|
import mage.target.common.TargetAnyTarget;
|
||||||
import mage.target.common.TargetControlledCreaturePermanent;
|
import mage.target.common.TargetControlledCreaturePermanent;
|
||||||
|
|
||||||
import java.util.UUID;
|
import java.util.UUID;
|
||||||
|
@ -125,6 +126,7 @@ class MinscBooTimelessHeroesEffect extends OneShotEffect {
|
||||||
if (permanent.hasSubtype(SubType.HAMSTER, game)) {
|
if (permanent.hasSubtype(SubType.HAMSTER, game)) {
|
||||||
ability.addEffect(new DrawCardSourceControllerEffect(power));
|
ability.addEffect(new DrawCardSourceControllerEffect(power));
|
||||||
}
|
}
|
||||||
|
ability.addTarget(new TargetAnyTarget());
|
||||||
game.fireReflexiveTriggeredAbility(ability, source);
|
game.fireReflexiveTriggeredAbility(ability, source);
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue