Keywords recognized by Forge
Post MTG Forge Related Programming Questions Here
Moderators: timmermac, Blacksmith, KrazyTheFox, Agetian, friarsol, CCGHQ Admins
-
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: Keywords recognized by Forge
by Chris H. » 27 Dec 2010, 13:26
I edited the listing found in the first message. I hope that this information will now be an easier read. 

-
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: Keywords recognized by Forge
by SoulStorm » 27 Dec 2010, 18:23
Yes sir, very nice indeed!
Thanks!
Thanks!
Re: Keywords recognized by Forge
by Rob Cashwalker » 28 Dec 2010, 00:18
I hardly ever read the OP... just the updates.
The Force will be with you, Always.
-
Rob Cashwalker - Programmer
- Posts: 2167
- Joined: 09 Sep 2008, 15:09
- Location: New York
- Has thanked: 5 times
- Been thanked: 40 times
Re: Keywords recognized by Forge
by Hellfish » 28 Dec 2010, 16:25
New keywords:
The rest are for Ice Cage -likes.
- CARDNAME's activated abilities can't be activated.
- When enchanted creature becomes the target of a spell or ability, sacrifice
that creature. - When enchanted creature becomes the target of a spell or ability, destroy
that creature. - When enchanted creature becomes the target of a spell or ability, destroy that creature. It can't be regenerated.
- When enchanted creature becomes the target of a spell or ability, exile
that creature. - When enchanted creature becomes the target of a spell or ability, sacrifice
CARDNAME. - When enchanted creature becomes the target of a spell or ability, destroy
CARDNAME. - When enchanted creature becomes the target of a spell or ability, destroy
CARDNAME. It can't be regenerated. - When enchanted creature becomes the target of a spell or ability, exile
CARDNAME.
The rest are for Ice Cage -likes.
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: Keywords recognized by Forge
by Sloth » 28 Dec 2010, 18:06
These are all very helpful, but why didn't you choose to add the following ones in the style of "When CARDNAME becomes the target of a spell or ability, sacrifice it."(which already exists and the second one too). They can be added with enPumpCurse:HIDDEN ...Hellfish wrote:New keywords:
- CARDNAME's activated abilities can't be activated.
- When enchanted creature becomes the target of a spell or ability, sacrifice
CARDNAME.- When enchanted creature becomes the target of a spell or ability, destroy
CARDNAME.- When enchanted creature becomes the target of a spell or ability, destroy
CARDNAME. It can't be regenerated.- When enchanted creature becomes the target of a spell or ability, exile
CARDNAME.
I checked that they aren't used by non-aura cards, but they may be in the future.Hellfish wrote:[*]When enchanted creature becomes the target of a spell or ability, sacrifice
that creature.
[*]When enchanted creature becomes the target of a spell or ability, destroy
that creature.
[*]When enchanted creature becomes the target of a spell or ability, destroy that creature. It can't be regenerated.
[*]When enchanted creature becomes the target of a spell or ability, exile
that creature.
[/list]
-
Sloth - Programmer
- Posts: 3498
- Joined: 23 Jun 2009, 19:40
- Has thanked: 125 times
- Been thanked: 507 times
Re: Keywords recognized by Forge
by Hellfish » 28 Dec 2010, 19:23
Oh yeah, that's a good point. Not sure why I didn't think of that. I knew Phantom Beast was already supported but I didn't think much farther than that. 

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: Keywords recognized by Forge
by Chris H. » 07 Jan 2011, 12:35
Added the new etbGainLife keyword to the keyword list.
Added the new (AB/DB/SP) PumpAll AF sa to the AbilityFactory list.
Added the new (AB/DB/SP) PumpAll AF sa to the AbilityFactory list.
-
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: Keywords recognized by Forge
by Chris H. » 09 Jan 2011, 12:07
Added the new etbLoseLife keyword to the keyword list.
-
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: Keywords recognized by Forge
by slapshot5 » 13 Jan 2011, 16:20
- slapshot5
- Programmer
- Posts: 1391
- Joined: 03 Jan 2010, 17:47
- Location: Mac OS X
- Has thanked: 25 times
- Been thanked: 68 times
Re: Keywords recognized by Forge
by Chris H. » 13 Jan 2011, 18:48
`slapshot5 wrote:I added the Split second keyword last night.
Simply:-slapshot5
- Code: Select all
K:Split second
Thank you for the reminder, Slapshot.

Added the new Split second keyword to the keyword list.
Added the new (AB/DB/SP) DamageAll AF sa to the AbilityFactory list.
-
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: Keywords recognized by Forge
by friarsol » 13 Jan 2011, 18:54
Chris, I wonder if this list would be better on the Wiki and just have a link from the front page of this thread to the Wiki?
- friarsol
- Global Moderator
- Posts: 7593
- Joined: 15 May 2010, 04:20
- Has thanked: 243 times
- Been thanked: 965 times
Re: Keywords recognized by Forge
by Chris H. » 13 Jan 2011, 19:39
That is a good question, but I do not have a good answer. Oh, I just visited the wiki and you have done an awesome job. Thank you. 

-
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: Keywords recognized by Forge
by jeffwadsworth » 14 Jan 2011, 04:42
Does this still hold true?Storm is also a flag. The card with this keyword will need additional coding to implement the card's Storm feature set.

BTW, I am just teasing you Chris. It looks like Storm works well.
Last edited by jeffwadsworth on 14 Jan 2011, 17:26, 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
Re: Keywords recognized by Forge
by Chris H. » 14 Jan 2011, 13:57
`jeffwadsworth wrote:Does this still hold true?Storm is also a flag. The card with this keyword will need additional coding to implement the card's Storm feature set.
Forge has gone through a substantial amount of development. I try to keep up with the pace but I oftentimes find myself falling behind.

I can not remember who wrote the Storm code. The original author would know more about this keyword.
-
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
Who is online
Users browsing this forum: No registered users and 29 guests