It is currently 06 Sep 2025, 17:26
   
Text Size

Ixalan spoiler season

Post MTG Forge Related Programming Questions Here

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

Re: Ixalan spoiler season

Postby Agetian » 30 Aug 2017, 16:13

Agetian
Programmer
 
Posts: 3489
Joined: 14 Mar 2011, 05:58
Has thanked: 684 times
Been thanked: 572 times

Re: Ixalan spoiler season

Postby azcotic » 30 Aug 2017, 17:03

i'm Having problems with this card, but i think its done.

Tilonalli's Skinshifter

| Open
Name:Tilonalli's Skinshifter
ManaCost:2 R
Types:Creature Human Shaman
PT:0/1
T:Mode$ Attacks | ValidCard$ Card.Self | SubAbility$ ChooseCreature | TriggerZones$ Battlefield | Mandatory$ True | TriggerDescription$ Whenever CARDNAME attacks, it becomes a copy of another target nonlegendary attacking creature until end of turn.

SVar:ChooseCreature:DB$ ChooseCard | Cost$ 0 | Defined$ You | Amount$ 1 | Choices$ Creature.nonLegendary.Other+attacking | SubAbility$ DBClone | RememberChosen$ True | AILogic$ Clone | SpellDescription$ ever CARDNAME attacks, it becomes a copy of another target nonlegendary attacking creature until end of turn.


SVar:DBClone:DB$Clone | Defined$ Remembered | CloneTarget$ Self | Duration$ UntilEndOfTurn | SubAbility$ DBCleanup

SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True | ClearImprinted$ True

SVar:Picture:http://media.wizards.com/2017/xln/en_Vpp3G9u49p.png
Oracle:Whenever Tilomalli's Skinshifter attacks, it becomes a copy of another target nonlegendary attacking creature until end of turn.


Other Red Cards:

Angrath's Marauders

| Open
Name:Angrath's Marauders
ManaCost:5 R R
Types:Creature Human Pirate
PT:4/4
R:Event$ DamageDone | ActiveZones$ Battlefield | ValidSource$ Card | ValidTarget$ Permanent,Player | ReplaceWith$ DmgTwice | Description$ If a source would deal damage to a permanent or player, it deals double that damage to that permanent or player instead.
SVar:DmgTwice:DB$ ReplaceEffect | VarName$ DamageAmount | VarValue$ X | References$ X
SVar:X:ReplaceCount$DamageAmount/Twice
SVar:PlayMain1:TRUE
SVar:RemRandomDeck:True
SVar:Picture:http://media.wizards.com/2017/xln/en_2S0d70qzYk.png
Oracle:If a source you control would deal damage to a permanent or player, it deals double that damage to that permanent or player instead.


Captain Kannery Storm

| Open
Name:Captain Kannery Storm
ManaCost:2 R
Types:Creature Legendary Human Pirate
PT:2/2
K:Haste

T:Mode$ Attacks | ValidCard$ Card.Self | Execute$ TrigToken | TriggerDescription$ WWhenever Captain Lannery Storm attacks, create a colorless Treasure artifact token with "T, Sacrifice this artifact: Add one mana of any color to your mana pool."

SVar:TrigToken:DB$ Token | TokenAmount$ 1 | TokenName$ Treasure | TokenTypes$ Artifact,Treasure | TokenOwner$ You | TokenColors$ Colorless | TokenImage$ c treasure | TokenAltImages$ c_treasure2,c_treasure3 | TokenAbilities$ ABMana | References$ ABMana
SVar:ABMana:AB$ Mana | Cost$ Sac<1/CARDNAME> | Produced$ Any | SpellDescription$ Add one mana of any color to your mana pool.

T:Mode$ Sacrificed | ValidCard$ Treasure.YouCtrl | Execute$ TrigPump | TriggerZones$ Battlefield | TriggerDescription$ Whenever you sacrifice a treasure, CARDNAME gets +1/+0 until end of turn.
SVar:TrigPump:AB$Pump | Cost$ 0 | Defined$ Self | NumAtt$ 1 | NumDef$ 0
SVar:Picture:http://media.wizards.com/2017/xln/en_P9FMMTi6df.png
Oracle:Haste\n

Whenever Captain Lannery Storm attacks, create a colorless Treasure artifact token with "T, Sacrifice this artifact: Add one mana of any color to your mana pool."\n

Whenever you sacrifice a treasure, Captain Lannery Storm gets +1/+0 until end of turn.


Sunbird's Invocation
| Open
Name:Sunbird's Invocation
ManaCost:5 R
Types:Enchantment

T:Mode$ SpellCast | ValidCard$ Card.wasCastFromHand | ValidActivatingPlayer$ You | TriggerZones$ Battlefield | Execute$ TrigDig | TriggerDescription$ Whenever you cast a spell from your hand, reveal the top X cards of your library, where X is that spell's converted mana cost. You may cast a card revealed this way with converted mana cost X or less without paying its mana cost. Put the rest on the bottom of your library in a random order.

SVar:TrigDig:AB$ Dig | Cost$ 0 | DigNum$ X | Reveal$ True | ChangeNum$ 1 | ChangeValid$ Card.nonLand+cmcLEX | DestinationZone$ Battlefield | References$ X | Optional$ True
SVar:X:TriggerCount$CastSACMC

SVar:Picture:http://media.wizards.com/2017/xln/en_wZkZ5jvNGp.png
Oracle:Whenever you cast a spell from your hand, reveal the top X cards of your library, where X is that spell's converted mana cost. You may cast a card revealed this way with converted mana cost X or less without paying its mana cost. Put the rest on the bottom of your library in a random order.
azcotic
 
Posts: 34
Joined: 27 Aug 2017, 03:58
Has thanked: 2 times
Been thanked: 9 times

Re: Ixalan spoiler season

Postby Agetian » 30 Aug 2017, 19:14

Agetian
Programmer
 
Posts: 3489
Joined: 14 Mar 2011, 05:58
Has thanked: 684 times
Been thanked: 572 times

Re: Ixalan spoiler season

Postby azcotic » 30 Aug 2017, 20:28

Some Artifacts>

Vanquisher's Banner
| Open
Name:Vanquisher's Banner
ManaCost:5
Types:Artifact
K:ETBReplacement:Other:ChooseCT
SVar:ChooseCT:DB$ ChooseType | Type$ Creature | AILogic$ MostProminentInComputerDeck | SpellDescription$ As CARDNAME enters the battlefield, choose a creature type.



S:Mode$ Continuous | Affected$ Creature.ChosenType+YouCtrl | AddPower$ 1 | AddToughness$ 1 | Description$ Creatures you control of the chosen type get +1/+1.

T:Mode$ SpellCast | ValidCard$ Creature.ChosenType | ValidActivatingPlayer$ You | Execute$ TrigDraw | TriggerZones$ Battlefield | TriggerDescription$ Whenever you cast a creature spell of the chosen type, draw a card.

SVar:TrigDraw:DB$ Draw | NumCards$ 1 | Defined$ You

SVar:Picture:http://media.wizards.com/2017/xln/en_g5JIX0IwbO.png
Oracle:As Vanquisher's Banner enters the battlefield, choose a creature type.\n

Creatures you control of the chosen type get +1/+1. \n

Whenever you cast a creature spell of the chosen type, draw a card.


Twilight Legion Battleship
| Open
Name:Twilight Legion Battleship
ManaCost:5
Types:Artifact Vehicle
PT:4/6
K:Vigilance
K:Crew:2
SVar:Picture:http://mythicspoiler.com/ixa/cards/twilightlegionbattleship.jpg
Oracle:Vigilance \nCrew 2


Sleek Schooner
| Open
Name:Sleek Schooner
ManaCost:3
Types:Artifact Vehicle
PT:4/3
K:Crew:1
SVar:Picture:http://mythicspoiler.com/ixa/cards/sleekschooner.jpg
Oracle:Crew 1




New 2 Dinosaurs:

Infuriated Gladiodon>
| Open
Name:Infuriated Gladiodon
ManaCost:3 R G
Types:Creature Dinosaur
PT:5/5
K:Trample

T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TrigDamageAll | TriggerDescription$ When CARDNAME enters the battlefield, it deals 1 damage to each other creature.

SVar:TrigDamageAll:DB$ DamageAll | Cost$ 0 | ValidCards$ Creature.Other | NumDmg$ 1 | ValidDescription$ each other creature.

SVar:Picture:http://mythicspoiler.com/ixa/cards/infuriatedgladiodon.jpg
Oracle:Trample\nWhen Infuriated Gladiodon enters the battlefield, it deals 1 damage to each other creature.


Ankylosaurus
| Open
Name:Ankylosaurus
ManaCost:5 W
Types:Creature Dinosaur
PT:3/5

T:Mode$ DamageDone | Execute$ PutCounterAll | ValidTarget$ Card.Self | TriggerZones$ Battlefield | TriggerDescription$ Enrage - Whenever CARDNAME is dealt damage, put a +1/+1 counter on each other creature you control.
SVar:PutCounterAll:DB$ PutCounterAll | Cost$ 0 | ValidCards$ Creature.Other+YouCtrl | CounterType$ P1P1 | CounterNum$ 1 | TriggerDescription$ Put a +1/+1 counter on each other creature you control.
SVar:Picture:http://mythicspoiler.com/ixa/cards/ankylosaurus.jpg
Oracle:Enrage - Whenever CARDNAME is dealt damage, put a +1/+1 counter on each other creature you control.

Sun-Crowned Hunters
| Open
Name:Sun-Crowned Hunters
ManaCost:4 RR
Types:Creature Dinosaur
PT:5/4

T:Mode$ DamageDone | Execute$ DealDamage | ValidTarget$ Card.Self | TriggerZones$ Battlefield | TriggerDescription$ Enrage - Whenever Sun-Crowned Hunters is dealt damage, it deals 3 damage to target opponent. you control.

SVar:DealDamage:AB$ DealDamage | Cost$ 0 | ValidTgts$ Opponent | NumDmg$ 3 |

SVar:Picture:http://mythicspoiler.com/ixa/cards/suncrownedhunters.jpg
Oracle: Enrage - Whenever Sun-Crowned Hunters is dealt damage, it deals 3 damage to target opponent. control.



Edit: i fix the bug in the trigger in Enrage Ability
Last edited by azcotic on 30 Aug 2017, 22:05, edited 3 times in total.
azcotic
 
Posts: 34
Joined: 27 Aug 2017, 03:58
Has thanked: 2 times
Been thanked: 9 times

Re: Ixalan spoiler season

Postby azcotic » 30 Aug 2017, 20:34

New Merfolk Green Drop 1

Kumena's Speaker
| Open
Name:Kumena's Speaker
ManaCost:G
Types:Creature Merfolk
PT:1/1
S:Mode$ Continuous | Affected$ Card.Self | AddPower$ 1 | AddToughness$ 1 | CheckSVar$ X | CheckSVar$ Y | SVarCompare$ GE1 | Description$ CARDNAME gets +1/+1 as long as you control another Merfolk or Island.
SVar:X:Count$Valid Island.YouCtrl
SVar:Y:Count$Valid Merfolk.YouCtrl
SVar:BuffedBy:Island
SVar:BuffedBy:Merfolk
SVar:Picture:http://mythicspoiler.com/ixa/cards/kumenasomenspeaker.jpg
Oracle:Kumena's Speaker gets +1/+1 as long as you control another Merfolk or Island.



Edit: Add some cards and fix name of the Merfolk

Marauding Looter
| Open
Name:Marauding Looter
ManaCost:2 U R
Types:Creature Human Pirate
PT:4/3
T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | CheckSVar$ RaidTest | Execute$ TrigLoot | TriggerDescription$ Raid - At the beginning of your end step, if you attacked with a creature this turn, you may draw a card. If you do, discard a card.
SVar:TrigLoot:AB$Draw | Cost$ 0 | NumCards$ 1 | SubAbility$ DBDiscard
SVar:DBDiscard:DB$Discard | Defined$ You | Mode$ TgtChoose | NumCards$ 1
SVar:RaidTest:Count$AttackersDeclared
SVar:Picture:http://mythicspoiler.com/ixa/cards/maraudinglooter.jpg
Oracle:Raid - At the beginning of your end step, if you attacked with a creature this turn, you may draw a card. If you do, discard a card.
azcotic
 
Posts: 34
Joined: 27 Aug 2017, 03:58
Has thanked: 2 times
Been thanked: 9 times

Re: Ixalan spoiler season

Postby Agetian » 31 Aug 2017, 04:22

Thanks! :)
Star of Extinction and Vanquisher's Banner are now upstream. The new cards with foreign text on Mythicspoiler.com are pending the official WotC text and name reveal.

- Agetian
Agetian
Programmer
 
Posts: 3489
Joined: 14 Mar 2011, 05:58
Has thanked: 684 times
Been thanked: 572 times

Re: Ixalan spoiler season

Postby Agetian » 31 Aug 2017, 05:09

Agetian
Programmer
 
Posts: 3489
Joined: 14 Mar 2011, 05:58
Has thanked: 684 times
Been thanked: 572 times

Re: Ixalan spoiler season

Postby Agetian » 31 Aug 2017, 05:12

For reference, here are all the coded Ixalan scripts that are included upstream in the SVN repo. Please note that some of them may require the latest code modifications in order to run. If in doubt, please check out the latest copy of the Forge SVN repository (at http://svn.slightlymagic.net/forge/trunk) and compile the latest build if needed.

- Agetian
Attachments
XLN-31-aug-2017.tar.gz
(11.93 KiB) Downloaded 300 times
Agetian
Programmer
 
Posts: 3489
Joined: 14 Mar 2011, 05:58
Has thanked: 684 times
Been thanked: 572 times

Re: Ixalan spoiler season

Postby azcotic » 31 Aug 2017, 07:50

Deadeye Tracker
| Open
Name:Deadeye Tracker
ManaCost:B
Types:Creature Human Pirate
PT:1/1
# TODO: Explore will be rewritten as a separate effect by Hanmac. The followup script code will then become obsolete.
A:AB$ ChangeZone | Cost$ 1 B T | TargetMin$ 2 | TargetMax$ 2 | Origin$ Graveyard | Destination$ Exile | Choose target card in a opponent's graveyard | ValidTgts$ Card.OppOwn | SubAbility$ TrigDig | TriggerController$ TriggeredSourceController | TriggerDescription$ Exile two target cards from an opponent's graveyard. Deadeye Tracker explores. (Reveal the top card of your library. Put that card into your hand if it's a land. Otherwise, put a +1/+1 counter on this creature, then put the card back on top or into your graveyard.)
SVar:TrigDig:DB$ Dig | DigNum$ 1 | Reveal$ True | NoMove$ True | RememberRevealed$ True | SubAbility$ DBGrabLand | SpellDescription$ Reveal the top card of your library. Put that card into your hand if it's a land. Otherwise, put a +1/+1 counter on this creature, then put the card back on top or into your graveyard.
SVar:DBGrabLand:DB$ ChangeZone | Defined$ Remembered | Origin$ Library | Destination$ Hand | ConditionDefined$ Remembered | ConditionPresent$ Card.Land | ConditionCompare$ GE1 | SubAbility$ DBPutCounter
SVar:DBPutCounter:DB$ PutCounter | Defined$ Self | CounterNum$ 1 | CounterType$ P1P1 | ConditionDefined$ Remembered | ConditionPresent$ Card.Land | ConditionCompare$ EQ0 | SubAbility$ DBPutInGraveyardOption
SVar:DBPutInGraveyardOption:DB$ ChangeZone | Defined$ Remembered | Origin$ Library | Destination$ Library | DestinationAlternative$ Graveyard | AlternativeDestinationMessage$ Would you like to put the revealed card back on top of your library (and not into your graveyard?) | ConditionDefined$ Remembered | ConditionPresent$ Card.Land | ConditionCompare$ EQ0 | SubAbility$ DBCleanup
SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True
SVar:Picture:http://mythicspoiler.com/ixa/cards/deadeyetracker1.jpg
Oracle:1{B}, {T}: Exile two target cards from an opponent's graveyard. Deadeye Tracker explores. (Reveal the top card of your library. Put that card into your hand if it's a land. Otherwise, put a +1/+1 counter on this creature, then put the card back on top or into your graveyard.)
azcotic
 
Posts: 34
Joined: 27 Aug 2017, 03:58
Has thanked: 2 times
Been thanked: 9 times

Re: Ixalan spoiler season

Postby Agetian » 01 Sep 2017, 17:10

Added all 8 cards specific to Planeswalker decks.

- Agetian
Agetian
Programmer
 
Posts: 3489
Joined: 14 Mar 2011, 05:58
Has thanked: 684 times
Been thanked: 572 times

Re: Ixalan spoiler season

Postby azcotic » 01 Sep 2017, 19:14

Oh fuck, you win, ill post it riht now. Well...

Huatli, Dinosaur Knight

| Open
Name:Huatli, Dinosaur Knight
ManaCost:4 R W
Types:Planeswalker Huatli
Loyalty:4
A:AB$ PutCounter | Cost$ AddCounter<2/LOYALTY> | Planeswalker$ True | CounterNum$ 2 | CounterType$ P1P1 | TargetMin$ 0 | TargetMax$ 1 | ValidTgts$ Creature.Dinosaur+YouCtrl | TgtPrompt$ Select target Dinosaur creature | SpellDescription$ Put two +1/+1 counter on up to one target Dinosaur you control.

A:AB$ Pump | Cost$ SubCounter<3/LOYALTY> | Planeswalker$ True | ValidTgts$ Creature.Dinosaur+YouCtrl | TgtPrompt$ Select target Dinosaur creature you control | NumAtt$ +0 | SubAbility$ DBDealDamage | AILogic$ Fight | SpellDescription$ Target Dinosaur you control deals damage equal to its power to target creature you don't control.

SVar:DBDealDamage:DB$ DealDamage | ValidTgts$ Creature.OppCtrl | AILogic$ PowerDmg | TgtPrompt$ Select target creature an opponent controls | NumDmg$ X | References$ X | ConditionDefined$ Targeted | ConditionPresent$ Creature | ConditionCompare$ EQ1 | DamageSource$ ParentTarget
SVar:X:ParentTargeted$CardPower

A:AB$ PumpAll | Cost$ SubCounter<4/LOYALTY> | Planeswalker$ True | Ultimate$ True | ValidCards$ Creature.Dinosaur+YouCtrl | NumAtt$ +4 | NumDef$ +4 | SpellDescription$ Creatures you control get +4/+4 until end of turn.
azcotic
 
Posts: 34
Joined: 27 Aug 2017, 03:58
Has thanked: 2 times
Been thanked: 9 times

Re: Ixalan spoiler season

Postby Agetian » 02 Sep 2017, 05:17

Ah, nice! Feel free to write here which cards you're working on, so that we don't duplicate our efforts :)

- Agetian
Agetian
Programmer
 
Posts: 3489
Joined: 14 Mar 2011, 05:58
Has thanked: 684 times
Been thanked: 572 times

Re: Ixalan spoiler season

Postby Agetian » 02 Sep 2017, 13:51

Bellowing Aegisaur is now upstream.

- Agetian
Agetian
Programmer
 
Posts: 3489
Joined: 14 Mar 2011, 05:58
Has thanked: 684 times
Been thanked: 572 times

Re: Ixalan spoiler season

Postby Agetian » 03 Sep 2017, 05:00

Agetian
Programmer
 
Posts: 3489
Joined: 14 Mar 2011, 05:58
Has thanked: 684 times
Been thanked: 572 times

Re: Ixalan spoiler season

Postby Agetian » 03 Sep 2017, 06:58

Let me know if anyone would like to try scripting Huatli, Warrior Poet :)

- Agetian
Agetian
Programmer
 
Posts: 3489
Joined: 14 Mar 2011, 05:58
Has thanked: 684 times
Been thanked: 572 times

PreviousNext

Return to Developer's Corner

Who is online

Users browsing this forum: FamilyFavorite and 49 guests

Main Menu

User Menu

Our Partners


Who is online

In total there are 50 users online :: 1 registered, 0 hidden and 49 guests (based on users active over the past 10 minutes)
Most users ever online was 7303 on 15 Jul 2025, 20:46

Users browsing this forum: FamilyFavorite and 49 guests

Login Form