It is currently 19 Apr 2024, 21:19
   
Text Size

Aether Revolt Spoiler Season

Post MTG Forge Related Programming Questions Here

Moderators: timmermac, Blacksmith, KrazyTheFox, Agetian, friarsol, CCGHQ Admins

Re: Aether Revolt Spoiler Season

Postby Agetian » 12 Jan 2017, 14:49

Marek14 wrote:Improvise scripts (accidentally posted them in Bug Reports thread).
Added, thanks! :)
I also scripted Treasure Keeper.

Now only 7 cards missing: Dark Intimations, Gonti's Machinations, Greenbelt Rampager, Hope of Ghirapur, Indomitable Creativity, Perilous Predicament, Scrap Trawler.

Gonti's Machinations and Hope of Ghirapur should already be scriptable thanks to Hanmac's efforts (see his post above). If anyone is willing to come up with scripts, you're very welcome to do so.

Scrap Trawler might be possible to code but I'm not sure - I tried coding it but the Artifact.CMCLTX check fails for some reason.

- Agetian
Agetian
Programmer
 
Posts: 3471
Joined: 14 Mar 2011, 05:58
Has thanked: 676 times
Been thanked: 561 times

Re: Aether Revolt Spoiler Season

Postby stormcat » 12 Jan 2017, 16:46

:r33131
When Caught in the Brights triggered, enchanted creature was not exiled.

[Situation]
Attack:Mobile Garrison(My control)
Enchanted:Accomplished Automaton(Opponent control)
stormcat
 
Posts: 361
Joined: 17 Jun 2015, 05:32
Has thanked: 0 time
Been thanked: 6 times

Re: Aether Revolt Spoiler Season

Postby Agetian » 12 Jan 2017, 16:57

stormcat wrote::r33131
When Caught in the Brights triggered, enchanted creature was not exiled.

[Situation]
Attack:Mobile Garrison(My control)
Enchanted:Accomplished Automaton(Opponent control)
This should have been fixed in r33132, can you please give a newer build a try?

- Agetian
Agetian
Programmer
 
Posts: 3471
Joined: 14 Mar 2011, 05:58
Has thanked: 676 times
Been thanked: 561 times

Re: Aether Revolt Spoiler Season

Postby stormcat » 12 Jan 2017, 17:15

@Agetian
OK.I'm looking forward to being uploaded new build.
stormcat
 
Posts: 361
Joined: 17 Jun 2015, 05:32
Has thanked: 0 time
Been thanked: 6 times

Re: Aether Revolt Spoiler Season

Postby Hanmac » 12 Jan 2017, 19:39

Code: Select all
Name:Perilous Predicament
ManaCost:4 B
Types:Instant
A:SP$ RepeatEach | Cost$ 4 B | AILogic$ OpponentHasMultipleCreatures | RepeatPlayers$ Opponent | RepeatSubAbility$ DBChoose | SubAbility$ DBSacAll | SpellDescription$ Each opponent sacrifices an artifact creature and a nonartifact creature.
SVar:DBChoose:DB$ ChooseCard | Defined$ Remembered | Amount$ 1 | Choices$ Creature.Artifact+RememberedPlayerCtrl | Mandatory$ True | RememberChosen$ True | SubAbility$ DBChoose2
SVar:DBChoose2:DB$ ChooseCard | Defined$ Remembered | Amount$ 1 | Choices$ Creature.nonArtifact+IsNotRemembered+RememberedPlayerCtrl | Mandatory$ True | RememberChosen$ True
SVar:DBSacAll:DB$ SacrificeAll | ValidCards$ Permanent.IsRemembered | SubAbility$ Cleanup
SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True
SVar:RemAIDeck:True
SVar:Picture:http://www.wizards.com/global/images/magic/general/perilous_predicament.jpg
Oracle:Each opponent sacrifices an artifact creature and a nonartifact creature.
a variation of Divine Reckoning
Hanmac
 
Posts: 954
Joined: 06 May 2013, 18:44
Has thanked: 229 times
Been thanked: 158 times

Re: Aether Revolt Spoiler Season

Postby matrix4767 » 13 Jan 2017, 09:46

r33167:
Herald of Anguish is missing mana cost from ability.
matrix4767
 
Posts: 125
Joined: 09 Sep 2014, 08:10
Has thanked: 5 times
Been thanked: 3 times

Re: Aether Revolt Spoiler Season

Postby Agetian » 13 Jan 2017, 10:03

matrix4767 wrote:r33167:
Herald of Anguish is missing mana cost from ability.
Fixed (r33168).

- Agetian
Agetian
Programmer
 
Posts: 3471
Joined: 14 Mar 2011, 05:58
Has thanked: 676 times
Been thanked: 561 times

Re: Aether Revolt Spoiler Season

Postby matrix4767 » 16 Jan 2017, 09:44

Here's one card, though the Oracle won't show the second ability for some reason. But at least it works:

Code: Select all
Name:Gonti's Machinations
ManaCost:B
Types:Enchantment
T:Mode$ LifeLost | ValidPlayer$ You | TriggerZones$ Battlefield | FirstTime$ True | Execute$ TrigEnergy | TriggerDescription$ Whenever you lose life for the first time each turn, you get {E} (You get an energy counter. Damage causes loss of life).
SVar:TrigEnergy:DB$ PutCounter | Defined$ You | CounterType$ ENERGY | CounterNum$ 1
A:AB$ LoseLife | Cost$ PayEnergy<2> Sac<1/CARDNAME> | Defined$ Player.Opponent | LifeAmount$ 3 | SubAbility$ DBGainLife | TriggerDescription$ Each opponent loses 3 life. You gain life equal to the life lost this way.
SVar:DBGainLife:DB$ GainLife | Defined$ You | LifeAmount$ AFLifeLost | StackDescription$ You gain life equal to the life lost this way.
SVar:Picture:http://www.wizards.com/global/images/magic/general/gontis_machinations.jpg
Oracle:Whenever you lose life for the first time each turn, you get {E} (You get an energy counter. Damage causes loss of life).\nPay {E}{E}, sacrifice Gonti's Machinations: Each opponent loses 3 life. You gain life equal to the life lost this way.
matrix4767
 
Posts: 125
Joined: 09 Sep 2014, 08:10
Has thanked: 5 times
Been thanked: 3 times

Re: Aether Revolt Spoiler Season

Postby Agetian » 16 Jan 2017, 11:16

matrix4767 wrote:Here's one card, though the Oracle won't show the second ability for some reason. But at least it works:

Code: Select all
Name:Gonti's Machinations
ManaCost:B
Types:Enchantment
T:Mode$ LifeLost | ValidPlayer$ You | TriggerZones$ Battlefield | FirstTime$ True | Execute$ TrigEnergy | TriggerDescription$ Whenever you lose life for the first time each turn, you get {E} (You get an energy counter. Damage causes loss of life).
SVar:TrigEnergy:DB$ PutCounter | Defined$ You | CounterType$ ENERGY | CounterNum$ 1
A:AB$ LoseLife | Cost$ PayEnergy<2> Sac<1/CARDNAME> | Defined$ Player.Opponent | LifeAmount$ 3 | SubAbility$ DBGainLife | TriggerDescription$ Each opponent loses 3 life. You gain life equal to the life lost this way.
SVar:DBGainLife:DB$ GainLife | Defined$ You | LifeAmount$ AFLifeLost | StackDescription$ You gain life equal to the life lost this way.
SVar:Picture:http://www.wizards.com/global/images/magic/general/gontis_machinations.jpg
Oracle:Whenever you lose life for the first time each turn, you get {E} (You get an energy counter. Damage causes loss of life).\nPay {E}{E}, sacrifice Gonti's Machinations: Each opponent loses 3 life. You gain life equal to the life lost this way.
Thanks! I added it (the reason the second ability didn't show up was because it had TriggerDescription but needed SpellDescription).

- Agetian
Agetian
Programmer
 
Posts: 3471
Joined: 14 Mar 2011, 05:58
Has thanked: 676 times
Been thanked: 561 times

Previous

Return to Developer's Corner

Who is online

Users browsing this forum: No registered users and 81 guests


Who is online

In total there are 81 users online :: 0 registered, 0 hidden and 81 guests (based on users active over the past 10 minutes)
Most users ever online was 4143 on 23 Jan 2024, 08:21

Users browsing this forum: No registered users and 81 guests

Login Form