Card Development Questions
Post MTG Forge Related Programming Questions Here
Moderators: timmermac, Blacksmith, KrazyTheFox, Agetian, friarsol, CCGHQ Admins
Re: Card Development Questions
by Hellfish » 05 Feb 2011, 11:01
Anybody know of a card that creates token(s) with triggered abilities?
EDIT: Copy tokens and Precursor Golem won't work, unfortunately.
EDIT: Copy tokens and Precursor Golem won't work, unfortunately.
So now you're
Screaming for the blood of the cookie monster
Evil puppet demon of obesity
Time to change the tune of his fearful ballad
C is for "Lettuce," that's good enough for me
Screaming for the blood of the cookie monster
Evil puppet demon of obesity
Time to change the tune of his fearful ballad
C is for "Lettuce," that's good enough for me
-
Hellfish - Programmer
- Posts: 1297
- Joined: 07 Jun 2009, 10:41
- Location: South of the Pumphouse
- Has thanked: 110 times
- Been thanked: 169 times
Re: Card Development Questions
by Jaedayr » 05 Feb 2011, 18:17
It isn't implemented yet but what about Dance of Many?Hellfish wrote:Anybody know of a card that creates token(s) with triggered abilities?
EDIT: Copy tokens and Precursor Golem won't work, unfortunately.
Re: Card Development Questions
by friarsol » 05 Feb 2011, 18:20
We really need an AF_Copy before we should be doing that (or any other copy type of card). I notice a lot of bugs when using the few we have in the game. And it's quite bothersome.Jaedayr wrote:It isn't implemented yet but what about Dance of Many?
- friarsol
- Global Moderator
- Posts: 7593
- Joined: 15 May 2010, 04:20
- Has thanked: 243 times
- Been thanked: 965 times
Re: Card Development Questions
by Hellfish » 05 Feb 2011, 19:07
Dance of Many creates copy tokens, so that's way off in the future. I was asking in order to find a test case for AF_Token's ability/trigger & SVar granting. I have combed gatherer without finding any so I guess we'll cross this bridge when it gets built.
So now you're
Screaming for the blood of the cookie monster
Evil puppet demon of obesity
Time to change the tune of his fearful ballad
C is for "Lettuce," that's good enough for me
Screaming for the blood of the cookie monster
Evil puppet demon of obesity
Time to change the tune of his fearful ballad
C is for "Lettuce," that's good enough for me
-
Hellfish - Programmer
- Posts: 1297
- Joined: 07 Jun 2009, 10:41
- Location: South of the Pumphouse
- Has thanked: 110 times
- Been thanked: 169 times
Re: Card Development Questions
by PhoenixAvenger » 05 Feb 2011, 22:24
On a different subject, would this be considered an acceptable way of scripting the Graft keyword from Dissension?
- Code: Select all
K:etbCounter:P1P1:N (N being the number of the Graft N on the card)
T:Mode$ ChangesZone | ValidCard$ Creature.Other | Origin$ Any | Destination$ Battlefield | TriggerZones$ Battlefield | Execute$ TrigGraft | Optional$ True | TriggerDescription$ Graft (Whenever another creature enters the battlefield, you may move a +1/+1 counter from this creature onto it.)
SVar:TrigGraft:AB$PutCounter | Cost$ SubCounter<1/P1P1> | Defined$ Triggered | CounterType$ P1P1 | CounterNum$ 1
-
PhoenixAvenger - Posts: 62
- Joined: 31 Aug 2010, 23:34
- Location: NorCal
- Has thanked: 0 time
- Been thanked: 0 time
Re: Card Development Questions
by jeffwadsworth » 06 Feb 2011, 21:23
I believe Flesh Reaver needs extra code to script.
On another note, I was testing Imaginary Pet and the computer nabbed it with a Treachery. Does the trigger work for the owner or the controller? It currently triggers for the owner.
On another note, I was testing Imaginary Pet and the computer nabbed it with a Treachery. Does the trigger work for the owner or the controller? It currently triggers for the owner.
- jeffwadsworth
- Super Tester Elite
- Posts: 1172
- Joined: 20 Oct 2010, 04:47
- Location: USA
- Has thanked: 287 times
- Been thanked: 70 times
Re: Card Development Questions
by SoulStorm » 06 Feb 2011, 22:54
I'm having difficulty implementing Psionic Sliver. The tap to deal 2 damage works for all slivers, but the 3 damage to self only works for the Psionic Sliver. I'm assuming it's because the Svar=DB1 isn't defined by the PumpAll keyword, but I don't know how to fix that except by putting SVar:DB1:DB$DealDamage | NumDmg$ 3 | Defined$ Self on every sliver card.
Any suggestions?
Name:Psionic Sliver
ManaCost:4 U
Types:Creature Sliver
Text:no text
PT:2/2
K:stPumpAll:Sliver:0/0/SVar=Damage:no Condition:All Sliver creatues have "tap: This creature deals 2 damage to target creature or player and 3 damage to itself."
SVar:Damage:AB$DealDamage | Cost$ T | Tgt$ CP | NumDmg$ 2 | SubAbility$ SVar=DB1 | SpellDescription$ This creature deals 2 damage to target creature or player and 3 damage to itself.
SVar:DB1:DB$DealDamage | NumDmg$ 3 | Defined$ Self
SVar:BuffedBy:Sliver
SVar:Rarity:Rare
SVar:Picture:http://www.wizards.com/global/images/magic/general/psionic_sliver.jpg
End

Name:Psionic Sliver
ManaCost:4 U
Types:Creature Sliver
Text:no text
PT:2/2
K:stPumpAll:Sliver:0/0/SVar=Damage:no Condition:All Sliver creatues have "tap: This creature deals 2 damage to target creature or player and 3 damage to itself."
SVar:Damage:AB$DealDamage | Cost$ T | Tgt$ CP | NumDmg$ 2 | SubAbility$ SVar=DB1 | SpellDescription$ This creature deals 2 damage to target creature or player and 3 damage to itself.
SVar:DB1:DB$DealDamage | NumDmg$ 3 | Defined$ Self
SVar:BuffedBy:Sliver
SVar:Rarity:Rare
SVar:Picture:http://www.wizards.com/global/images/magic/general/psionic_sliver.jpg
End
Re: Card Development Questions
by friarsol » 06 Feb 2011, 23:10
Did you check out Magma Sliver? It looks like it does something similar to what you are trying to do.SoulStorm wrote:I'm having difficulty implementing Psionic Sliver. The tap to deal 2 damage works for all slivers, but the 3 damage to self only works for the Psionic Sliver. I'm assuming it's because the Svar=DB1 isn't defined by the PumpAll keyword, but I don't know how to fix that except by putting SVar:DB1:DB$DealDamage | NumDmg$ 3 | Defined$ Self on every sliver card.Any suggestions?
- friarsol
- Global Moderator
- Posts: 7593
- Joined: 15 May 2010, 04:20
- Has thanked: 243 times
- Been thanked: 965 times
Re: Card Development Questions
by SoulStorm » 06 Feb 2011, 23:14
I'll take a look and let you know how it goes. Thanks!
Re: Card Development Questions
by SoulStorm » 06 Feb 2011, 23:38
I added the Svar=DB1 to the PumpALL keyword but it still doesn't work, and I didn't see anything else that would help. Though it's likely the answer is there, I'm not seeing it.
Name:Psionic Sliver
ManaCost:4 U
Types:Creature Sliver
Text:no text
PT:2/2
K:stPumpAll:Sliver:0/0/SVar=Damage & Svar=DB1:no Condition:All Sliver creatues have "tap: This creature deals 2 damage to target creature or player and 3 damage to itself."
SVar:Damage:AB$DealDamage | Cost$ T | Tgt$ CP | NumDmg$ 2 | SubAbility$ SVar=DB1 | SpellDescription$ This creature deals 2 damage to target creature or player and 3 damage to itself.
SVar:DB1:DB$DealDamage | NumDmg$ 3 | Defined$ Self
SVar:BuffedBy:Sliver
SVar:Rarity:Rare
SVar:Picture:http://www.wizards.com/global/images/magic/general/psionic_sliver.jpg
End

Name:Psionic Sliver
ManaCost:4 U
Types:Creature Sliver
Text:no text
PT:2/2
K:stPumpAll:Sliver:0/0/SVar=Damage & Svar=DB1:no Condition:All Sliver creatues have "tap: This creature deals 2 damage to target creature or player and 3 damage to itself."
SVar:Damage:AB$DealDamage | Cost$ T | Tgt$ CP | NumDmg$ 2 | SubAbility$ SVar=DB1 | SpellDescription$ This creature deals 2 damage to target creature or player and 3 damage to itself.
SVar:DB1:DB$DealDamage | NumDmg$ 3 | Defined$ Self
SVar:BuffedBy:Sliver
SVar:Rarity:Rare
SVar:Picture:http://www.wizards.com/global/images/magic/general/psionic_sliver.jpg
End
Re: Card Development Questions
by lazylockie » 07 Feb 2011, 00:01
SS, did you try this one? I can't test right now, but the code comes from Reckless EmbermageSoulStorm wrote:I added the Svar=DB1 to the PumpALL keyword but it still doesn't work, and I didn't see anything else that would help. Though it's likely the answer is there, I'm not seeing it.![]()
Name:Psionic Sliver
ManaCost:4 U
Types:Creature Sliver
Text:no text
PT:2/2
K:stPumpAll:Sliver:0/0/SVar=Damage & Svar=DB1:no Condition:All Sliver creatues have "tap: This creature deals 2 damage to target creature or player and 3 damage to itself."
SVar:Damage:AB$DealDamage | Cost$ T | Tgt$ CP | NumDmg$ 2 | SubAbility$ SVar=DB1 | SpellDescription$ This creature deals 2 damage to target creature or player and 3 damage to itself.
SVar:DB1:DB$DealDamage | NumDmg$ 3 | Defined$ Self
SVar:BuffedBy:Sliver
SVar:Rarity:Rare
SVar:Picture:http://www.wizards.com/global/images/magic/general/psionic_sliver.jpg
End
- Code: Select all
Name:Psionic Sliver
ManaCost:4 U
Types:Creature Sliver
Text:no text
PT:2/2
K:stPumpAll:Sliver:0/0/SVar=Damage:no Condition:All Sliver creatues have "tap: This creature deals 2 damage to target creature or player and 3 damage to itself."
SVar:Damage:AB$DealDamage | Cost$ T | Tgt$ CP | NumDmg$ 2 | SubAbility$ DamageSelf/3 | SpellDescription$ This creature deals 2 damage to target creature or player and 3 damage to itself.
SVar:BuffedBy:Sliver
SVar:Rarity:Rare
SVar:Picture:http://www.wizards.com/global/images/magic/general/psionic_sliver.jpg
End
- lazylockie
- Posts: 508
- Joined: 13 Jul 2010, 22:44
- Has thanked: 74 times
- Been thanked: 15 times
Re: Card Development Questions
by SoulStorm » 07 Feb 2011, 00:09
I'll give it a try and let you know. Thanks Lazylockie!
Re: Card Development Questions
by SoulStorm » 07 Feb 2011, 00:28
Works perfectly, thanks Lazylockie!
Re: Card Development Questions
by Chris H. » 07 Feb 2011, 00:53
Thanks guys. According to my list we already have 366 new cards for the next version. 

-
Chris H. - Forge Moderator
- Posts: 6320
- Joined: 04 Nov 2008, 12:11
- Location: Mac OS X Yosemite
- Has thanked: 644 times
- Been thanked: 643 times
Re: Card Development Questions
by SoulStorm » 07 Feb 2011, 01:42
Wow! The pace of development has been astounding!
Who is online
Users browsing this forum: No registered users and 16 guests