Page 1 of 1

Help coding Teferi, Temporal Archmage

PostPosted: 07 Nov 2014, 22:24
by fallenangle
I have it from reputable sources that this may be an insane task, but I'd like to try coding the Planeswalker Teferi, Temporal Archmage. I'm not sure how to go about coding his ultimate, so I guess I'll start by asking about that. If anyone is willing to help and has any ideas or suggestions, please let me know. Thanks for all your help.

Re: Help coding Teferi, Temporal Archmage

PostPosted: 09 Nov 2014, 19:51
by Xander9009
fallenangle wrote:I have it from reputable sources that this may be an insane task, but I'd like to try coding the Planeswalker Teferi, Temporal Archmage. I'm not sure how to go about coding his ultimate, so I guess I'll start by asking about that. If anyone is willing to help and has any ideas or suggestions, please let me know. Thanks for all your help.
Well, you can simply remove the availability limitation from planeswalkers and they should work just like normal (don't remove the once-per-turn limit, though). Replace that availability with something which checks a player variable. Have Teferi set that variable to one. If a player can host an objectDC, then do that. Otherwise, if you don't want a token manager, then give each planeswalker an ability which continuously sets that card's objectDC variable to 0. Have Teferi's ultimate continuously grant each planeswalker you control an ability which sets it to 1 on a higher layer. Make sure the filter has 'reevaluates="1"' and has the duration set to 'return EffectController() == nil'. I think that should do it. I can't immediately think of a way to do it without modifying all planeswalkers, though, because there's no function to modify an abilities availability as far as I know.

For modifying each planeswalker, since the alteration will be identical for each ability, I can make a utility to automate that. Just alter one or two to test and see exactly what makes it work the way it should and let me know those exact changes.