mirror of
https://github.com/magefree/mage.git
synced 2025-12-23 20:11:59 -08:00
* Crooked Scales - fixed that card can freeze game;
This commit is contained in:
parent
21c9719c47
commit
9022c76af6
1 changed files with 3 additions and 2 deletions
|
|
@ -18,6 +18,7 @@ import mage.game.permanent.Permanent;
|
|||
import mage.players.Player;
|
||||
import mage.target.common.TargetControlledCreaturePermanent;
|
||||
import mage.target.common.TargetOpponentsCreaturePermanent;
|
||||
import mage.util.ManaUtil;
|
||||
|
||||
/**
|
||||
*
|
||||
|
|
@ -78,7 +79,7 @@ class CrookedScalesEffect extends OneShotEffect {
|
|||
}
|
||||
keepGoing = false;
|
||||
} else {
|
||||
cost = new GenericManaCost(3);
|
||||
cost = ManaUtil.createManaCost(3, false);
|
||||
if (!(controller.chooseUse(Outcome.Benefit, message, source, game) && cost.pay(source, game, controller.getId(), controller.getId(), false, null))) {
|
||||
if (yourGuy != null) {
|
||||
yourGuy.destroy(controller.getId(), game, false);
|
||||
|
|
@ -88,7 +89,7 @@ class CrookedScalesEffect extends OneShotEffect {
|
|||
keepGoing = true;
|
||||
}
|
||||
}
|
||||
} while (keepGoing && controller.isInGame());
|
||||
} while (keepGoing && controller.canRespond());
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue