- Updated PlayMain1:ALWAYS to work for non-permanent spells. Updated Decree of Justice to avoid a different mechanism for the same purpose.

This commit is contained in:
Agetian
2017-10-04 06:28:00 +00:00
parent 97bda7a949
commit 258a9c046e
2 changed files with 3 additions and 2 deletions

View File

@@ -1112,7 +1112,7 @@ public class ComputerUtil {
final Card source = sa.getHostCard(); final Card source = sa.getHostCard();
final SpellAbility sub = sa.getSubAbility(); final SpellAbility sub = sa.getSubAbility();
if ("AlwaysCastInMain1".equals(sa.getParam("AILogic"))) { if (source != null && "ALWAYS".equals(source.getSVar("PlayMain1"))) {
return true; return true;
} }

View File

@@ -2,10 +2,11 @@ Name:Decree of Justice
ManaCost:X X 2 W W ManaCost:X X 2 W W
Types:Sorcery Types:Sorcery
K:Cycling:2 W K:Cycling:2 W
A:SP$ Token | Cost$ X X 2 W W | TokenAmount$ X | TokenName$ Angel | TokenTypes$ Creature,Angel | TokenOwner$ You | TokenColors$ White | TokenPower$ 4 | TokenToughness$ 4 | TokenKeywords$ Flying | References$ X | AILogic$ AlwaysCastInMain1 | SpellDescription$ Create X 4/4 white Angel creature tokens with flying. A:SP$ Token | Cost$ X X 2 W W | TokenAmount$ X | TokenName$ Angel | TokenTypes$ Creature,Angel | TokenOwner$ You | TokenColors$ White | TokenPower$ 4 | TokenToughness$ 4 | TokenKeywords$ Flying | References$ X | SpellDescription$ Create X 4/4 white Angel creature tokens with flying.
T:Mode$ Cycled | ValidCard$ Card.Self | Execute$ TrigToken | OptionalDecider$ You | TriggerDescription$ When you cycle CARDNAME, you may pay {X}. If you do, create X 1/1 white Soldier creature tokens. T:Mode$ Cycled | ValidCard$ Card.Self | Execute$ TrigToken | OptionalDecider$ You | TriggerDescription$ When you cycle CARDNAME, you may pay {X}. If you do, create X 1/1 white Soldier creature tokens.
SVar:TrigToken:AB$ Token | Cost$ X | TokenAmount$ X | TokenName$ Soldier | TokenTypes$ Creature,Soldier | TokenOwner$ You | TokenColors$ White | TokenPower$ 1 | TokenToughness$ 1 | References$ X SVar:TrigToken:AB$ Token | Cost$ X | TokenAmount$ X | TokenName$ Soldier | TokenTypes$ Creature,Soldier | TokenOwner$ You | TokenColors$ White | TokenPower$ 1 | TokenToughness$ 1 | References$ X
SVar:X:Count$xPaid SVar:X:Count$xPaid
SVar:PlayMain1:ALWAYS
SVar:RemRandomDeck:True SVar:RemRandomDeck:True
SVar:Picture:http://www.wizards.com/global/images/magic/general/decree_of_justice.jpg SVar:Picture:http://www.wizards.com/global/images/magic/general/decree_of_justice.jpg
Oracle:Create X 4/4 white Angel creature tokens with flying.\nCycling {2}{W} ({2}{W}, Discard this card: Draw a card.)\nWhen you cycle Decree of Justice, you may pay {X}. If you do, create X 1/1 white Soldier creature tokens. Oracle:Create X 4/4 white Angel creature tokens with flying.\nCycling {2}{W} ({2}{W}, Discard this card: Draw a card.)\nWhen you cycle Decree of Justice, you may pay {X}. If you do, create X 1/1 white Soldier creature tokens.