I've got a game mechanics question based on spells and how they work.
-
Which is triggered first: the cast event located in the Event Links tab, or the values within the Statistic Modifiers tab? Ie, if I set a global in the cast event that stores the value of an item that is changed within the statistic modifiers tab, will it store the original value or the altered value? Which gets done first?
-
How does the Statistic Modifiers work? Do they change the value of the attribute they effect, or merely add something like a linked list next to the attribute telling the code to treat it differently? Ie, if a person's strength is 18 and a stat modifier reduces it by 2, does the code change the strength to 16 and when the event is removed it changes it back to 18, OR does the strength attribute remain at 18 with a (-2) placed next to it in the code for evaluation purposes, and when the event is removed so is the (-2) link? The documentation states that they apply the value directly to the player's attributes, so I suspec the former method, but I'd like some confirmation if possible.
Thanks
------------------
"Usenet is like a herd of performing elephants with diarrhea --
massive, difficult to redirect, awe-inspiring, entertaining, and a
source of mind-boggling amounts of excrement when you least expect
it." -- Gene Spafford, 1992