ToME: the Tales of Maj'Eyal

Calamity crit% descriptions
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:

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

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