Changed reflexive ability on -2 ability to have a target. (#8993)

This commit is contained in:
AmeyMirchandani 2022-05-25 11:23:22 -04:00 committed by GitHub
parent 1991bc9e80
commit 9ebf16ca26
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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;
} }