ToME: the Tales of Maj'Eyal
http://forums.te4.org/

Calamity crit% descriptions
http://forums.te4.org/viewtopic.php?f=42&t=49002
Page 1 of 1

Author:  visage [ Sun Jun 03, 2018 10:19 pm ]
Post subject:  Calamity crit% descriptions

The code for how much crit chance is lost/gained as a result of a stack from calamity is:

Code:
   getCrit = function(self, t)
      if self:getTalentLevelRaw(t) >= 5 then
         return 2
      elseif self:getTalentLevelRaw(t) >= 3 then
         return 1.5
      else
         return 1
      end
   end,


However, the talent description interpolates with %d%% instead of %0.1f%%, so the difference between 1.5 and 2 is masked. Ranks 4 and 5 display the same value.

Page 1 of 1 All times are UTC
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/