Card Contributions
Post MTG Forge Related Programming Questions Here
Moderators: timmermac, Blacksmith, KrazyTheFox, Agetian, friarsol, CCGHQ Admins
Re: Card Contributions
by friarsol » 26 Aug 2011, 03:40
I've added some Alliances cards that should be able to work.
http://www.slightlymagic.net/wiki/Forge ... #Alliances
Please leave notes on the Wiki with specifically you couldn't get working so others can point out any hints, or expand functionality.
http://www.slightlymagic.net/wiki/Forge ... #Alliances
Please leave notes on the Wiki with specifically you couldn't get working so others can point out any hints, or expand functionality.
- friarsol
- Global Moderator
- Posts: 7593
- Joined: 15 May 2010, 04:20
- Has thanked: 243 times
- Been thanked: 965 times
Searing Blaze
by Ivalen » 28 Aug 2011, 04:02
I can't get Searing Blaze to work
- Code: Select all
Name:Searing Blaze
ManaCost:2 R
Types:Instant
Text:no text
K:Landfall
A:SP$DealDamage | Cost$ 2 R | Tgt$ TgtC TgtP | numDmg$ 1 | ConditionPresent$ Land.YouCtrl+enteredBattlefieldThisTurn | ConditionCompare$ EQ0 | SubAbility$ SVar=TrigLandfall | SpellDescription$ CARDNAME deals 1 damage to target player and 1 damage to target creature that player controls.
SVar:TrigLandfall:SP$DealDamage | Cost$ 2 R | Tgt$ TgtC TgtP | numDmg$ 3 | SpellDescription$ CARDNAME deals 3 damage to target player and 3 damage to target creature that player controls.
End
- Ivalen
- Posts: 22
- Joined: 23 Jan 2011, 15:19
- Has thanked: 0 time
- Been thanked: 0 time
Re: Searing Blaze
by Sloth » 28 Aug 2011, 05:29
Did you try using a second DealDamage ability as subability? And please take a look at the real implementation of Mysteries of the Deep (it's much simpler now).Ivalen wrote:I can't get Searing Blaze to workI think it's because I can't multi-target (a creature and a player). Got the idea for implementing the Landfall ability from the Mysteries of the Deep attempt earlier in this thread.
- Code: Select all
Name:Searing Blaze
ManaCost:2 R
Types:Instant
Text:no text
K:Landfall
A:SP$DealDamage | Cost$ 2 R | Tgt$ TgtC TgtP | numDmg$ 1 | ConditionPresent$ Land.YouCtrl+enteredBattlefieldThisTurn | ConditionCompare$ EQ0 | SubAbility$ SVar=TrigLandfall | SpellDescription$ CARDNAME deals 1 damage to target player and 1 damage to target creature that player controls.
SVar:TrigLandfall:SP$DealDamage | Cost$ 2 R | Tgt$ TgtC TgtP | numDmg$ 3 | SpellDescription$ CARDNAME deals 3 damage to target player and 3 damage to target creature that player controls.
End
-
Sloth - Programmer
- Posts: 3498
- Joined: 23 Jun 2009, 19:40
- Has thanked: 125 times
- Been thanked: 507 times
Re: Searing Blaze
by ArsenalNut » 28 Aug 2011, 05:50
One way to do multiple targets is to break it into two abilities, one DealDamage that targets a player then one that targets the creature. You can also use TargetMin and TargetMax see Chandra, the Firebrand for an example.Ivalen wrote:I can't get Searing Blaze to workI think it's because I can't multi-target (a creature and a player). Got the idea for implementing the Landfall ability from the Mysteries of the Deep attempt earlier in this thread.
- Code: Select all
Name:Searing Blaze
ManaCost:2 R
Types:Instant
Text:no text
K:Landfall
A:SP$DealDamage | Cost$ 2 R | Tgt$ TgtC TgtP | numDmg$ 1 | ConditionPresent$ Land.YouCtrl+enteredBattlefieldThisTurn | ConditionCompare$ EQ0 | SubAbility$ SVar=TrigLandfall | SpellDescription$ CARDNAME deals 1 damage to target player and 1 damage to target creature that player controls.
SVar:TrigLandfall:SP$DealDamage | Cost$ 2 R | Tgt$ TgtC TgtP | numDmg$ 3 | SpellDescription$ CARDNAME deals 3 damage to target player and 3 damage to target creature that player controls.
End
The other problem is that you need to only allow targeting creatures that are controlled by the player that is targeted. I don't think there is currently a way to do this for DealDamage.
So many cards, so little time
-
ArsenalNut - Posts: 512
- Joined: 08 Jul 2011, 03:49
- Has thanked: 27 times
- Been thanked: 121 times
Re: Searing Blaze
by moomarc » 28 Aug 2011, 09:47
If you can get the card working aside from implementing the targeting restriction, could it please be posted in the Half-Implemented Cards thread.ArsenalNut wrote:The other problem is that you need to only allow targeting creatures that are controlled by the player that is targeted. I don't think there is currently a way to do this for DealDamage.

-Marc
-
moomarc - Pixel Commander
- Posts: 2091
- Joined: 04 Jun 2010, 15:22
- Location: Johannesburg, South Africa
- Has thanked: 371 times
- Been thanked: 372 times
Re: Card Contributions
by Sloth » 29 Aug 2011, 07:26
Here are some cards that can be scripted using AF PreventDamage:
-
Sloth - Programmer
- Posts: 3498
- Joined: 23 Jun 2009, 19:40
- Has thanked: 125 times
- Been thanked: 507 times
Re: Card Contributions
by friarsol » 29 Aug 2011, 12:24
Can't do Wandering Mage until the last Cost is added (Put Counter on a creature you control)
- friarsol
- Global Moderator
- Posts: 7593
- Joined: 15 May 2010, 04:20
- Has thanked: 243 times
- Been thanked: 965 times
Re: Card Contributions
by friarsol » 30 Aug 2011, 03:12
Here's a few that can be done with the new Cost mechanic:
The White and Black Heralds don't have their fetching card implemented in Forge yet. The Demon needs Unless Cost to use Paid. The Angel needs damage redirection.
- MutliSacrifice | Open
- Urborg Panther (I'm pretty sure that first ability works)
Angel's Herald
Behemoth's Herald
Demon's Herald
Dragon's Herald
Sphinx's Herald
The White and Black Heralds don't have their fetching card implemented in Forge yet. The Demon needs Unless Cost to use Paid. The Angel needs damage redirection.
- friarsol
- Global Moderator
- Posts: 7593
- Joined: 15 May 2010, 04:20
- Has thanked: 243 times
- Been thanked: 965 times
Re: Card Contributions
by ZzzzSleep » 01 Sep 2011, 14:00
Will we be doing Innistrad cards via the wiki, like we did with New Phyrexia?
Re: Card Contributions
by jeffwadsworth » 02 Sep 2011, 16:12
When the last set came out, some dev had about 100 of them already done. Hopefully, if someone is doing the same thing this time, they mention it first.ZzzzSleep wrote:Will we be doing Innistrad cards via the wiki, like we did with New Phyrexia?
- 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 » 02 Sep 2011, 16:30
I think for M12 we went back to the Forums, but we want people claiming cards before they actually script them. And you shouldn't claim more than a handful at a time.
- friarsol
- Global Moderator
- Posts: 7593
- Joined: 15 May 2010, 04:20
- Has thanked: 243 times
- Been thanked: 965 times
Re: Card Contributions
by Chris H. » 02 Sep 2011, 16:50
I am really busy at this time trying to sell a hard to sell piece of property, ugh, real life situation.
I do not think that I will be able to handle this new set in a similar fashion.
I do not think that I will be able to handle this new set in a similar fashion.
-
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 Contributions
by Sloth » 02 Sep 2011, 17:31
I think a wiki page with all cards already claimed or scripted in alphabetical order is enough.
-
Sloth - Programmer
- Posts: 3498
- Joined: 23 Jun 2009, 19:40
- Has thanked: 125 times
- Been thanked: 507 times
Re: Card Contributions
by friarsol » 02 Sep 2011, 17:50
The formatting is terrible for the actual script on the wiki. Maybe claim cards on the wiki, and post finished scripts in a thread? Then later on we can go through and add them as appropriate?Sloth wrote:I think a wiki page with all cards already claimed or scripted in alphabetical order is enough.
- friarsol
- Global Moderator
- Posts: 7593
- Joined: 15 May 2010, 04:20
- Has thanked: 243 times
- Been thanked: 965 times
Re: Card Contributions
by Sloth » 02 Sep 2011, 18:27
I meant just the names, no script.friarsol wrote:The formatting is terrible for the actual script on the wiki. Maybe claim cards on the wiki, and post finished scripts in a thread? Then later on we can go through and add them as appropriate?Sloth wrote:I think a wiki page with all cards already claimed or scripted in alphabetical order is enough.
-
Sloth - Programmer
- Posts: 3498
- Joined: 23 Jun 2009, 19:40
- Has thanked: 125 times
- Been thanked: 507 times
Who is online
Users browsing this forum: No registered users and 36 guests