Card Contributions
Post MTG Forge Related Programming Questions Here
Moderators: timmermac, Blacksmith, KrazyTheFox, Agetian, friarsol, CCGHQ Admins
Re: Card Contributions
by friarsol » 19 May 2011, 01:08
Ok.. Here are a bunch of cards that I believe can be converted (although I might be lying)
- Code: Select all
Telling Time (Two Digs, one Hand and Top Library, one Top Library and Bottom Library)
Cruel Ultimatum
Doomsday (Dig where X is the size of your library)
Flamebreak (noregen)
March of Souls (check out Fracturing Gust)
Phyrexian Rebirth
Overwhelming Forces
Amnesia
Invincible Hymn
Rite of Replication
Conqueror's Pledge
Traumatize
Acidic Soil
Nature's Resurgence
All Hallow's Eve
Decree of Justice
Biorhythm
Last edited by friarsol on 19 May 2011, 13:42, edited 2 times in total.
- friarsol
- Global Moderator
- Posts: 7593
- Joined: 15 May 2010, 04:20
- Has thanked: 243 times
- Been thanked: 965 times
Re: Card Contributions
by jeffwadsworth » 19 May 2011, 13:32
Huh. I completely missed the much improved Remembered implementation. Nice.
For Amnesia, something like this would work if cardsinhand.nonLand were possible. But we really need a DiscardAll here. This is hacky.
For Amnesia, something like this would work if cardsinhand.nonLand were possible. But we really need a DiscardAll here. This is hacky.
- Code: Select all
Name:Amnesia
ManaCost:3 U U U
Types:Sorcery
Text:no text
A:SP$ RevealHand | Cost$ 3 U U U | ValidTgts$ Player | TgtPrompt$ Select target player | IsCurse$ True | SubAbility$ SVar=DBDiscard | SpellDescription$ Target player reveals his or her hand and discards all nonland cards.
SVar:DBDiscard:DB$Discard | Defined$ TargetedPlayer | DiscardValid$ Card.nonLand | NumCards$ X | Mode$ TgtChoose
SVar:X:TargetedPlayer$CardsInHand.nonLand
SVar:Rarity:Rare
SVar:Picture:http://www.wizards.com/global/images/magic/general/amnesia.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
by jhhh » 22 May 2011, 20:31
Jace, the Mind Sculptor to script
- Code: Select all
Name:Jace, the Mind Sculptor
ManaCost:2 U U
Types:Planeswalker Jace
Text:no text
Loyalty:3
A:AB$ Dig | Cost$ AddCounter<2/LOYALTY> | DigNum$ 1 | ValidTgts$ Player | TgtPrompt$ Select target player | ChangeNum$ 1 | DestinationZone$ Library | LibraryPosition$ -1 | Optional$ True | LibraryPosition2$ 0 | SpellDescription$ Look at the top card of target player's library. You may put that card on the bottom of that player's library.
A:AB$ Draw | Cost$ AddCounter<0/LOYALTY> | NumCards$ 3 | SpellDescription$ Draw three cards, then put two cards from your hand on top of your library in any order. | SubAbility$ SVar=ChangeZoneDB
SVar:ChangeZoneDB:DB$ChangeZone | Origin$ Hand | Destination$ Library | ChangeNum$ 2
A:AB$ ChangeZone | Cost$ SubCounter<1/LOYALTY> | ValidTgts$ Creature | TgtPrompt$ Select target creature | Origin$ Battlefield | Destination$ Hand | SpellDescription$ Return target creature to its owner's hand.
A:AB$ChangeZoneAll | Cost$ SubCounter<12/LOYALTY> | ValidTgts$ Player | TgtPrompt$ Select target player | Origin$ Library | Destination$ Exile | ChangeType$ Card | IsCurse$ True | SpellDescription$ Exile all cards from target player's library, then that player shuffles his or her hand into his or her library. | SubAbility$ SVar=ChangeZoneAllDB
SVar:ChangeZoneAllDB:DB$ChangeZoneAll | Cost$ 0 | Defined$ Targeted | Origin$ Hand | Destination$ Library | ChangeType$ Card | IsCurse$ True | Shuffle$ True
SVar:Rarity:Rare
End
- jhhh
- Posts: 58
- Joined: 15 Oct 2010, 23:40
- Has thanked: 0 time
- Been thanked: 0 time
Re: Card Contributions
by friarsol » 22 May 2011, 20:40
Make sure to add the Planeswalker parameter here too.
- friarsol
- Global Moderator
- Posts: 7593
- Joined: 15 May 2010, 04:20
- Has thanked: 243 times
- Been thanked: 965 times
Re: Card Contributions
by friarsol » 26 May 2011, 01:30
Who wants to try their hand at more Alliances cards? I know everyone loves to!
- Code: Select all
Ashnod's Cylix
Burnout
Nature's Chosen tapXType<1/Creature.enchantedBy>?
Soldevi Excavations
Soldevi Heretic
Splintering Wind?
Thawing Glaciers (i think we might actually be able to do this with the DelayedTrigger DB)
Undergrowth (this might be a bit trickier to implement, the first "choice" is a simple fog. The second choice would be create an effect that lasts EOT that pumps non-red creatures with Prevent all combat damage that would be dealt by CARDNAME.)
Winter's Night
- friarsol
- Global Moderator
- Posts: 7593
- Joined: 15 May 2010, 04:20
- Has thanked: 243 times
- Been thanked: 965 times
Re: Card Contributions
by ZzzzSleep » 26 May 2011, 13:02
Is Mitotic Slime working in the svn version of Forge? The 1/1 tokens are not appearing for me in the May 19th release. If something isn't working with token SVars and triggers, then Splintering Wind can't quite be done yet.
Re: Card Contributions
by jeffwadsworth » 26 May 2011, 15:21
I will look at these. Thanks for the list.friarsol wrote:Who wants to try their hand at more Alliances cards? I know everyone loves to!
- Code: Select all
Ashnod's Cylix
Burnout
Nature's Chosen tapXType<1/Creature.enchantedBy>?
Soldevi Excavations
Soldevi Heretic
Splintering Wind?
Thawing Glaciers (i think we might actually be able to do this with the DelayedTrigger DB)
Undergrowth (this might be a bit trickier to implement, the first "choice" is a simple fog. The second choice would be create an effect that lasts EOT that pumps non-red creatures with Prevent all combat damage that would be dealt by CARDNAME.)
Winter's Night
Sol, has Dig implemented targeting based on players, yet?
- 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
by friarsol » 27 May 2011, 03:57
Some card converts that would help (if they can be done), it's late so not all of these may not convert as easily as I'm imaging. Otherwise, these will take the long road of changing the hardcoding to use the modern target.
- Code: Select all
Jugan, the Rising Star
Wings of Velis Vel
Berserk
Rite of Replication
Valakut, the Molten Pinnacle
Vendilion Clique (might be able to be done with ChangeZone)
Gatekeeper of Malakir
Infernal Kirin
- friarsol
- Global Moderator
- Posts: 7593
- Joined: 15 May 2010, 04:20
- Has thanked: 243 times
- Been thanked: 965 times
Re: Card Contributions
by jeffwadsworth » 27 May 2011, 17:08
Thawing Glaciers is interesting. To my knowledge, you can not perform a delayed trigger drawback. Since a delayed trigger must be inside another trigger, this can not be scripted now.
Ashnod's Cylix. The targeted player does not perform the Dig.
Splintering Winds: You can not currently assign cumulative upkeep to permanents.
Ashnod's Cylix. The targeted player does not perform the Dig.
Splintering Winds: You can not currently assign cumulative upkeep to permanents.
- 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
by Hellfish » 27 May 2011, 17:44
A barebones AF_DelayedTrigger is in the current revision.You can only use it as a DB/Subability and the AI is probably pretty poor, but it's there.jeffwadsworth wrote:Thawing Glaciers is interesting. To my knowledge, you can not perform a delayed trigger drawback. Since a delayed trigger must be inside another trigger, this can not be scripted now.
Ashnod's Cylix. The targeted player does not perform the Dig.
Splintering Winds: You can not currently assign cumulative upkeep to permanents.

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 Contributions
by Sloth » 27 May 2011, 19:48
Yes, Ashnod's Cylix and Splintering Winds are not scriptable at the moment. And I don't believe Burnout will work even with the Condition mechanic.jeffwadsworth wrote:Thawing Glaciers is interesting. To my knowledge, you can not perform a delayed trigger drawback. Since a delayed trigger must be inside another trigger, this can not be scripted now.
Ashnod's Cylix. The targeted player does not perform the Dig.
Splintering Winds: You can not currently assign cumulative upkeep to permanents.
I was also pretty sure that Soldevi Heretic wasn't scriptable. I didn't know about OptionalDecider tech. Good work figuring it out Jeff.
-
Sloth - Programmer
- Posts: 3498
- Joined: 23 Jun 2009, 19:40
- Has thanked: 125 times
- Been thanked: 507 times
Re: Card Contributions
by jeffwadsworth » 27 May 2011, 19:56
Ack! Man, you guys add so much new script functionality...haha. Thanks for the tip.
- 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
by friarsol » 27 May 2011, 20:01
Cylix needs something like ChangeZone has where you inform the AF who the decider is. And it looks like there might need to be a bit more tweaking to get Burnout in. Oh well, sometimes cards look like they might be able to be done even if they can't be.Sloth wrote:Yes, Ashnod's Cylix and Splintering Winds are not scriptable at the moment. And I don't believe Burnout will work even with the Condition mechanic.jeffwadsworth wrote:Thawing Glaciers is interesting. To my knowledge, you can not perform a delayed trigger drawback. Since a delayed trigger must be inside another trigger, this can not be scripted now.
Ashnod's Cylix. The targeted player does not perform the Dig.
Splintering Winds: You can not currently assign cumulative upkeep to permanents.
- friarsol
- Global Moderator
- Posts: 7593
- Joined: 15 May 2010, 04:20
- Has thanked: 243 times
- Been thanked: 965 times
Re: Card Contributions
by jeffwadsworth » 29 May 2011, 19:56
Here is working script for Valakut the Molten Pinnacle.
- Code: Select all
Name:Valakut, the Molten Pinnacle
ManaCost:no cost
Types:Land
Text:no text
K:CARDNAME enters the battlefield tapped.
T:Mode$ ChangesZone | ValidCard$ Mountain.YouCtrl | Origin$ Any | Destination$ Battlefield | OptionalDecider$ You | Execute$ TrigDamage | IsPresent$ Mountain.YouCtrl | PresentCompare$ GE6 | TriggerZones$ Battlefield | TriggerDescription$ Whenever a Mountain enters the battlefield under your control, if you control at least five other Mountains, you may have CARDNAME deal 3 damage to target creature or player.
SVar:TrigDamage:AB$DealDamage | Cost$ 0 | Tgt$ TgtCP | TgtPrompt$ Select target creature or player | NumDmg$ 3
A:AB$ Mana | Cost$ T | Produced$ R | SpellDescription$ Add R to your mana pool.
SVar:Rarity:Rare
SVar:Picture:http://www.wizards.com/global/images/magic/general/valakut_the_molten_pinnacle.jpg
SetInfo:ZEN|Rare|http://magiccards.info/scans/en/zen/228.jpg
End
Last edited by jeffwadsworth on 29 May 2011, 20:31, edited 1 time in total.
- jeffwadsworth
- Super Tester Elite
- Posts: 1172
- Joined: 20 Oct 2010, 04:47
- Location: USA
- Has thanked: 287 times
- Been thanked: 70 times
Who is online
Users browsing this forum: No registered users and 21 guests