It is currently 12 Sep 2025, 02:13
   
Text Size

StaticEffectFactory

Post MTG Forge Related Programming Questions Here

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

Re: StaticEffectFactory

Postby 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.
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: StaticEffectFactory

Postby 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.
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: StaticEffectFactory

Postby 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.
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: StaticEffectFactory

Postby Chris H. » 14 Jul 2011, 22:30

Chris H. wrote:The enPump code is now commented out.
`
The generic aura code is also.
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: StaticEffectFactory

Postby 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

Postby 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
User avatar
Hellfish
Programmer
 
Posts: 1297
Joined: 07 Jun 2009, 10:41
Location: South of the Pumphouse
Has thanked: 110 times
Been thanked: 169 times

Previous

Return to Developer's Corner

Who is online

Users browsing this forum: No registered users and 14 guests

Main Menu

User Menu

Our Partners


Who is online

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

Login Form