Posted by oxylectrix on Thu, 11 Nov 2010 11:50:34
I think I have noticed a small error in the Second Edition book, Chapter 14, Page 276.
In the "CombatTracker_OnEvent" function...
When setting the
total_timevariable the line states the following -
total_time = math.mind
(end_time - start_time, 1)
I believe it's supposed to read -
total_time = math.min(end_time - start_time, 1)
I apologize if I am reprinting this error but I was unable to find any reference to it on the site by searching. :-)
Posted by jnwhiteh on Thu, 11 Nov 2010 12:00:25
Absolutely correct, I've added this to the known Errata List. Thank you!
Posted by LH on Wed, 29 Dec 2010 01:45:27
Should not be here math.max(something, 1) rather then math.min(something, 1) to avoid possible resulting 0? Sorry if I'm wrong.
Posted by jnwhiteh on Mon, 03 Jan 2011 11:08:38
Absolutely correct, updated.