Kaladesh spoiler season
Post MTG Forge Related Programming Questions Here
	Moderators: timmermac, Agetian, friarsol, Blacksmith, KrazyTheFox, CCGHQ Admins
Re: Kaladesh spoiler season
 by friarsol » 18 Sep 2016, 16:31
by friarsol » 18 Sep 2016, 16:31 
It probably was commented out because nothing was using it yet. Like "Hey, no card needs this yet, but once they do, here's the code for it." It should be able to just be activated and tested with the new cards that need it, make sure it doesn't fire unexpectedlyHanmac wrote:i did took a peak, TriggerCounterAddedOnce is only for cards.
and the Part in Player where the trigger should be is commented out.
so either adding a new Trigger, or making the TriggerCounterAddedOnce to work with both Card or Player.
@all: what are your thoughts?
- friarsol
- Global Moderator
- Posts: 7593
- Joined: 15 May 2010, 04:20
- Has thanked: 243 times
- Been thanked: 965 times
Re: Kaladesh spoiler season
 by Marek14 » 18 Sep 2016, 16:45
by Marek14 » 18 Sep 2016, 16:45 
Kaladesh Pass - U to V
			
				- Code: Select all
- Name:Underhanded Designs
 ManaCost:1 B
 Types:Enchantment
 T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Artifact.YouCtrl | TriggerZones$ Battlefield | Execute$ TrigDrain | TriggerDescription$ Whenever an artifact enters the battlefield under your control, you may pay {1}. If you do, each opponent loses 1 life and you gain 1 life.
 SVar:TrigDrain:AB$ LoseLife | Cost$ 1 | Defined$ Player.Opponent | LifeAmount$ 1 | SubAbility$ DBGainLife
 SVar:DBGainLife:DB$ GainLife | Defined$ You | LifeAmount$ 1
 A:AB$ Destroy | Cost$ 1 B Sac<1/CARDNAME> | ValidTgts$ Creature | CheckSVar$ X | SVarCompare$ GE2 | TgtPrompt$ Select target creature | SpellDescription$ Destroy target creature.
 SVar:X:Count$Valid Card.Artifact+YouCtrl
 DeckHas:Ability$LifeGain
 SVar:Picture:http://www.wizards.com/global/images/magic/general/underhanded_designs.jpg
 Oracle:Whenever an artifact enters the battlefield under your control, you may pay {1}. If you do, each opponent loses 1 life and you gain 1 life.\n{1}{B}, Sacrifice Underhanded Designs: Destroy target creature. Activate this ability only if you control two or more artifacts.
- Code: Select all
- Name:Vedalken Blademaster
 ManaCost:2 U
 Types:Creature Vedalken Soldier
 PT:2/3
 SVar:Picture:http://www.wizards.com/global/images/magic/general/vedalken_blademaster.jpg
 Oracle:
- Code: Select all
- Name:Veteran Motorist
 ManaCost:R W
 Types:Creature Dwarf Pilot
 PT:3/1
 T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TrigScry | TriggerDescription$ When CARDNAME enters the battlefield, scry 2.
 SVar:TrigScry:AB$ Scry | Cost$ 0 | ScryNum$ 2
 T:Mode$ Crewed | ValidCrew$ Card.Self | Execute$ TrigPump | TriggerZones$ Battlefield | TriggerDescription$ Whenever CARDNAME crews a Vehicle, that Vehicle gets +1/+1 until end of turn.
 SVar:TrigPump:DB$ Pump | Defined$ TriggeredVehicle | NumAtt$ 1 | NumDef$ 1
 SVar:Picture:http://www.wizards.com/global/images/magic/general/veteran_motorist.jpg
 Oracle:When Veteran Motorist enters the battlefield, scry 2.\nWhenever Veteran Motorist crews a Vehicle, that Vehicle gets +1/+1 until end of turn.
- Code: Select all
- Name:Visionary Augmenter
 ManaCost:2 W W
 Types:Creature Dwarf Artificer
 PT:2/1
 K:Fabricate:2
 SVar:Picture:http://www.wizards.com/global/images/magic/general/visionary_augmenter.jpg
 Oracle:Fabricate 2 (When this creature enters the battlefield, put two +1/+1 counters on it or create two 1/1 colorless Servo artifact creature tokens.)
- Code: Select all
- Name:Voltaic Brawler
 ManaCost:R G
 Types:Creature Human Warrior
 PT:3/2
 T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TrigEnergy | TriggerDescription$ When CARDNAME enters the battlefield, you get {E}{E} (two energy counters).
 SVar:TrigEnergy:DB$ PutCounter | Defined$ You | CounterType$ ENERGY | CounterNum$ 2
 T:Mode$ Attacks | ValidCard$ Card.Self | Execute$ TrigPump | TriggerDescription$ Whenever CARDNAME attacks, you may pay {E}. If you do, it gets +1/+1 and gains trample until end of turn.
 SVar:TrigPump:AB$ Pump | Cost$ PayEnergy<1> | Defined$ Self | NumAtt$ +1 | NumDef$ +1 | KW$ Trample
 SVar:HasAttackEffect:TRUE
 SVar:Picture:http://www.wizards.com/global/images/magic/general/voltaic_brawler.jpg
 Oracle:When Voltaic Brawler enters the battlefield, you get {E}{E} (two energy counters).\nWhenever Voltaic Brawler attacks, you may pay {E}. If you do, it gets +1/+1 and gains trample until end of turn.
Last edited by Marek14 on 18 Sep 2016, 17:23, edited 1 time in total.
					
				
			
		Re: Kaladesh spoiler season
 by Hanmac » 18 Sep 2016, 16:54
by Hanmac » 18 Sep 2016, 16:54 
hm its commented out for reason, it seems the Trigger can't work with Player objects yet.
so would it be better to get it working for both, or make new trigger?
PS: i added some more Logic into Fabricate (like with Haste)
specially extra logic for "Marionette Master" and "Cultivator of Blades".
for that one its: "list.size > power ? counter : token"
means for "Marionette Master" if AI has many artifacts, it would prefer +1/+1 counter.
hm i am still trying to add check for trigger so that AI looks if putting Tokens onto the Battlefield would let the HostCard get +1/+1 counter too.
But that might be to complicated :/
hm while seeing that, Fabricate Creatures probably need one of this "DeckHints:Ability$Counters" or "DeckHas:Ability$Counters", but i currently don't know which one.
			
		so would it be better to get it working for both, or make new trigger?
PS: i added some more Logic into Fabricate (like with Haste)
specially extra logic for "Marionette Master" and "Cultivator of Blades".
for that one its: "list.size > power ? counter : token"
means for "Marionette Master" if AI has many artifacts, it would prefer +1/+1 counter.
hm i am still trying to add check for trigger so that AI looks if putting Tokens onto the Battlefield would let the HostCard get +1/+1 counter too.
But that might be to complicated :/
hm while seeing that, Fabricate Creatures probably need one of this "DeckHints:Ability$Counters" or "DeckHas:Ability$Counters", but i currently don't know which one.
Re: Kaladesh spoiler season
 by Marek14 » 18 Sep 2016, 17:11
by Marek14 » 18 Sep 2016, 17:11 
Kaladesh Pass - W
Notes: Whirlermaker needs adding the two extra Thopter images.
And that is the end of my Kaladesh pass!
			
		- Code: Select all
- Name:Wayward Giant
 ManaCost:4 R
 Types:Creature Giant
 PT:4/5
 K:Menace
 SVar:Picture:http://www.wizards.com/global/images/magic/general/wayward_giant.jpg
 Oracle:Menace
- Code: Select all
- Name:Weaponcraft Enthusiast
 ManaCost:2 B
 Types:Creature Aetherborn Artificer
 PT:0/1
 K:Fabricate:2
 SVar:Picture:http://www.wizards.com/global/images/magic/general/weaponcraft_enthusiast.jpg
 Oracle:Fabricate 2 (When this creature enters the battlefield, put two +1/+1 counters on it or create two 1/1 colorless Servo artifact creature tokens.)
- Code: Select all
- Name:Weldfast Monitor
 ManaCost:3
 Types:Artifact Creature Lizard
 PT:3/2
 A:AB$ Pump | Cost$ R | KW$ Menace | Defined$ Self | SpellDescription$ CARDNAME gains gains menace until end of turn.
 SVar:RemRandomDeck:True
 SVar:Picture:http://www.wizards.com/global/images/magic/general/weldfast_monitor.jpg
 Oracle:{R}: Weldfast Monitor gains menace until end of turn.
- Code: Select all
- Name:Weldfast Wingsmith
 ManaCost:3 U
 Types:Creature Human Artificer
 PT:3/3
 T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Artifact.YouCtrl | TriggerZones$ Battlefield | Execute$ TrigPump | TriggerDescription$ Whenever an artifact enters the battlefield under your control, CARDNAME gains flying until end of turn.
 SVar:TrigPump:AB$ Pump | Defined$ Self | KW$ Flying
 SVar:Picture:http://www.wizards.com/global/images/magic/general/weldfast_wingsmith.jpg
 Oracle:Whenever an artifact enters the battlefield under your control, Weldfast Wingsmith gains flying until end of turn.
- Code: Select all
- Name:Whirler Virtuoso
 ManaCost:1 U R
 Types:Creature Vedalken Artificer
 PT:1/3
 T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TrigEnergy | TriggerDescription$ When CARDNAME enters the battlefield, you get {E}{E}{E} (three energy counters).
 SVar:TrigEnergy:DB$ PutCounter | Defined$ You | CounterType$ ENERGY | CounterNum$ 3
 A:AB$ Token | Cost$ PayEnergy<3> | TokenAmount$ 1 | TokenName$ Thopter | TokenTypes$ Artifact,Creature,Thopter | TokenOwner$ You | TokenColors$ Colorless | TokenPower$ 1 | TokenToughness$ 1 | TokenKeywords$ Flying | TokenImage$ c 1 1 thopter KLD | TokenAltImages$ c_1_1_thopter2_KLD,c_1_1_thopter3_KLD | SpellDescription$ Create a 1/1 colorless Thopter artifact creature token with flying.
 SVar:Picture:http://www.wizards.com/global/images/magic/general/whirler_virtuoso.jpg
 Oracle:When Whirler Virtuoso enters the battlefield, you get {E}{E}{E} (three energy counters).\nPay {E}{E}{E}: Create a 1/1 colorless Thopter artifact creature token with flying.
- Code: Select all
- Name:Wild Wanderer
 ManaCost:3 G
 Types:Creature Elf Druid
 PT:3/2
 T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Creature.Self | OptionalDecider$ You | Execute$ TrigChange | TriggerDescription$ When CARDNAME enters the battlefield, you may search your library for a basic land card, put it onto the battlefield tapped, then shuffle your library.
 SVar:TrigChange:AB$ChangeZone | Cost$ 0 | Origin$ Library | Destination$ Battlefield | Tapped$ True | ChangeType$ Land.Basic | ChangeNum$ 1
 SVar:Picture:http://www.wizards.com/global/images/magic/general/wild_wanderer.jpg
 Oracle:When Wild Wanderer enters the battlefield, you may search your library for a basic land card, put it onto the battlefield tapped, then shuffle your library.
- Code: Select all
- Name:Wildest Dreams
 ManaCost:X X G
 Types:Sorcery
 A:SP$ ChangeZone | Cost$ X X G | TargetMin$ 0 | TargetMax$ MaxTgts | ValidTgts$ Card.YouOwn | TgtPrompt$ Select target card in your graveyard | Origin$ Graveyard | Destination$ Hand | References$ X,MaxTgts | SubAbility$ DBExile | SpellDescription$ Return X target cards from your graveyard to your hand. Exile CARDNAME
 SVar:DBExile:DB$ChangeZone | Origin$ Stack | Destination$ Exile
 # It may seem wrong to not use X in the target, but since the Targets are what defines X, it's redundant (and not supported by the code)
 SVar:X:Targeted$Amount
 SVar:MaxTgts:Count$InYourYard
 SVar:RemAIDeck:True
 SVar:Picture:http://www.wizards.com/global/images/magic/general/wildest_dreams.jpg
 Oracle:Return X target cards from your graveyard to your hand. Exile Wildest Dreams.
- Code: Select all
- Name:Wily Bandar
 ManaCost:G
 Types:Creature Cat Monkey
 PT:1/1
 A:AB$ Pump | Cost$ 2 G | KW$ Indestructible | Defined$ Self | SpellDescription$ CARDNAME gains indestructible until end of turn. (Damage and effects that say "destroy" don't destroy it.)
 SVar:Picture:http://www.wizards.com/global/images/magic/general/wily_bandar.jpg
 Oracle:{2}{G}: Wily Bandar gains indestructible until end of turn. (Damage and effects that say "destroy" don't destroy it.)
Notes: Whirlermaker needs adding the two extra Thopter images.
And that is the end of my Kaladesh pass!
Re: Kaladesh spoiler season
 by matrix4767 » 18 Sep 2016, 17:20
by matrix4767 » 18 Sep 2016, 17:20 
Just a note: Voltaic Brawler doesn't have trample normally.
			
		- matrix4767
- Posts: 125
- Joined: 09 Sep 2014, 08:10
- Has thanked: 5 times
- Been thanked: 3 times
Re: Kaladesh spoiler season
 by Marek14 » 18 Sep 2016, 17:24
by Marek14 » 18 Sep 2016, 17:24 
Thanks, corrected.matrix4767 wrote:Just a note: Voltaic Brawler doesn't have trample normally.
Re: Kaladesh spoiler season
 by Marek14 » 18 Sep 2016, 17:35
by Marek14 » 18 Sep 2016, 17:35 
Hm, Wildest Dreams seems to use different targeting model (taken from Death Denied) than Eliminate the Competition. Which is correct?
			
		Re: Kaladesh spoiler season
 by matrix4767 » 18 Sep 2016, 17:50
by matrix4767 » 18 Sep 2016, 17:50 
Longtusk Cub should give only 2 Energy, instead of that as many as combat damage to player.
For some reason, when trying to add an icon for Energy, it deletes itself as soon as Forge loads up. What's up with that? Some code missing that the other icons use?
			
		For some reason, when trying to add an icon for Energy, it deletes itself as soon as Forge loads up. What's up with that? Some code missing that the other icons use?
- matrix4767
- Posts: 125
- Joined: 09 Sep 2014, 08:10
- Has thanked: 5 times
- Been thanked: 3 times
Re: Kaladesh spoiler season
 by Marek14 » 18 Sep 2016, 18:00
by Marek14 » 18 Sep 2016, 18:00 
Fixed, I just forgot to change the ability's description.matrix4767 wrote:Longtusk Cub should give only 2 Energy, instead of that as many as combat damage to player.
So, we're currently missing 15 cards from Kaladesh:
Captured by the Consulate
Confiscation Coup
Aetherborn Marauder
Lost Legacy
Chandra, Torch of Defiance
Combustible Gearhulk
Spark of Creativity
Territorial Gorger
Dubious Challenge
Fairgrounds Trumpeter
Rashmi, Eternities Crafter
Animation Module
Eager Construct
Fabrication Module
Panharmonicon
Re: Kaladesh spoiler season
 by matrix4767 » 18 Sep 2016, 18:29
by matrix4767 » 18 Sep 2016, 18:29 
Bristling Hydra is 1/3 instead of 4/3.
			
		- matrix4767
- Posts: 125
- Joined: 09 Sep 2014, 08:10
- Has thanked: 5 times
- Been thanked: 3 times
Re: Kaladesh spoiler season
 by Marek14 » 18 Sep 2016, 18:38
by Marek14 » 18 Sep 2016, 18:38 
OK.matrix4767 wrote:Bristling Hydra is 1/3 instead of 4/3.
Re: Kaladesh spoiler season
 by matrix4767 » 19 Sep 2016, 13:14
by matrix4767 » 19 Sep 2016, 13:14 
Edit:Bomat Courier had TrigExile instead of TrigMill, that's why it crashed.
Harnessed Lightning won't let you pick how much energy you want to spend.
			
		- Code: Select all
- Name:Bomat Courier
 ManaCost:1
 Types:Artifact Creature Construct
 PT:1/1
 K:Haste
 T:Mode$ Attacks | ValidCard$ Card.Self | Execute$ TrigMill | TriggerZones$ Battlefield | TriggerDescription$ Whenever CARDNAME attacks, exile the top card of your library face down. (You can't look at it.)
 SVar:TrigMill:AB$ Mill | Cost$ 0 | Defined$ You | NumCards$ 1 | Destination$ Exile | RememberMilled$ True | ExileFaceDown$ True | NoReveal$ True
 A:AB$ ChangeZoneAll | Cost$ R Discard<0/Hand> Sac<1/CARDNAME> | ChangeType$ Card.IsRemembered+ExiledWithSource | Origin$ Exile | Destination$ Hand | SpellDescription$ Put all cards exiled with Bomat Courier into their owners' hands.
 T:Mode$ ChangesZone | Origin$ Exile | Destination$ Any | Static$ True | ValidCard$ Card.IsRemembered+ExiledWithSource | Execute$ DBForget
 SVar:DBForget:DB$ Pump | ForgetObjects$ TriggeredCard
 SVar:RemRandomDeck:True
 SVar:Picture:http://www.wizards.com/global/images/magic/general/bomat_courier.jpg
 Oracle:Haste\nWhenever Bomat Courier attacks, exile the top card of your library face down. (You can't look at it.)\n{R}, Discard your hand, Sacrifice Bomat Courier: Put all cards exiled with Bomat Courier into their owners' hands.
Harnessed Lightning won't let you pick how much energy you want to spend.
- matrix4767
- Posts: 125
- Joined: 09 Sep 2014, 08:10
- Has thanked: 5 times
- Been thanked: 3 times
Re: Kaladesh spoiler season
 by friarsol » 19 Sep 2016, 19:51
by friarsol » 19 Sep 2016, 19:51 
Marek, can you post your cards in a zip so they are easier to commit into the upcoming folder?
			
		- friarsol
- Global Moderator
- Posts: 7593
- Joined: 15 May 2010, 04:20
- Has thanked: 243 times
- Been thanked: 965 times
Re: Kaladesh spoiler season
 by Marek14 » 19 Sep 2016, 20:10
by Marek14 » 19 Sep 2016, 20:10 
Ah, I forgot.
			
				- Attachments
- 
		 kld-forge.txt kld-forge.txt
- (99.97 KiB) Downloaded 345 times
 
Re: Kaladesh spoiler season
 by Shukal » 20 Sep 2016, 08:19
by Shukal » 20 Sep 2016, 08:19 
There is a typo in Prakhata Pillar-Bug. Currently named Prahkata Pillar-Bug.
Also Midnight Oil causes forge to crash in the deck editor.
			
		Also Midnight Oil causes forge to crash in the deck editor.
Who is online
Users browsing this forum: No registered users and 27 guests
