- Fixed Rebound for the AI.

This commit is contained in:
Agetian
2017-10-08 10:10:30 +00:00
parent bbab6a0d68
commit abbbae011f

View File

@@ -3624,10 +3624,11 @@ public class CardFactoryUtil {
String abExile = "DB$ ChangeZone | Defined$ Self | Origin$ Stack | Destination$ Exile"; String abExile = "DB$ ChangeZone | Defined$ Self | Origin$ Stack | Destination$ Exile";
String delTrig = "DB$ DelayedTrigger | Mode$ Phase | Phase$ Upkeep | ValidPlayer$ You " + String delTrig = "DB$ DelayedTrigger | Mode$ Phase | Phase$ Upkeep | ValidPlayer$ You " +
" | OptionalDecider$ You | RememberObjects$ Self | TriggerDescription$" " | OptionalDecider$ You | RememberObjects$ Self | Execute$ ReboundPlay | TriggerDescription$"
+ " At the beginning of your next upkeep, you may cast " + card.toString() + " without paying it's manacost."; + " At the beginning of your next upkeep, you may cast " + card.toString() + " without paying it's manacost.";
// TODO add check for still in exile // TODO add check for still in exile
String abPlay = "DB$ Play | Defined$ Self | WithoutManaCost$ True | Optional$ True"; String abPlay = "DB$ Play | Defined$ Self | WithoutManaCost$ True | Optional$ True";
card.setSVar("ReboundPlay", abPlay);
SpellAbility saExile = AbilityFactory.getAbility(abExile, card); SpellAbility saExile = AbilityFactory.getAbility(abExile, card);