ToME: the Tales of Maj'Eyal

Everything about ToME
It is currently Tue Aug 21, 2018 3:52 pm

All times are UTC




Post new topic Reply to topic  [ 1 post ] 
Author Message
PostPosted: Sun Jun 03, 2018 10:19 pm 
Offline
Halfling

Joined: Fri Jan 10, 2014 4:09 pm
Posts: 107
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.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group