Calamity crit% descriptions

Where bugs go to lie down and rest

Moderator: Moderator

Post Reply
Message
Author
visage
Archmage
Posts: 345
Joined: Fri Jan 10, 2014 4:09 pm

Calamity crit% descriptions

#1 Post by visage »

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

Code: Select all

	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.

Post Reply