It is currently 23 Apr 2024, 14:53
   
Text Size

Strings vs things in auto-yield and ability ordering

Post MTG Forge Related Programming Questions Here

Moderators: timmermac, Blacksmith, KrazyTheFox, Agetian, friarsol, 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: 3472
Joined: 14 Mar 2011, 05:58
Has thanked: 677 times
Been thanked: 561 times


Return to Developer's Corner

Who is online

Users browsing this forum: No registered users and 39 guests


Who is online

In total there are 39 users online :: 0 registered, 0 hidden and 39 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 39 guests

Login Form