Khans of Tarkir Spoilers
Post MTG Forge Related Programming Questions Here
Moderators: timmermac, Blacksmith, KrazyTheFox, Agetian, friarsol, CCGHQ Admins
Re: Khans of Tarkir Spoilers
by KrazyTheFox » 13 Sep 2014, 04:13
Thanks! It appears that Forge is bugged, as neither card will trigger based on their own deaths.friarsol wrote:As long as it has toughness 4 or greater when it dies (doesn't get hit by -1/-1 counters). It doesn't say "another creature" so it should definitely consider itself.KrazyTheFox wrote:Quick rules question, since nobody's helping me on ask a judge. Sultai Flayer (3/4, "Whenever a creature you control with toughness 4 or greater dies, you gain 4 life."): Does it trigger its own ability when it dies? The wording is a bit different than what I've seen so far on any card.
The reason it doesn't use the WHenever ~ or another creature with... formatting is because ~ might not always qualify. Marchesa, the Black Rose has a similar structure
That one thing aside, I've just finished adding 39 cards to KTK. I'm 98% sure I got them all right. After testing them all they work as expected.
-
KrazyTheFox - Programmer
- Posts: 725
- Joined: 18 Mar 2014, 23:51
- Has thanked: 66 times
- Been thanked: 226 times
Re: Khans of Tarkir Spoilers
by Kapoue » 13 Sep 2014, 13:20
I have a problem with Delve cards. If you start to cast a Delve card, exile cards from your graveyard then cancel the spell, you don't get the cards back in your graveyard. This bug affects both Future Sight cards and KTK cards.
Re: Khans of Tarkir Spoilers
by swordshine » 13 Sep 2014, 14:19
We should rewrite related Delve codes someday. As I mentioned in the wiki, all the changezone effects, costs, and keywords (Delve/Offering) should be refactored in order to implement Rakshasa Vizier and Sidisi, Brood TyrantKapoue wrote:I have a problem with Delve cards. If you start to cast a Delve card, exile cards from your graveyard then cancel the spell, you don't get the cards back in your graveyard. This bug affects both Future Sight cards and KTK cards.
- swordshine
- Posts: 682
- Joined: 11 Jul 2010, 02:37
- Has thanked: 116 times
- Been thanked: 87 times
Re: Khans of Tarkir Spoilers
by Kapoue » 13 Sep 2014, 17:49
- Code: Select all
Name:Blinding Spray
ManaCost:4 U
Types:Instant
A:SP$ PumpAll | Cost$ 4 U | ValidCards$ Creature.OppCtrl | NumAtt$ -4 | IsCurse$ True | SpellDescription$ Creatures your opponents control get -4/-0 until end of turn. | SubAbility$ DBDraw
SVar:DBDraw:DB$Draw | NumCards$ 1 | SpellDescription$ Draw a card.
SVar:Picture:http://www.wizards.com/global/images/magic/general/blinding_spray.jpg
- Code: Select all
Name:Glacial Stalker
ManaCost:5 U
Types:Creature Elemental
PT:4/5
K:Morph:4 U
SVar:Picture:http://www.wizards.com/global/images/magic/general/glacial_stalker.jpg
- Code: Select all
Name:Mardu Heart-Piercer
ManaCost:3 R
Types:Creature Human Archer
PT:2/3
T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | CheckSVar$ RaidTest | Execute$ TrigDealDamage | TriggerDescription$ Raid - When CARDNAME enters the battlefield, if you attacked with a creature this turn, CARDNAME deals 2 damage to target creature or player.
SVar:TrigDealDamage:DB$DealDamage | ValidTgts$ Creature,Player | TgtPrompt$ Select target creature or player | NumDmg$ 2
SVar:RaidTest:Count$AttackersDeclared
SVar:Picture:http://www.wizards.com/global/images/magic/general/mardu_heart_piercer.jpg
- Code: Select all
Name:Mistfire Weaver
ManaCost:3 U
Types:Creature Djinn Wizard
PT:3/1
K:Flying
K:Morph:2 U
T:Mode$ TurnFaceUp | ValidCard$ Card.Self | Execute$ TrigPump | TriggerZones$ Battlefield | TriggerDescription$ When CARDNAME is turned face up, target creature you control gains hexproof until end of turn.
SVar:TrigPump:AB$Pump | Cost$ 0 | ValidTgts$ Creature.YouCtrl | TgtPrompt$ Select target creature | KW$ Hexproof
SVar:Picture:http://www.wizards.com/global/images/magic/general/mistfire_weaver.jpg
- Code: Select all
Name:Mystic of the Hidden Way
ManaCost:4 U
Types:Creature Human Monk
PT:3/2
K:Morph:2 U
K:Unblockable
SVar:Picture:http://www.wizards.com/global/images/magic/general/mystic_of_the_hidden_way.jpg
- Code: Select all
Name:Quiet Contemplation
ManaCost:2 U
Types:Enchantment
T:Mode$ SpellCast | ValidCard$ Card.nonCreature | ValidActivatingPlayer$ You | TriggerZones$ Battlefield | Execute$ TrigTap | OptionalDecider$ You | TriggerDescription$ Whenever you cast a noncreature spell, you may pay {1}. If you do, tap target creature an opponent controls. It doesn't untap during its controller's next untap step.
SVar:TrigTap:AB$ Tap | Cost$ 1 | ValidTgts$ Creature+OppCtrl | SubAbility$ DBPump | SpellDescription$ Select target creature an opponent controls.
SVar:DBPump:DB$ Pump | Cost$ 0 | Defined$ Targeted | KW$ HIDDEN This card doesn't untap during your next untap step. | Permanent$ True
SVar:Picture:http://www.wizards.com/global/images/magic/general/quiet_contemplation.jpg
- Code: Select all
Name:Scaldkin
ManaCost:3 U
Types:Creature Elemental
PT:2/2
K:Flying
A:AB$ DealDamage | Cost$ 2 R Sac<1/CARDNAME> | ValidTgts$ Creature,Player | TgtPrompt$ Select target creature or player | NumDmg$ 2 | SpellDescription$ CARDNAME deals 2 damage to target creature or player.
SVar:Picture:http://www.wizards.com/global/images/magic/general/scaldkin.jpg
- Code: Select all
Name:Scion of Glaciers
ManaCost:2 U U
Types:Creature Elemental
PT:2/5
A:AB$ Pump | Cost$ U | NumAtt$ +1 | NumDef$ -1 | SpellDescription$ CARDNAME gets +1/-1 until end of turn.
SVar:Picture:http://www.wizards.com/global/images/magic/general/scion_of_glaciers.jpg
- Code: Select all
Name:Set Adrift
ManaCost:5 U
Types:Sorcery
K:Delve
A:SP$ ChangeZone | Cost$ 5 U | ValidTgts$ Permanent.nonLand | TgtPrompt$ Select target nonland permanent | Origin$ Battlefield | Destination$ Library | LibraryPosition$ 0 | SpellDescription$ Put target nonland permanent on top of its owner's library.
SVar:Picture:http://www.wizards.com/global/images/magic/general/set_adrift.jpg
- Code: Select all
Name:Singing Bell Strike
ManaCost:1 U
Types:Enchantment Aura
K:Enchant creature
A:SP$ Attach | Cost$ 1 U | ValidTgts$ Creature | AILogic$ KeepTapped
T:Mode$ ChangesZone | ValidCard$ Card.Self | Origin$ Any | Destination$ Battlefield | Execute$ TrigTap | TriggerDescription$ When CARDNAME enters the battlefield, tap enchanted creature.
SVar:TrigTap:AB$ Tap | Cost$ 0 | Defined$ Enchanted
S:Mode$ Continuous | Affected$ Creature.AttachedBy | AddHiddenKeyword$ CARDNAME doesn't untap during your untap step. | Description$ Enchanted creature doesn't untap during its controller's untap step.
S:Mode$ Continuous | Affected$ Creature.EnchantedBy | AddAbility$ Untap | Description$ Enchanted creature has "{6}: Untap this creature."
SVar:Untap:AB$Untap | Cost$ 6 | Defined$ Self | SpellDescription$ Untap CARDNAME.
SVar:Picture:http://www.wizards.com/global/images/magic/general/singing_bell_strike.jpg
- Code: Select all
Name:Treasure Cruise
ManaCost:7 U
Types:Sorcery
K:Delve
A:SP$ Draw | Cost$ 7 U | NumCards$ 3 | SpellDescription$ Draw three cards.
SVar:Picture:http://www.wizards.com/global/images/magic/general/treasure_cruise.jpg
- Code: Select all
Name:Waterwhirl
ManaCost:4 U U
Types:Instant
A:SP$ ChangeZone | Cost$ 4 U U | TargetMin$ 0 | TargetMax$ 2 | ValidTgts$ Creature | TgtPrompt$ Select target creature | Origin$ Battlefield | Destination$ Hand | SpellDescription$ Return up to two target creatures to their owners' hands.
SVar:Picture:http://www.wizards.com/global/images/magic/general/waterwhirl.jpg
- Code: Select all
Name:Whirlwind Adept
ManaCost:4 U
Types:Creature Djinn Monk
PT:4/2
K:Hexproof
K:Prowess
SVar:Picture:http://www.wizards.com/global/images/magic/general/whirlwind_adept.jpg
Re: Khans of Tarkir Spoilers
by KrazyTheFox » 13 Sep 2014, 21:30
Edition file for KTK: http://pastebin.com/pHYTFeng
-
KrazyTheFox - Programmer
- Posts: 725
- Joined: 18 Mar 2014, 23:51
- Has thanked: 66 times
- Been thanked: 226 times
Re: Khans of Tarkir Spoilers
by KrazyTheFox » 13 Sep 2014, 23:00
I've just added support for Lens of Clarity and have committed the card. It does this by adding a keyword to the player which is then checked by the UI to determine if you can look at face-down cards. I highly doubt it's the best solution, but I couldn't really figure out how to tie it in to the card so the effect stops when it leaves play otherwise.
This brings us to full artifact, land, and white card coverage for KTK.
This brings us to full artifact, land, and white card coverage for KTK.
-
KrazyTheFox - Programmer
- Posts: 725
- Joined: 18 Mar 2014, 23:51
- Has thanked: 66 times
- Been thanked: 226 times
Re: Khans of Tarkir Spoilers
by Kapoue » 14 Sep 2014, 03:59
- Code: Select all
Name:Trap Essence
ManaCost:G U R
Types:Instant
A:SP$ Counter | Cost$ G U R | TargetType$ Spell | ValidTgts$ Card.Creature | TgtPrompt$ Select target creature Spell | SpellDescription$ Counter target creature spell. | SubAbility$ DBPutcounter
SVar:DBPutcounter:DB$ PutCounter | CounterType$ P1P1 | CounterNum$ 2 | TargetMin$ 0 | TargetMax$ 1 | TgtPrompt$ Select target creature | ValidTgts$ Creature | SpellDescription$ Put two +1/+1 counters on up to one target creature.
SVar:Picture:http://www.wizards.com/global/images/magic/general/trap_essence.jpg
- Code: Select all
Name:Sultai Soothsayer
ManaCost:2 B G U
Types:Creature Naga Shaman
PT:2/5
K:Flying
T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TrigDig | TriggerDescription$ When CARDNAME enters the battlefield, look at the top four cards of your library. Put one of them into your hand and the rest into your graveyard.
SVar:TrigDig:DB$ Dig | Cost$ 0 | DigNum$ 4 | Reveal$ False | ChangeNum$ 1 | ChangeValid$ Card | DestinationZone2$ Graveyard | Optional$ False
SVar:Picture:http://www.wizards.com/global/images/magic/general/sultai_soothsayer.jpg
- Code: Select all
Name:Sage of the Inward Eye
ManaCost:2 U R W
Types:Creature Djinn Wizard
PT:3/4
K:Flying
T:Mode$ SpellCast | ValidCard$ Card.nonCreature | ValidActivatingPlayer$ You | TriggerZones$ Battlefield | Execute$ TrigPump | TriggerDescription$ Whenever you cast a noncreature spell, creatures you control gain lifelink until end of turn.
SVar:TrigPump:AB$ PumpAll | Cost$ 0 | ValidCards$ Creature.YouCtrl | KW$ Lifelink | SpellDescription$ Creatures you control gain lifelink until end of turn.
SVar:Picture:http://www.wizards.com/global/images/magic/general/sage_of_the_inward_eye.jpg
Last edited by Kapoue on 14 Sep 2014, 23:57, edited 1 time in total.
Re: Khans of Tarkir Spoilers
by Marek14 » 14 Sep 2014, 04:07
Token data for KTK:
Two emblems for Sarkhan, the Dragonspeaker, and Sorin, Solemn Visitor.
Bear token (green, 4/4) for Bear's Companion -- new
Bird token (white, 3/4 flying) for Wingmate Roc -- new
Goblin token (red, 1/1) for Goblinslide, Hordeling Outburst, Mardu Ascendancy and Ponyback Brigade -- new picture. Goblinslide tokens have haste, the others don't.
Snake (green, 1/1) for Hooded Hydra and Rite of the Serpent -- new picture.
Spirit (white, 1/1 flying) for Abzan Ascendancy -- new picture
Spirit Warrior (black/green, */*) for Kin-Tree Invocation -- new picture
Vampire (black, 2/2 flying) for Sorin, Solemn Visitor -- new picture
Warrior (white, 1/1) -- there are two different pictures, an Abzan Warrior and a Mardu Warrior. The Abzan one should be used for Herald of Anafenza and Take Up Arms. The Mardu one should be used for Mardu Hordechief and Mardu Charm.
Zombie (black, 2/2) for Empty the Pits and Sidisi, Brood Tyrant -- new picture
Two emblems for Sarkhan, the Dragonspeaker, and Sorin, Solemn Visitor.
Bear token (green, 4/4) for Bear's Companion -- new
Bird token (white, 3/4 flying) for Wingmate Roc -- new
Goblin token (red, 1/1) for Goblinslide, Hordeling Outburst, Mardu Ascendancy and Ponyback Brigade -- new picture. Goblinslide tokens have haste, the others don't.
Snake (green, 1/1) for Hooded Hydra and Rite of the Serpent -- new picture.
Spirit (white, 1/1 flying) for Abzan Ascendancy -- new picture
Spirit Warrior (black/green, */*) for Kin-Tree Invocation -- new picture
Vampire (black, 2/2 flying) for Sorin, Solemn Visitor -- new picture
Warrior (white, 1/1) -- there are two different pictures, an Abzan Warrior and a Mardu Warrior. The Abzan one should be used for Herald of Anafenza and Take Up Arms. The Mardu one should be used for Mardu Hordechief and Mardu Charm.
Zombie (black, 2/2) for Empty the Pits and Sidisi, Brood Tyrant -- new picture
Re: Khans of Tarkir Spoilers
by Xitax » 14 Sep 2014, 15:22
Since no one has published HQ token pictures for JOU and M15 those are also not done.
Re: Khans of Tarkir Spoilers
by Kapoue » 14 Sep 2014, 23:54
I'm trying to complete the Mardu charm but I'm having trouble with the second part of the charm. Maybe I took too much to chew on. If someone wants to complete it, i'm gonna dereserve it in the list. It's missing the First strike on the tokens.
- Code: Select all
Name:Mardu Charm
ManaCost:R W B
Types:Instant
A:SP$ Charm | Cost$ R W B | Choices$ DealDmg,Warrior,DBDiscard | CharmNum$ 1 | SpellDescription$ Choose one - CARDNAME deals 4 damage to target creature; Put two 1/1 white Warrior creature tokens onto the battlefield. They gain first strike until end of turn; Target opponent reveals his or her hand. You choose a noncreature, nonland card from it. That player discards that card.
SVar:DealDmg:DB$ DealDamage | ValidTgts$ Creature | NumDmg$ 4 | SpellDescription$ CARDNAME deals 4 damage to target creature.
SVar:Warrior:DB$ Token | TokenAmount$ 2 | TokenName$ Warrior | TokenTypes$ Creature,Warrior | TokenOwner$ You | TokenColors$ White | TokenPower$ 1 | TokenToughness$ 1 | TokenKeywords$ First Strike | SpellDescription$ Put two 1/1 white Warrior creature tokens onto the battlefield. They gain first strike until end of turn.
SVar:DBDiscard:DB$ Discard | ValidTgts$ Opponent | Mode$ RevealYouChoose | DiscardValid$ Card.nonCreature+nonLand | NumCards$ 1 | SpellDescription$ Target opponent reveals his or her hand. You choose a noncreature, nonland card from it. That player discards that card.
SVar:Picture:http://www.wizards.com/global/images/magic/general/mardu_charm.jpg
Re: Khans of Tarkir Spoilers
by friarsol » 15 Sep 2014, 00:48
I think it's gotta be something like this:
- Code: Select all
SVar:Warrior:DB$ Token | TokenAmount$ 2 | TokenName$ Warrior | TokenTypes$ Creature,Warrior | TokenOwner$ You | TokenColors$ White | TokenPower$ 1 | TokenToughness$ 1 | RememberTokens$ True | SubAbility$ DBPumpFirstStrike | SpellDescription$ Put two 1/1 white Warrior creature tokens onto the battlefield. They gain first strike until end of turn.
SVar:DBPumpFirstStrike:DB$PumpAll | ValidCards$ Creature.IsRemembered | KW$ First Strike | SubAbility$ DBCleanUp
SVar:DBCleanUp:DB$Cleanup | ClearRemembered$ True
- friarsol
- Global Moderator
- Posts: 7593
- Joined: 15 May 2010, 04:20
- Has thanked: 243 times
- Been thanked: 965 times
Re: Khans of Tarkir Spoilers
by Kapoue » 15 Sep 2014, 01:14
- Code: Select all
Name:Butcher of the Horde
ManaCost:1 R W B
Types:Creature Demon
PT:5/4
K:Flying
A:AB$ GenericChoice | Cost$ Sac<1/Creature.Other/another creature> | Choices$ DBFlying,DBTrample,DBHaste | SpellDescription$ Sacrifice another creature: Butcher of the Horde gains your choice of Vigilance, lifelink, or haste until end of turn.
SVar:DBFlying:DB$ Pump | Defined$ Self | KW$ Vigilance | SpellDescription$ Target artifact creature gains vigilance until end of turn.
SVar:DBTrample:DB$ Pump | Defined$ Self | KW$ Lifelink | SpellDescription$ Target artifact creature gains lifelink until end of turn.
SVar:DBHaste:DB$ Pump | Defined$ Self | KW$ Haste | SpellDescription$ Target artifact creature gains haste until end of turn.
SVar:Picture:http://www.wizards.com/global/images/magic/general/butcher_of_the_horde.jpg
Re: Khans of Tarkir Spoilers
by Kapoue » 15 Sep 2014, 01:20
- Code: Select all
Name:Mardu Charm
ManaCost:R W B
Types:Instant
A:SP$ Charm | Cost$ R W B | Choices$ DealDmg,Warrior,DBDiscard | CharmNum$ 1 | SpellDescription$ Choose one - CARDNAME deals 4 damage to target creature; Put two 1/1 white Warrior creature tokens onto the battlefield. They gain first strike until end of turn; Target opponent reveals his or her hand. You choose a noncreature, nonland card from it. That player discards that card.
SVar:DealDmg:DB$ DealDamage | ValidTgts$ Creature | NumDmg$ 4 | SpellDescription$ CARDNAME deals 4 damage to target creature.
SVar:Warrior:DB$ Token | TokenAmount$ 2 | TokenName$ Warrior | TokenTypes$ Creature,Warrior | TokenOwner$ You | TokenColors$ White | TokenPower$ 1 | TokenToughness$ 1 | RememberTokens$ True | SubAbility$ DBPumpFirstStrike | SpellDescription$ Put two 1/1 white Warrior creature tokens onto the battlefield. They gain first strike until end of turn.
SVar:DBPumpFirstStrike:DB$PumpAll | ValidCards$ Creature.IsRemembered | KW$ First Strike | SubAbility$ DBCleanUp
SVar:DBCleanUp:DB$Cleanup | ClearRemembered$ True
SVar:DBDiscard:DB$ Discard | ValidTgts$ Opponent | Mode$ RevealYouChoose | DiscardValid$ Card.nonCreature+nonLand | NumCards$ 1 | SpellDescription$ Target opponent reveals his or her hand. You choose a noncreature, nonland card from it. That player discards that card.
SVar:Picture:http://www.wizards.com/global/images/magic/general/mardu_charm.jpg
Re: Khans of Tarkir Spoilers
by Gellesteus » 15 Sep 2014, 03:55
- Code: Select all
Name:Crackling Doom
ManaCost:R B W
Types:Instant
A:SP$ RepeatEach | Cost$ R B W | RepeatPlayers$ Player.Opponent | RepeatSubAbility$ DBDealDamage | SpellDescription$ Crackling Doom deals 2 damage to each opponent. Each opponent sacrifices a creature with the greatest power among creatures he or she controls.
SVar:DBDealDamage:DB$ DealDamage | Defined$ Player.IsRemembered | NumDmg$ 2 | SubAbility$ DBChooseCard
SVar:DBChooseCard:DB$ ChooseCard | Defined$ Player.IsRemembered | Choices$ Creature.greatestCMCControlledByRemembered | Mandatory$ True | SubAbility$ DBSac
SVar:DBSac:DB$ Sacrifice | Defined$ Player.IsRemembered | SacValid$ Card.ChosenCard | SacMessage$ the creature with the highest power
- Gellesteus
- Posts: 1
- Joined: 15 Sep 2014, 03:54
- Has thanked: 0 time
- Been thanked: 0 time
Re: Khans of Tarkir Spoilers
by KrazyTheFox » 16 Sep 2014, 23:29
I can't seem to figure out how to enforce the noncreature part of this card. It works as expected aside from that. Could anyone point me in the right direction?
- Code: Select all
Name:Narset, Enlightened Master
ManaCost:3 U R W
Types:Legendary Creature Human Monk
PT:3/2
K:First Strike
K:Hexproof
T:Mode$ Attacks | ValidCard$ Card.Self | Execute$ TrigMill | TriggerZones$ Battlefield | TriggerDescription$ Whenever CARDNAME attacks, exile the top four cards of your library. Until end of turn, you may cast noncreature cards exiled with Narset this turn without paying their mana costs.
SVar:TrigMill:AB$ Mill | Cost$ 0 | NumCards$ 4 | Destination$ Exile | RememberMilled$ True | SubAbility$ DBMayBePlayed
SVar:DBMayBePlayed:DB$ Pump | Defined$ Remembered | PumpZone$ Exile | KW$ HIDDEN May be played | SubAbility$ DBCleanup
SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True
SVar:Picture:http://www.wizards.com/global/images/magic/general/narset_enlightened_master.jpg
-
KrazyTheFox - Programmer
- Posts: 725
- Joined: 18 Mar 2014, 23:51
- Has thanked: 66 times
- Been thanked: 226 times
74 posts
• Page 3 of 5 • 1, 2, 3, 4, 5
Who is online
Users browsing this forum: No registered users and 103 guests