mirror of
https://github.com/magefree/mage.git
synced 2026-01-26 21:29:17 -08:00
Welcome to the fold bug fix and tests
This commit is contained in:
parent
d7cf71a0ec
commit
4a29ae762c
2 changed files with 50 additions and 1 deletions
|
|
@ -96,7 +96,7 @@ class WelcomeToTheFoldEffect extends GainControlTargetEffect {
|
|||
maxToughness = source.getManaCostsToPay().getX();
|
||||
}
|
||||
Permanent permanent = game.getPermanent(getTargetPointer().getFirst(game, source));
|
||||
if (permanent != null && permanent.getToughness().getValue() <= maxToughness) {
|
||||
if (permanent != null && permanent.getToughness().getValue() > maxToughness) {
|
||||
this.discard();
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue