It is currently 07 Sep 2025, 18:09
   
Text Size

spLoseLifeGainLife keyword

Post MTG Forge Related Programming Questions Here

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

Re: spLoseLifeGainLife keyword

Postby Marek14 » 13 Dec 2009, 23:22

Maybe the "damage + lifegain" keyword could be done in a way that would work for both creatures and players?
Marek14
Tester
 
Posts: 2773
Joined: 07 Jun 2008, 07:54
Has thanked: 0 time
Been thanked: 303 times

Re: spLoseLifeGainLife keyword

Postby Rob Cashwalker » 14 Dec 2009, 14:31

spDamageTgt is the appropriate choice. I'll look into putting that in.

spDamageTgt+drawback is implemented. drawback can be GainLife.
The Force will be with you, Always.
User avatar
Rob Cashwalker
Programmer
 
Posts: 2167
Joined: 09 Sep 2008, 15:09
Location: New York
Has thanked: 5 times
Been thanked: 40 times

Re: spLoseLifeGainLife keyword

Postby Chris H. » 15 Dec 2009, 00:06

I have updated the spLoseLifeGainLife keyword. The keyword will now look for an additional 2 fields as the keyword is parsed. The third and fourth fields contain the spell description and the stack description. The third and fourth fields are optional.

I had to create a test to see if the card is "Absorb Vis" and if it is the spLoseLifeGainLife code will add the basic landcycling. This was the only way I could get it to work. I tried.

spLoseLifeGainLife:{num}:{spell descript}:{stack descript}
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

Previous

Return to Developer's Corner

Who is online

Users browsing this forum: No registered users and 60 guests

Main Menu

User Menu

Our Partners


Who is online

In total there are 60 users online :: 0 registered, 0 hidden and 60 guests (based on users active over the past 10 minutes)
Most users ever online was 7303 on 15 Jul 2025, 20:46

Users browsing this forum: No registered users and 60 guests

Login Form