It is currently 24 Jul 2019, 09: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: 3341
Joined: 14 Mar 2011, 05:58
Has thanked: 641 times
Been thanked: 495 times


Return to Developer's Corner

Who is online

Users browsing this forum: No registered users and 6 guests


Who is online

In total there are 6 users online :: 0 registered, 0 hidden and 6 guests (based on users active over the past 10 minutes)
Most users ever online was 287 on 31 Mar 2019, 04:11

Users browsing this forum: No registered users and 6 guests

Login Form