It is currently 13 Sep 2025, 20:22
   
Text Size

Card Contributions

Post MTG Forge Related Programming Questions Here

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

Re: Card Contributions

Postby 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.
friarsol
Global Moderator
 
Posts: 7593
Joined: 15 May 2010, 04:20
Has thanked: 243 times
Been thanked: 965 times

Searing Blaze

Postby 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
I 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.
Ivalen
 
Posts: 22
Joined: 23 Jan 2011, 15:19
Has thanked: 0 time
Been thanked: 0 time

Re: Searing Blaze

Postby Sloth » 28 Aug 2011, 05:29

Ivalen wrote: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
I 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.
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).
User avatar
Sloth
Programmer
 
Posts: 3498
Joined: 23 Jun 2009, 19:40
Has thanked: 125 times
Been thanked: 507 times

Re: Searing Blaze

Postby ArsenalNut » 28 Aug 2011, 05:50

Ivalen wrote: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
I 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.
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.

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
User avatar
ArsenalNut
 
Posts: 512
Joined: 08 Jul 2011, 03:49
Has thanked: 27 times
Been thanked: 121 times

Re: Searing Blaze

Postby moomarc » 28 Aug 2011, 09:47

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.
If you can get the card working aside from implementing the targeting restriction, could it please be posted in the Half-Implemented Cards thread. 8-[ There's a few there now that are scripted except for some restriction that players can enforce themselves (so just add SVar:RemAIDeck:True).
-Marc
User avatar
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

Postby Sloth » 29 Aug 2011, 07:26

User avatar
Sloth
Programmer
 
Posts: 3498
Joined: 23 Jun 2009, 19:40
Has thanked: 125 times
Been thanked: 507 times

Re: Card Contributions

Postby 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

Postby friarsol » 30 Aug 2011, 03:12

Here's a few that can be done with the new Cost mechanic:

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

Postby ZzzzSleep » 01 Sep 2011, 14:00

Will we be doing Innistrad cards via the wiki, like we did with New Phyrexia?
ZzzzSleep
 
Posts: 182
Joined: 29 Oct 2010, 02:19
Has thanked: 18 times
Been thanked: 18 times

Re: Card Contributions

Postby jeffwadsworth » 02 Sep 2011, 16:12

ZzzzSleep wrote:Will we be doing Innistrad cards via the wiki, like we did with New Phyrexia?
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.
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 » 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

Postby 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.
User avatar
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

Postby Sloth » 02 Sep 2011, 17:31

I think a wiki page with all cards already claimed or scripted in alphabetical order is enough.
User avatar
Sloth
Programmer
 
Posts: 3498
Joined: 23 Jun 2009, 19:40
Has thanked: 125 times
Been thanked: 507 times

Re: Card Contributions

Postby friarsol » 02 Sep 2011, 17:50

Sloth wrote:I think a wiki page with all cards already claimed or scripted in alphabetical order is enough.
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?
friarsol
Global Moderator
 
Posts: 7593
Joined: 15 May 2010, 04:20
Has thanked: 243 times
Been thanked: 965 times

Re: Card Contributions

Postby Sloth » 02 Sep 2011, 18:27

friarsol wrote:
Sloth wrote:I think a wiki page with all cards already claimed or scripted in alphabetical order is enough.
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?
I meant just the names, no script.
User avatar
Sloth
Programmer
 
Posts: 3498
Joined: 23 Jun 2009, 19:40
Has thanked: 125 times
Been thanked: 507 times

PreviousNext

Return to Developer's Corner

Who is online

Users browsing this forum: No registered users and 46 guests

Main Menu

User Menu

Our Partners


Who is online

In total there are 46 users online :: 0 registered, 0 hidden and 46 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 46 guests

Login Form