Rivals of Ixalan Spoiler Season
Post MTG Forge Related Programming Questions Here
Moderators: timmermac, Blacksmith, KrazyTheFox, Agetian, friarsol, CCGHQ Admins
Re: Rivals of Ixalan Spoiler Season
by austinio7116 » 06 Jan 2018, 07:39
I'm going to start on a few Green cards if I can fit it in this morning, starting from the bottom of the mything spoiler list with those above Aggressive Urge
Last edited by austinio7116 on 06 Jan 2018, 07:40, edited 1 time in total.
-
austinio7116 - Posts: 451
- Joined: 10 Mar 2017, 11:59
- Has thanked: 47 times
- Been thanked: 169 times
Re: Rivals of Ixalan Spoiler Season
by austinio7116 » 06 Jan 2018, 07:40
managed giltgrove stalker and Hardy Veteran - that's all for now
-
austinio7116 - Posts: 451
- Joined: 10 Mar 2017, 11:59
- Has thanked: 47 times
- Been thanked: 169 times
Re: Rivals of Ixalan Spoiler Season
by Marek14 » 06 Jan 2018, 07:51
Skipping white Ascend cards: Pride of Conquerors, Radiant Destiny, Skymarcher Aspirant, Snubhorn Sentry
Can someone try Slaughter the Strong? Not sure how to implement it.
Sphinx's Decree - not sure how to implement it.
All other white cards added, merge request initiated.
Can someone try Slaughter the Strong? Not sure how to implement it.
Sphinx's Decree - not sure how to implement it.
All other white cards added, merge request initiated.
Re: Rivals of Ixalan Spoiler Season
by Marek14 » 06 Jan 2018, 09:14
Working on blue cards...
Skipping Ascend cards: Expel from Orazca
Not sure about Induced Amnesia. The problem is that in case the ETB trigger is copied, it should only use the number of just-remembered cards, not all remembered cards. Use Remembered and Imprinted together? Can someone try, please?
Skipping Ascend cards: Expel from Orazca
Not sure about Induced Amnesia. The problem is that in case the ETB trigger is copied, it should only use the number of just-remembered cards, not all remembered cards. Use Remembered and Imprinted together? Can someone try, please?
Re: Rivals of Ixalan Spoiler Season
by Agetian » 06 Jan 2018, 09:32
Will report some issues I found during testing here for now, not sure how to sort them out properly via Git:
Minor
-----
Cleansing Ray: has non-UTF-8 character issues in Oracle.
Imperial Ceratops: has non-UTF-8 character issues in Oracle.
Trapjaw Tyrant: has a wrong trigger description (referencing Raptor Hatchling). - ALL FIXED.
Major
-----
Bishop of Binding: doesn't appear to function correctly (the card isn't remembered and thus there is no P/T buff applied; not sure why, tried a couple things but couldn't make it work yet, could use some assistance). - FIXED.
- Agetian
Minor
-----
Imperial Ceratops: has non-UTF-8 character issues in Oracle.
Trapjaw Tyrant: has a wrong trigger description (referencing Raptor Hatchling).
Major
-----
- Agetian
- Agetian
- Programmer
- Posts: 3472
- Joined: 14 Mar 2011, 05:58
- Has thanked: 677 times
- Been thanked: 561 times
Re: Rivals of Ixalan Spoiler Season
by austinio7116 » 06 Jan 2018, 15:03
I've a couple of hours free, so going to carry on with the Green cards going bottom up on Mythic Spoiler starting with Knight of the Stampede
I've submitted a merge request with the following cards implemented:
jade_bearer.txt
jadecraft_artisan.txt
jungleborn_pioneer.txt
knight_of_the_stampede.txt
knight_of_the_stampede.txt
orazca_frillback.txt
overgrown_armasaur.txt
strength_of_the_pack.txt
swift_warden.txt
thrashing_brontodon.txt
thunderherd_migration.txt
I've submitted a merge request with the following cards implemented:
jade_bearer.txt
jadecraft_artisan.txt
jungleborn_pioneer.txt
knight_of_the_stampede.txt
knight_of_the_stampede.txt
orazca_frillback.txt
overgrown_armasaur.txt
strength_of_the_pack.txt
swift_warden.txt
thrashing_brontodon.txt
thunderherd_migration.txt
Last edited by austinio7116 on 06 Jan 2018, 16:25, edited 1 time in total.
-
austinio7116 - Posts: 451
- Joined: 10 Mar 2017, 11:59
- Has thanked: 47 times
- Been thanked: 169 times
Re: Rivals of Ixalan Spoiler Season
by Agetian » 06 Jan 2018, 15:14
Marek's merge request has been accepted. I patched up the cards referenced above so that they should now work correctly (hopefully, anyway - my tests indicate that they do).
- Agetian
- Agetian
- Agetian
- Programmer
- Posts: 3472
- Joined: 14 Mar 2011, 05:58
- Has thanked: 677 times
- Been thanked: 561 times
Re: Rivals of Ixalan Spoiler Season
by ragininsanity209 » 06 Jan 2018, 22:42
I have written Golden Golem // Gold-Forge Garrison.
I am unsure if it had been coded prior, but here it is.
I only ran into one issue, and that is when two golems after one has triggered once and they both fight. This results in an error "StringIndexOutOfBoundsException: String index out of range: -1". I am unsure how to correct this, or rather I don't have enough experience to notice it. Though, I hope this helps.
I am unsure if it had been coded prior, but here it is.
- | Open
- Name:Golden Guardian
ManaCost:4
Types:Artifact Creature Golem
PT:4/4
K:Defender
A:AB$ Fight | Cost$ 2 | Defined$ Self | ValidTgts$ Creature.Other+YouCtrl | TgtPrompt$ Select another target creature you control | SubAbility$ StoreNum | SpellDescription$ Golden Guardian fights another target creature you control. If CARDNAME dies this turn, return it to the battlefield transformed under your control.
SVar:StoreNum:DB$ StoreSVar | SVar$ GolemNum | Type$ CountSVar | Expression$ GolemNum/Plus.1
T:Mode$ ChangesZone | Origin$ Battlefield | Destination$ Graveyard | ValidCard$ Card.Self | Execute$ TrigReturn | TriggerController$ TriggeredCardController | CheckSVar$ GolemNum | SVarCompare$ GE1 | References$ GolemNum | StackDescription$ None
SVar:TrigReturn:AB$ ChangeZone | Cost$ 0 | Origin$ Graveyard | Defined$ TriggeredCard | Destination$ Battlefield | Transformed$ True | GainControl$ True | SubAbility$ DBCleanup
SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True
SVar:GolemNum:Number$0
T:Mode$ Phase | Phase$ Cleanup | Execute$ TrigReset | Static$ True
T:Mode$ ChangesZone | Origin$ Battlefield | Destination$ Any | ValidCard$ Card.Self | Execute$ TrigReset | Static$ True
SVar:TrigReset:AB$ StoreSVar | Cost$ 0 | SVar$ GolemNum | Type$ Number | Expression$ 0
SVar:RemAIDeck:True
DeckHas:Ability$Token
AlternateMode:DoubleFaced
SVar:Picture:...
Oracle:{2}: Golden Guardian fights another target creature you control. If the Golden Guardian dies this turn, return it to the battlefield transformed under your control.
ALTERNATE
Name:Gold-Forge Garrison
ManaCost:no cost
Types:Land
A:AB$ Mana | Cost$ T | Produced$ Any | Amount$ 2 | SpellDescription$ Add two mana of any one color to your mana pool.
A:AB$ Token | Cost$ 4 T | TokenAmount$ 1 | TokenImage$ c 4 4 golem | TokenName$ Golem | TokenTypes$ Artifact,Creature,Golem | TokenColors$ Colorless | TokenOwner$ You | TokenPower$ 4 | TokenToughness$ 4 | SpellDescription$ Create a colorless 4/4 artifact Golem creature token.
SVar:Picture:...
Oracle:(Transforms from Golden Guardian.)\n{T}: Add two mana of any one color to your mana pool.\n{4},{T}: Create a colorless 4/4 artifact Golem creature token.
I only ran into one issue, and that is when two golems after one has triggered once and they both fight. This results in an error "StringIndexOutOfBoundsException: String index out of range: -1". I am unsure how to correct this, or rather I don't have enough experience to notice it. Though, I hope this helps.
- Attachments
-
- golden_guardian_gold-forge_garrison.txt
- (2.27 KiB) Downloaded 161 times
- ragininsanity209
- Posts: 4
- Joined: 11 Sep 2017, 03:20
- Has thanked: 0 time
- Been thanked: 0 time
-
austinio7116 - Posts: 451
- Joined: 10 Mar 2017, 11:59
- Has thanked: 47 times
- Been thanked: 169 times
Re: Rivals of Ixalan Spoiler Season
by Marek14 » 06 Jan 2018, 22:54
Blue, continued.
Skipping Ascend cards: Kumena's Awakening, Secrets of the Golden City
Release to the Wind - not sure how to adapt code from something like Hostage Taker to this, which allows owner of the card to cast it.
Skipping Ascend cards: Kumena's Awakening, Secrets of the Golden City
Release to the Wind - not sure how to adapt code from something like Hostage Taker to this, which allows owner of the card to cast it.
Last edited by Marek14 on 06 Jan 2018, 23:02, edited 1 time in total.
Re: Rivals of Ixalan Spoiler Season
by austinio7116 » 06 Jan 2018, 23:00
Skipping Cherished Hatchling - not sure how to handle this one - can't see anything like it in previous cards - perhaps someone with more scripting knowledge could have a go? Might it be we need to use Clone with AddAbilities?
-
austinio7116 - Posts: 451
- Joined: 10 Mar 2017, 11:59
- Has thanked: 47 times
- Been thanked: 169 times
Re: Rivals of Ixalan Spoiler Season
by Marek14 » 06 Jan 2018, 23:39
Skipping Ascend cards: Slippery Scoundrel, Spire Winder, Timestream Navigator
Other blue cards added, merge requested.
Other blue cards added, merge requested.
Re: Rivals of Ixalan Spoiler Season
by austinio7116 » 06 Jan 2018, 23:46
-
austinio7116 - Posts: 451
- Joined: 10 Mar 2017, 11:59
- Has thanked: 47 times
- Been thanked: 169 times
Re: Rivals of Ixalan Spoiler Season
by ragininsanity209 » 07 Jan 2018, 02:57
This is what I've got, though there is probably a better way to handle the interactions. Having the same issue with two or more of them dying at once, getting the "StringIndexOutOfBoundsException: String index out of range: -1" error.austinio7116 wrote:Skipping Cherished Hatchling - not sure how to handle this one - can't see anything like it in previous cards - perhaps someone with more scripting knowledge could have a go? Might it be we need to use Clone with AddAbilities?
- | Open
- Name:Cherished Hatchling
ManaCost:1 G
Types:Creature Dinosaur
PT:2/1
T:Mode$ ChangesZone | Origin$ Battlefield | Destination$ Graveyard | ValidCard$ Card.Self | Execute$ DyingDino | TriggerController$ TriggeredCardController | StackDescription$ None
SVar:DyingDino:DB$ Effect | Cost$ 0 | Name$ Cherished Hatchling Effect | StaticAbilities$ DinoFlash | SubAbility$ DinoFight
SVar:DinoFlash:Mode$ Continuous | EffectZone$ Command | Affected$ Creature.Dinosaur+YouCtrl | AddHiddenKeyword$ Flash | AffectedZone$ Exile,Graveyard,Hand,Library,Command | Description$ Until end of turn, you may cast Dinosaur spells as though they had flash.
SVar:DinoFight:DB$ Effect | Mode$ Continuous | Name$ Cherished Hatchling Effect | EffectZone$ Command | Triggers$ TrigFight | SVars$ DBFight | Description$ Whenever you cast a Dinosaur spell this turn, it gains "When this creature enters the battlefield, you may have it fight another target creature."
SVar:TrigFight:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Creature.Dinosaur+YouCtrl | Execute$ DBFight | OptionalDecider$ You | TriggerZones$ Command | TriggerDescription$ When this creature enters the battlefield, you may have it fight another target creature.
SVar:DBFight:AB$ Fight | Cost$ 0 | Defined$ TriggeredCard | ValidTgts$ Creature.Other | TgtPrompt$ Choose another target creature
SVar:RemAIDeck:True
SVar:Picture:http://mythicspoiler.com/rix/cards/cherishedhatchling.jpg
Oracle:When Cherished Hatchling dies, you may cast Dinosaur spells this turn as though they had flash, and whenever you cast a Dinosaur spell this turn, it gains "When this creature enters the battlefield, you may have it fight another target creature."
- ragininsanity209
- Posts: 4
- Joined: 11 Sep 2017, 03:20
- Has thanked: 0 time
- Been thanked: 0 time
Re: Rivals of Ixalan Spoiler Season
by austinio7116 » 07 Jan 2018, 06:52
Trying to finish off the non-Ascend Greens starting with Jadelight Ranger
-
austinio7116 - Posts: 451
- Joined: 10 Mar 2017, 11:59
- Has thanked: 47 times
- Been thanked: 169 times
Who is online
Users browsing this forum: No registered users and 91 guests