From dd1f2380de1e07e93106caeeb445d1e0cb51f04b Mon Sep 17 00:00:00 2001 From: Hanmac Date: Sat, 1 Apr 2017 15:10:16 +0000 Subject: [PATCH] cards: add logic to Council's dilemma cards and DeckHints --- forge-gui/res/cardsfolder/c/capital_punishment.txt | 3 +-- forge-gui/res/cardsfolder/l/lieutenants_of_the_guard.txt | 3 ++- forge-gui/res/cardsfolder/m/messenger_jays.txt | 6 ++++-- forge-gui/res/cardsfolder/o/orchard_elemental.txt | 5 +++-- 4 files changed, 10 insertions(+), 7 deletions(-) diff --git a/forge-gui/res/cardsfolder/c/capital_punishment.txt b/forge-gui/res/cardsfolder/c/capital_punishment.txt index df94d2f7bc8..a9045f2a136 100644 --- a/forge-gui/res/cardsfolder/c/capital_punishment.txt +++ b/forge-gui/res/cardsfolder/c/capital_punishment.txt @@ -1,9 +1,8 @@ Name:Capital Punishment ManaCost:4 B B Types:Sorcery -A:SP$ Vote | Cost$ 4 B B | Defined$ Player | StoreVoteNum$ True | VoteType$ Death,Taxes | SubAbility$ DBVoteDeath | SpellDescription$ Council's dilemma — Starting with you, each player votes for death or taxes. Each opponent sacrifices a creature for each death vote and discards a card for each taxes vote. +A:SP$ Vote | Cost$ 4 B B | Defined$ Player | StoreVoteNum$ True | VoteType$ Death,Taxes | SubAbility$ DBVoteDeath | AiLogic$ DeathOrTaxes | SpellDescription$ Council's dilemma — Starting with you, each player votes for death or taxes. Each opponent sacrifices a creature for each death vote and discards a card for each taxes vote. SVar:DBVoteDeath:DB$ Sacrifice | Defined$ Player.Opponent | SacValid$ Creature | SacMessage$ Creature | Amount$ VoteNumDeath | SubAbility$ DBVoteTaxes SVar:DBVoteTaxes:DB$ Discard | Defined$ Player.Opponent | NumCards$ VoteNumTaxes | Mode$ TgtChoose -SVar:RemAIDeck:True SVar:Picture:http://www.wizards.com/global/images/magic/general/capital_punishment.jpg Oracle:Council's dilemma — Starting with you, each player votes for death or taxes. Each opponent sacrifices a creature for each death vote and discards a card for each taxes vote. diff --git a/forge-gui/res/cardsfolder/l/lieutenants_of_the_guard.txt b/forge-gui/res/cardsfolder/l/lieutenants_of_the_guard.txt index efb2281de9e..48ca906521e 100644 --- a/forge-gui/res/cardsfolder/l/lieutenants_of_the_guard.txt +++ b/forge-gui/res/cardsfolder/l/lieutenants_of_the_guard.txt @@ -3,8 +3,9 @@ ManaCost:4 W Types:Creature Human Soldier PT:2/2 T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TrigChangeZone | TriggerDescription$ Council's dilemma — When CARDNAME enters the battlefield, starting with you, each player votes for strength or numbers. Put a +1/+1 counter on CARDNAME for each strength vote and create a 1/1 white Soldier creature token for each numbers vote. -SVar:TrigChangeZone:AB$ Vote | Cost$ 0 | Defined$ Player | StoreVoteNum$ True | VoteType$ Strength,Numbers | SubAbility$ DBVoteStrength +SVar:TrigChangeZone:AB$ Vote | Cost$ 0 | Defined$ Player | StoreVoteNum$ True | VoteType$ Strength,Numbers | SubAbility$ DBVoteStrength | AiLogic$ StrengthOrNumbers SVar:DBVoteStrength:DB$ PutCounter | Cost$ 0 | Defined$ Self | CounterType$ P1P1 | CounterNum$ VoteNumStrength | SubAbility$ DBVoteNumbers SVar:DBVoteNumbers:DB$ Token | TokenAmount$ VoteNumNumbers | TokenName$ Soldier | TokenTypes$ Creature,Soldier | TokenOwner$ You | TokenColors$ White | TokenPower$ 1 | TokenToughness$ 1 | TokenImage$ w 1 1 soldier CN2 +DeckHas:Ability$Counters & Ability$Token SVar:Picture:http://www.wizards.com/global/images/magic/general/lieutenants_of_the_guard.jpg Oracle:Council's dilemma — When Lieutenants of the Guard enters the battlefield, starting with you, each player votes for strength or numbers. Put a +1/+1 counter on Lieutenants of the Guard for each strength vote and create a 1/1 white Soldier creature token for each numbers vote. diff --git a/forge-gui/res/cardsfolder/m/messenger_jays.txt b/forge-gui/res/cardsfolder/m/messenger_jays.txt index d7e35cb7209..f62f552464e 100644 --- a/forge-gui/res/cardsfolder/m/messenger_jays.txt +++ b/forge-gui/res/cardsfolder/m/messenger_jays.txt @@ -4,11 +4,13 @@ Types:Creature Bird PT:2/1 K:Flying T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TrigVote | TriggerDescription$ Council's dilemma — When CARDNAME enters the battlefield, starting with you, each player votes for feather or quill. Put a +1/+1 counter on CARDNAME for each feather vote and draw a card for each quill vote. For each card drawn this way, discard a card. -SVar:TrigVote:AB$ Vote | Cost$ 0 | Defined$ Player | StoreVoteNum$ True | VoteType$ Feather,Quill | SubAbility$ DBVoteFeather +SVar:TrigVote:AB$ Vote | Cost$ 0 | Defined$ Player | StoreVoteNum$ True | VoteType$ Feather,Quill | SubAbility$ DBVoteFeather | AiLogic$ FeatherOrQuill SVar:DBVoteFeather:DB$ PutCounter | Cost$ 0 | Defined$ Self | CounterType$ P1P1 | CounterNum$ VoteNumFeather | SubAbility$ DBVoteQuill SVar:DBVoteQuill:DB$ Draw | NumCards$ VoteNumQuill | SubAbility$ DBDiscard | RememberDrawn$ True SVar:DBDiscard:DB$ Discard | Defined$ You | NumCards$ X | Mode$ TgtChoose | References$ X | SubAbility$ DBCleanup SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True SVar:X:Remembered$Amount +DeckHas:Ability$Counters & Ability$Discard +DeckHints:Keyword$Madness & Ability$Delirium SVar:Picture:http://www.wizards.com/global/images/magic/general/messenger_jays.jpg -Oracle:Flying\nCouncil's dilemma — When Messenger Jays enters the battlefield, starting with you, each player votes for feather or quill. Put a +1/+1 counter on Messenger Jays for each feather vote and draw a card for each quill vote. For each card drawn this way, discard a card. \ No newline at end of file +Oracle:Flying\nCouncil's dilemma — When Messenger Jays enters the battlefield, starting with you, each player votes for feather or quill. Put a +1/+1 counter on Messenger Jays for each feather vote and draw a card for each quill vote. For each card drawn this way, discard a card. diff --git a/forge-gui/res/cardsfolder/o/orchard_elemental.txt b/forge-gui/res/cardsfolder/o/orchard_elemental.txt index b65d2d628a7..d29ea030c93 100644 --- a/forge-gui/res/cardsfolder/o/orchard_elemental.txt +++ b/forge-gui/res/cardsfolder/o/orchard_elemental.txt @@ -3,10 +3,11 @@ ManaCost:5 G Types:Creature Elemental PT:2/2 T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TrigChangeZone | TriggerDescription$ Council's dilemma — When CARDNAME enters the battlefield, starting with you, each player votes for sprout or harvest. Put two +1/+1 counters on CARDNAME for each sprout vote. You gain 3 life for each harvest vote. -SVar:TrigChangeZone:DB$ Vote | Defined$ Player | StoreVoteNum$ True | VoteType$ Sprout,Harvest | SubAbility$ DBVoteSprout +SVar:TrigChangeZone:DB$ Vote | Defined$ Player | StoreVoteNum$ True | VoteType$ Sprout,Harvest | SubAbility$ DBVoteSprout | AiLogic$ SproutOrHarvest SVar:DBVoteSprout:DB$ PutCounter | Defined$ Self | CounterType$ P1P1 | CounterNum$ Counters | SubAbility$ DBVoteHarvest | References$ Counters SVar:DBVoteHarvest:DB$ GainLife | LifeAmount$ Life | Defined$ You | References$ Life SVar:Counters:SVar$VoteNumSprout/Times.2 SVar:Life:SVar$VoteNumHarvest/Times.3 +DeckHas:Ability$Counters & Ability$LifeGain SVar:Picture:http://www.wizards.com/global/images/magic/general/orchard_elemental.jpg -Oracle:Council's dilemma — When Orchard Elemental enters the battlefield, starting with you, each player votes for sprout or harvest. Put two +1/+1 counters on Orchard Elemental for each sprout vote. You gain 3 life for each harvest vote. \ No newline at end of file +Oracle:Council's dilemma — When Orchard Elemental enters the battlefield, starting with you, each player votes for sprout or harvest. Put two +1/+1 counters on Orchard Elemental for each sprout vote. You gain 3 life for each harvest vote.