It is currently 05 Jun 2024, 03:42
   
Text Size

Help coding Teferi, Temporal Archmage

Moderator: CCGHQ Admins

Help coding Teferi, Temporal Archmage

Postby fallenangle » 07 Nov 2014, 22:24

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.
fallenangle
 
Posts: 319
Joined: 20 Jul 2013, 02:31
Has thanked: 73 times
Been thanked: 41 times

Re: Help coding Teferi, Temporal Archmage

Postby Xander9009 » 09 Nov 2014, 19:51

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.
_______________________________
Community Wad - Community Wad Website - How to Help and Report Bugs
Discord: discord.gg/4AXvHzW
User avatar
Xander9009
Programmer
 
Posts: 2905
Joined: 29 Jun 2013, 07:44
Location: Indiana, United States
Has thanked: 121 times
Been thanked: 445 times


Return to Programming Talk

Who is online

Users browsing this forum: No registered users and 2 guests


Who is online

In total there are 2 users online :: 0 registered, 0 hidden and 2 guests (based on users active over the past 10 minutes)
Most users ever online was 4143 on 23 Jan 2024, 08:21

Users browsing this forum: No registered users and 2 guests

Login Form