It is currently 13 Nov 2019, 10:09
   
Text Size

Strings vs things in auto-yield and ability ordering

Post MTG Forge Related Programming Questions Here

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

Strings vs things in auto-yield and ability ordering

Postby pfps » 07 Jan 2017, 19:38

Both autoyield and spell ability ordering use strings to decide what to do. On the other hand optional abilities use an identifier to remember what to do.

I think that it would be better to use things uniformly. However, moving to things would be a fair bit of work for spell ability ordering.

Comments?
pfps
 
Posts: 53
Joined: 09 Jan 2015, 14:34
Has thanked: 0 time
Been thanked: 7 times

Re: Strings vs things in auto-yield and ability ordering

Postby Agetian » 08 Jan 2017, 04:33

Hmmm I think either might work, I'm not sure if either approach is better/preferable though, I have little experience with the intrinsic mechanism of auto yield... :/

- Agetian
Agetian
Programmer
 
Posts: 3359
Joined: 14 Mar 2011, 05:58
Has thanked: 644 times
Been thanked: 499 times


Return to Developer's Corner

Who is online

Users browsing this forum: No registered users and 4 guests


Who is online

In total there are 4 users online :: 0 registered, 0 hidden and 4 guests (based on users active over the past 10 minutes)
Most users ever online was 427 on 11 Nov 2019, 13:00

Users browsing this forum: No registered users and 4 guests

Login Form