mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-20 12:48:00 +00:00
- The AI will once again pay the unless cost of Fallow Wurm and friends.
- Converted Avatar of Discord to unless cost.
This commit is contained in:
@@ -3,11 +3,8 @@ ManaCost:BR BR BR
|
|||||||
Types:Creature Avatar
|
Types:Creature Avatar
|
||||||
PT:5/3
|
PT:5/3
|
||||||
K:Flying
|
K:Flying
|
||||||
T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TrigDiscard | TriggerDescription$ When CARDNAME enters the battlefield, sacrifice it unless you discard two cards.
|
T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ DBSacSelf | TriggerDescription$ When CARDNAME enters the battlefield, sacrifice it unless you discard two cards.
|
||||||
SVar:TrigDiscard:AB$ Discard | Cost$ 0 | NumCards$ 2 | DiscardValid$ Card | Mode$ TgtChoose | Optional$ True | RememberDiscarded$ True | SubAbility$ DBSacSelf
|
SVar:DBSacSelf:DB$ Sacrifice | Cost$ 0 | Defined$ Self | UnlessCost$ Discard<2/Card> | UnlessPayer$ You
|
||||||
SVar:DBSacSelf:DB$ Sacrifice | Cost$ 0 | Defined$ Self | SubAbility$ DBCleanup | ConditionCheckSVar$ X | ConditionSVarCompare$ LT2 | References$ X
|
|
||||||
SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True
|
|
||||||
SVar:X:Remembered$Amount
|
|
||||||
SVar:NeedsToPlayVar:Y GE3
|
SVar:NeedsToPlayVar:Y GE3
|
||||||
SVar:Y:Count$InYourHand
|
SVar:Y:Count$InYourHand
|
||||||
SVar:Picture:http://www.wizards.com/global/images/magic/general/avatar_of_discord.jpg
|
SVar:Picture:http://www.wizards.com/global/images/magic/general/avatar_of_discord.jpg
|
||||||
|
|||||||
@@ -417,7 +417,7 @@ public class ComputerUtilCost {
|
|||||||
if (canPayCost(ability, payer)
|
if (canPayCost(ability, payer)
|
||||||
&& checkLifeCost(payer, ability.getPayCosts(), source, 4, sa)
|
&& checkLifeCost(payer, ability.getPayCosts(), source, 4, sa)
|
||||||
&& checkDamageCost(payer, ability.getPayCosts(), source, 4)
|
&& checkDamageCost(payer, ability.getPayCosts(), source, 4)
|
||||||
&& checkDiscardCost(payer, ability.getPayCosts(), source)
|
&& (isMine || checkDiscardCost(payer, ability.getPayCosts(), source))
|
||||||
&& (!source.getName().equals("Tyrannize") || payer.getCardsIn(ZoneType.Hand).size() > 2)
|
&& (!source.getName().equals("Tyrannize") || payer.getCardsIn(ZoneType.Hand).size() > 2)
|
||||||
&& (!source.getName().equals("Perplex") || payer.getCardsIn(ZoneType.Hand).size() < 2)
|
&& (!source.getName().equals("Perplex") || payer.getCardsIn(ZoneType.Hand).size() < 2)
|
||||||
&& (!source.getName().equals("Breaking Point") || payer.getCreaturesInPlay().size() > 1)
|
&& (!source.getName().equals("Breaking Point") || payer.getCreaturesInPlay().size() > 1)
|
||||||
|
|||||||
Reference in New Issue
Block a user