It is currently 15 Sep 2025, 19:49
   
Text Size

Card Contributions

Post MTG Forge Related Programming Questions Here

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

Re: Card Contributions

Postby Starcrash » 12 Jun 2011, 20:07

friarsol wrote:"The creature that's targeted by Arcbound Fiend's middle ability doesn't have to have any +1/+1 counters on it. If it doesn't have a counter on it when the ability resolves, nothing happens." Where your script will try add a Counter whether or not the targeted creature has a Counter. We probably need a AF_MoveCounter for this to work properly.
I didn't even think to test whether it would get a counter if it didn't remove one. Of course it wouldn't have to. I wish I had a small child to playtest for me, because they'd think to try such a thing.
Starcrash
 
Posts: 96
Joined: 30 May 2011, 18:39
Has thanked: 2 times
Been thanked: 1 time

Re: Card Contributions

Postby friarsol » 12 Jun 2011, 20:14

Starcrash wrote:I didn't even think to test whether it would get a counter if it didn't remove one. Of course it wouldn't have to. I wish I had a small child to playtest for me, because they'd think to try such a thing.
No worries. I hadn't even thought about that at first either, mostly just noticed the targeting issue. I generally look a card up on magiccards.info and they have interesting tid-bits like that to help out.
friarsol
Global Moderator
 
Posts: 7593
Joined: 15 May 2010, 04:20
Has thanked: 243 times
Been thanked: 965 times

Re: Card Contributions

Postby Starcrash » 12 Jun 2011, 20:47

Name:Mysteries of the Deep
ManaCost:4 U
Types:Instant
Text:no text
A:SP$ Draw | Cost$ 4 U | NumCards$ 2 | SubAbility$ SVar=TrigLandfall | SpellDescription$ Draw two cards.
SVar:TrigLandfall:DB$ Draw | Cost$ 0 | NumCards$ 1 | ConditionPresent$ Land.YouCtrl+enteredBattlefieldThisTurn | ConditionCompare$ GE1 | SpellDescription$ Landfall - If you had a land enter the battlefield under your control this turn, draw three cards instead.
SVar:Rarity:Common
SVar:Picture:http://www.wizards.com/global/images/magic/general/mysteries_of_the_deep.jpg
SetInfo:WWK|Common|http://magiccards.info/scans/en/wwk/33.jpg
End
Though the card is pretty straight-forward, I can't make the description work. Whether drawing 2 cards or 3, the description reads "Human draws 2 cards. Human draws 1 card." Is there a way to set this up to draw "X" cards and then define X by checking the condition? (Like Dispense Justice does with Metalcraft.2.1?) Or perhaps overwrite this description with a more helpful one?
Starcrash
 
Posts: 96
Joined: 30 May 2011, 18:39
Has thanked: 2 times
Been thanked: 1 time

Re: Card Contributions

Postby Sloth » 12 Jun 2011, 20:54

Starcrash wrote:
Name:Mysteries of the Deep
ManaCost:4 U
Types:Instant
Text:no text
A:SP$ Draw | Cost$ 4 U | NumCards$ 2 | SubAbility$ SVar=TrigLandfall | SpellDescription$ Draw two cards.
SVar:TrigLandfall:DB$ Draw | Cost$ 0 | NumCards$ 1 | ConditionPresent$ Land.YouCtrl+enteredBattlefieldThisTurn | ConditionCompare$ GE1 | SpellDescription$ Landfall - If you had a land enter the battlefield under your control this turn, draw three cards instead.
SVar:Rarity:Common
SVar:Picture:http://www.wizards.com/global/images/magic/general/mysteries_of_the_deep.jpg
SetInfo:WWK|Common|http://magiccards.info/scans/en/wwk/33.jpg
End
Though the card is pretty straight-forward, I can't make the description work. Whether drawing 2 cards or 3, the description reads "Human draws 2 cards. Human draws 1 card." Is there a way to set this up to draw "X" cards and then define X by checking the condition? (Like Dispense Justice does with Metalcraft.2.1?) Or perhaps overwrite this description with a more helpful one?
You can make a subability with draw 3 cards. Give the first ability the condition of no such land being present and the subability of a land being present.
User avatar
Sloth
Programmer
 
Posts: 3498
Joined: 23 Jun 2009, 19:40
Has thanked: 125 times
Been thanked: 507 times

Re: Card Contributions

Postby timmermac » 12 Jun 2011, 22:37

friarsol wrote:Starcrash, two things about Arcbound Fiend. First, it looks like the creature you are stealing counters from doesn't have to be a Creature you Control (even though it feels like it should be). The other is this:
"The creature that's targeted by Arcbound Fiend's middle ability doesn't have to have any +1/+1 counters on it. If it doesn't have a counter on it when the ability resolves, nothing happens." Where your script will try add a Counter whether or not the targeted creature has a Counter. We probably need a AF_MoveCounter for this to work properly.
Looking at the mouseover text and at gatherer, there doesn't seem to be a requirement that you can only target a creature you control...
"I just woke up, haven't had coffee, let alone a pee in 7 days, and I find out you stole my ass and made a ...mini-me! Carter, I should be irked currently, yes?" - Jack O'Neill
User avatar
timmermac
Tester
 
Posts: 1512
Joined: 17 May 2010, 20:36
Has thanked: 18 times
Been thanked: 95 times

Re: Card Contributions

Postby friarsol » 12 Jun 2011, 22:48

timmermac wrote:
friarsol wrote:Starcrash, two things about Arcbound Fiend. First, it looks like the creature you are stealing counters from doesn't have to be a Creature you Control (even though it feels like it should be). The other is this:
"The creature that's targeted by Arcbound Fiend's middle ability doesn't have to have any +1/+1 counters on it. If it doesn't have a counter on it when the ability resolves, nothing happens." Where your script will try add a Counter whether or not the targeted creature has a Counter. We probably need a AF_MoveCounter for this to work properly.
Looking at the mouseover text and at gatherer, there doesn't seem to be a requirement that you can only target a creature you control...
Is there an echo in here? :wink:
friarsol
Global Moderator
 
Posts: 7593
Joined: 15 May 2010, 04:20
Has thanked: 243 times
Been thanked: 965 times

Re: Card Contributions

Postby Starcrash » 13 Jun 2011, 00:18

Name:Darksteel Pendant
ManaCost:2
Types:Artifact
Text:no text
K:Indestructible
A:AB$ Dig | Cost$ 1 T | DigNum$ 1 | DestinationZone$ Library | Optional$ True | LibraryPosition$ -1 | LibraryPosition2$ 0 | SpellDescription$ Look at the top card of your library. You may put that card on the bottom of your library.
SVar:Rarity:Common
SVar:Picture:http://www.wizards.com/global/images/magic/general/darksteel_pendant.jpg
SetInfo:DST|Common|http://magiccards.info/scans/en/ds/113.jpg
End
Name:Mysteries of the Deep
ManaCost:4 U
Types:Instant
Text:no text
A:SP$ Draw | Cost$ 4 U | NumCards$ 2 | ConditionPresent$ Land.YouCtrl+enteredBattlefieldThisTurn | ConditionCompare$ EQ0 | SubAbility$ SVar=TrigLandfall | SpellDescription$ Draw two cards.
SVar:TrigLandfall:DB$ Draw | Cost$ 0 | NumCards$ 3 | ConditionPresent$ Land.YouCtrl+enteredBattlefieldThisTurn | ConditionCompare$ GE1 | SpellDescription$ Landfall - If you had a land enter the battlefield under your control this turn, draw three cards instead.
SVar:Rarity:Common
SVar:Picture:http://www.wizards.com/global/images/magic/general/mysteries_of_the_deep.jpg
SetInfo:WWK|Common|http://magiccards.info/scans/en/wwk/33.jpg
End
While this is a cleaner version (thank you for the fix), it STILL has a messed up description, this time reading "Human draws 2 cards. Human draws 3 cards." Whatever, I'll keep playing with it. If I figure it out, I'll apply the fix to the other 4 like it and throw 'em up, too.
Starcrash
 
Posts: 96
Joined: 30 May 2011, 18:39
Has thanked: 2 times
Been thanked: 1 time

Re: Card Contributions

Postby Starcrash » 13 Jun 2011, 00:51

Name:Gemini Engine
ManaCost:6
Types:Artifact Creature Construct
Text:no text
PT:3/4
T:Mode$ Attacks | ValidCard$ Card.Self | Execute$ TrigToken | DelayedTrigger$ DelTrig | TriggerDescription$ Whenever CARDNAME attacks, put a colorless Construct artifact creature token named Twin onto the battlefield attacking. Its power is equal to CARDNAME's power and its toughness is equal to CARDNAME's toughness. Sacrifice the token at end of combat.
SVar:TrigToken:AB$Token | Cost$ 0 | TokenAmount$ 1 | TokenName$ Twin | TokenTypes$ Artifact,Creature,Construct | TokenOwner$ You | TokenColors$ Colorless | TokenPower$ X | TokenToughness$ Y | TokenAttacking$ True
SVar:DelTrig:Mode$ Phase | Phase$ EndCombat | Execute$ TrigSacrifice | ConditionPresent$ Creature.namedTwin | ConditionCompare$ GE1 | TriggerDescription$ At end of combat, Sacrifice the Twin token.
SVar:TrigSacrifice:AB$ Sacrifice | Cost$ 0 | SacValid$ Creature.namedTwin | Mandatory$ True
SVar:X:Count$CardPower
SVar:Y:Count$CardToughness
SVar:Rarity:Rare
SVar:Picture:http://www.wizards.com/global/images/magic/general/gemini_engine.jpg
SetInfo:DST|Rare|http://magiccards.info/scans/en/ds/121.jpg
End
Starcrash
 
Posts: 96
Joined: 30 May 2011, 18:39
Has thanked: 2 times
Been thanked: 1 time

Re: Card Contributions

Postby jeffwadsworth » 13 Jun 2011, 17:08

Starcrash, have you looked at the TokenTriggers$ keyword for tokens?

Something like this:

| Open
Name:Gemini Engine
ManaCost:6
Types:Artifact Creature Construct
Text:no text
PT:3/4
T:Mode$ Attacks | ValidCard$ Card.Self | Execute$ TrigToken | TriggerDescription$ Whenever CARDNAME attacks, put a colorless Construct artifact creature token named Twin onto the battlefield attacking. Its power is equal to CARDNAME's power and its toughness is equal to CARDNAME's toughness. Sacrifice the token at end of combat.
SVar:TrigToken:AB$Token | Cost$ 0 | TokenAmount$ 1 | TokenName$ Twin | TokenTypes$ Artifact,Creature,Construct | TokenOwner$ You | TokenColors$ Colorless | TokenPower$ X | TokenToughness$ Y | TokenAttacking$ True | TokenTriggers$ TrigSac | TokenSVars$ TrigSacrifice
SVar:TrigSac:Mode$ Phase | Phase$ EndCombat | Execute$ TrigSacrifice | TriggerDescription$ At end of combat, Sacrifice the Twin token.
SVar:TrigSacrifice:AB$ Sacrifice | Cost$ 0 | SacValid$ Self | Mandatory$ True
SVar:X:Count$CardPower
SVar:Y:Count$CardToughness
SVar:Rarity:Rare
SVar:Picture:http://www.wizards.com/global/images/magic/general/gemini_engine.jpg
SetInfo:DST|Rare|http://magiccards.info/scans/en/ds/121.jpg
End
jeffwadsworth
Super Tester Elite
 
Posts: 1172
Joined: 20 Oct 2010, 04:47
Location: USA
Has thanked: 287 times
Been thanked: 70 times

Re: Card Contributions

Postby Starcrash » 15 Jun 2011, 02:48

jeffwadsworth wrote:Starcrash, have you looked at the TokenTriggers$ keyword for tokens?

Something like this:

| Open
Name:Gemini Engine
ManaCost:6
Types:Artifact Creature Construct
Text:no text
PT:3/4
T:Mode$ Attacks | ValidCard$ Card.Self | Execute$ TrigToken | TriggerDescription$ Whenever CARDNAME attacks, put a colorless Construct artifact creature token named Twin onto the battlefield attacking. Its power is equal to CARDNAME's power and its toughness is equal to CARDNAME's toughness. Sacrifice the token at end of combat.
SVar:TrigToken:AB$Token | Cost$ 0 | TokenAmount$ 1 | TokenName$ Twin | TokenTypes$ Artifact,Creature,Construct | TokenOwner$ You | TokenColors$ Colorless | TokenPower$ X | TokenToughness$ Y | TokenAttacking$ True | TokenTriggers$ TrigSac | TokenSVars$ TrigSacrifice
SVar:TrigSac:Mode$ Phase | Phase$ EndCombat | Execute$ TrigSacrifice | TriggerDescription$ At end of combat, Sacrifice the Twin token.
SVar:TrigSacrifice:AB$ Sacrifice | Cost$ 0 | SacValid$ Self | Mandatory$ True
SVar:X:Count$CardPower
SVar:Y:Count$CardToughness
SVar:Rarity:Rare
SVar:Picture:http://www.wizards.com/global/images/magic/general/gemini_engine.jpg
SetInfo:DST|Rare|http://magiccards.info/scans/en/ds/121.jpg
End
That's clever. I had no idea what you were talking about, 'cuz the Forge Wiki [url](http://www.slightlymagic.net/wiki/Forge ... tory#Token)[/url] doesn't mention TokenTriggers$ or TokenSVars$.

Stir the Pride
| Open
Name:Stir the Pride
ManaCost:4 W
Types:Instant
Text:no text
A:SP$ PumpAll | Cost$ 4 W | ValidCards$ Creature.YouCtrl | NumAtt$ +2 | NumDef$ +2 | PrecostDesc$ Choose one - | SpellDescription$ Creatures you control get +2/+2 until end of turn;
A:SP$ PumpAll | Cost$ 4 W | ValidCards$ Creature.YouCtrl | NumAtt$ 0 | NumDef$ 0 | KW$ Lifelink | SpellDescription$ or until end of turn, creatures you control gain "Whenever this creature deals damage, you gain that much life".
A:SP$ PumpAll | Cost$ 5 W W | ValidCards$ Creature.YouCtrl | NumAtt$ +2 | NumDef$ +2 | KW$ Lifelink | PrecostDesc$ Entwine 1 W | SpellDescription$ (Choose both if you pay the entwine cost.)
SVar:RemAIDeck:True
SVar:Rarity:Uncommon
SVar:Picture:http://www.wizards.com/global/images/magic/general/stir_the_pride.jpg
SetInfo:DST|Uncommon|http://magiccards.info/scans/en/ds/16.jpg
End
Starcrash
 
Posts: 96
Joined: 30 May 2011, 18:39
Has thanked: 2 times
Been thanked: 1 time

Re: Card Contributions

Postby friarsol » 15 Jun 2011, 02:58

Well, Lifelink isn't the same as "Whenever this creature deals damage, you gain that much life" since Lifelink does not use the Stack and multiple instances of it are redundant, where the trigger does use the Stack, and multiple instances of it are not redundant.
friarsol
Global Moderator
 
Posts: 7593
Joined: 15 May 2010, 04:20
Has thanked: 243 times
Been thanked: 965 times

Re: Card Contributions

Postby friarsol » 15 Jun 2011, 03:35

Here's some Weatherlight cards that look like they are doable (but might not be)

Code: Select all
Agonizing Memories
Ancestral Knowledge
Chimeric Sphere (without?)
Coils of the Medusa
Fire Whip
Goblin Bomb
Heat Stroke
Master of Arms
Mistmoon Griffin
Revered Unicorn (this hasn't worked in the past, but might with recent changes)
Sawtooth Ogre
Sylvan Hierophant
Well of Knowledge
friarsol
Global Moderator
 
Posts: 7593
Joined: 15 May 2010, 04:20
Has thanked: 243 times
Been thanked: 965 times

Re: Card Contributions

Postby jeffwadsworth » 15 Jun 2011, 03:43

Revered Unicorn...hmm. Last time I checked, counters disappeared before they could be counted.
jeffwadsworth
Super Tester Elite
 
Posts: 1172
Joined: 20 Oct 2010, 04:47
Location: USA
Has thanked: 287 times
Been thanked: 70 times

Re: Card Contributions

Postby friarsol » 15 Jun 2011, 03:45

jeffwadsworth wrote:Revered Unicorn...hmm. Last time I checked, counters disappeared before they could be counted.
Still have the script? I think ChangeZone works differently now.
friarsol
Global Moderator
 
Posts: 7593
Joined: 15 May 2010, 04:20
Has thanked: 243 times
Been thanked: 965 times

Re: Card Contributions

Postby jeffwadsworth » 15 Jun 2011, 03:52

friarsol wrote:
jeffwadsworth wrote:Revered Unicorn...hmm. Last time I checked, counters disappeared before they could be counted.
Still have the script? I think ChangeZone works differently now.
No, but I am checking it again. If this works, that would allow for quite a few other cards.
jeffwadsworth
Super Tester Elite
 
Posts: 1172
Joined: 20 Oct 2010, 04:47
Location: USA
Has thanked: 287 times
Been thanked: 70 times

PreviousNext

Return to Developer's Corner

Who is online

Users browsing this forum: No registered users and 44 guests

Main Menu

User Menu

Our Partners


Who is online

In total there are 44 users online :: 0 registered, 0 hidden and 44 guests (based on users active over the past 10 minutes)
Most users ever online was 7967 on 09 Sep 2025, 23:08

Users browsing this forum: No registered users and 44 guests

Login Form