Page 1 of 1

Coat of Arms

PostPosted: 04 Feb 2013, 10:18
by moomarc
I was looking to add Velis Vel for Planechase matches and decided to try script it instead of adding to the hard coded bit for Coat of Arms. I've tested everything I could think of including multiple CoA's and cards with changeling, multiplayer and single player. I tried the CoA's with different controllers etc and made sure that AddPower/Toughness still works for straight integers and X/Y values (while I was in the area I made the variable names flexible - no longer only X or Y).

Everything works, but maybe one of the code gurus should check it out to make sure I didn't use any suboptimal code, or just see if it needs to be cleaned up.

Edit: Oops. Forgot to commit one of the files. Now everything should work for everyone.

Re: Coat of Arms

PostPosted: 04 Feb 2013, 14:31
by Hellfish
I'm not too familiar with the static abilities code but I do know Alpha Status should be similarly convertable. :mrgreen:

Re: Coat of Arms

PostPosted: 04 Feb 2013, 15:09
by moomarc
Hellfish wrote:I'm not too familiar with the static abilities code but I do know Alpha Status should be similarly convertable. :mrgreen:
Excellent. I was going to ask whether anyone knew of any similar cards next.

Re: Coat of Arms

PostPosted: 05 Feb 2013, 11:17
by moomarc
Thanks Sloth for those fixes. I was convinced I caught everything, but I guess not.

Then on to brighter things, Alpha Status is converted to script. Any other cards that we have (or don't have) that might use the same approach?