mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-19 12:18:00 +00:00
- Don't use RegenerateAi abilities if it has a Target object and nothing is actually targeted
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
Name:Undiscovered Paradise
|
||||
ManaCost:no cost
|
||||
Types:Land
|
||||
A:AB$ Mana | Cost$ T | Produced$ Any | SpellDescription$ Add one mana of any color to your mana pool | SubAbility$ DBReturn
|
||||
A:AB$ Mana | Cost$ T | Produced$ Any | SpellDescription$ Add one mana of any color to your mana pool. During your next untap step, as you untap your permanents, return Undiscovered Paradise to its owner's hand. | SubAbility$ DBReturn
|
||||
SVar:DBReturn:DB$ Pump | Defined$ Self | KW$ HIDDEN During your next untap step, as you untap your permanents, return CARDNAME to its owner's hand. | Permanent$ True
|
||||
SVar:Picture:http://www.wizards.com/global/images/magic/general/undiscovered_paradise.jpg
|
||||
Oracle:{T}: Add one mana of any color to your mana pool. During your next untap step, as you untap your permanents, return Undiscovered Paradise to its owner's hand.
|
||||
|
||||
@@ -148,6 +148,9 @@ public class RegenerateAi extends SpellAbilityAi {
|
||||
}
|
||||
}
|
||||
}
|
||||
if (tgt.getTargets().isEmpty()) {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
return chance;
|
||||
|
||||
Reference in New Issue
Block a user