StaticEffectFactory
Post MTG Forge Related Programming Questions Here
Moderators: timmermac, Blacksmith, KrazyTheFox, Agetian, friarsol, CCGHQ Admins
66 posts
• Page 5 of 5 • 1, 2, 3, 4, 5
Re: StaticEffectFactory
by Chris H. » 14 Jul 2011, 13:08
`Sloth wrote:Sidenote: Can we delete all enpump code now? I don't see a reason not to.
By all means.
There are two methods in CardFactoryUtil that are called by the enPump parsing code located in CardFactory_Auras. Might as well get it all at one time.
-
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: StaticEffectFactory
by Chris H. » 14 Jul 2011, 15:30
I have finished the conversion of generic aura keyword to AF_Attach. The generic aura keyword is no longer needed.
If you place a System.out.println(card.getName()) in the generic aura keyword you should only get the Animate Wall card. The oracle text uses "Enchant Wall", notice the capital "W". This card now uses AF-Attach but it also passes the test for the generic aura keyword.
It should be safe to now comment out or to delete the enPump and generic aura code.
If you place a System.out.println(card.getName()) in the generic aura keyword you should only get the Animate Wall card. The oracle text uses "Enchant Wall", notice the capital "W". This card now uses AF-Attach but it also passes the test for the generic aura keyword.
It should be safe to now comment out or to delete the enPump and generic aura code.
-
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: StaticEffectFactory
by Chris H. » 14 Jul 2011, 17:42
`Chris H. wrote:IIt should be safe to now comment out or to delete the enPump and generic aura code.
The enPump code is now commented out.
-
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: StaticEffectFactory
by Chris H. » 14 Jul 2011, 22:30
`Chris H. wrote:The enPump code is now commented out.
The generic aura code is also.
-
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: StaticEffectFactory
by jeffwadsworth » 18 Jul 2011, 20:14
Does SVarCompare$ work with variables? Ex. SVarCompare$ LEX.
- jeffwadsworth
- Super Tester Elite
- Posts: 1172
- Joined: 20 Oct 2010, 04:47
- Location: USA
- Has thanked: 287 times
- Been thanked: 70 times
Re: StaticEffectFactory
by Hellfish » 18 Jul 2011, 20:32
Yes, it should work fine with them.
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
66 posts
• Page 5 of 5 • 1, 2, 3, 4, 5
Who is online
Users browsing this forum: No registered users and 14 guests