I'm not quite sure where to post this or if it's been menioned before but.. should the function stats_IncVariable(varName: String, value: Integer) be changed so that 'value' is an extended type? This would encompass experience points with decimals.
Otherwise, I'll quite happily round my decimal to an integer