[b40] Sanctuary cap
Posted: Sun May 27, 2012 3:41 am
The hard cap on Sanctuary (gloom skill for Cursed) does not look like it would work.
should be:
as the number returned is negative.
Code: Select all
getDamageChange = function(self, t)
return math.min(35, -math.sqrt(self:getTalentLevel(t)) * 11)
end,
Code: Select all
getDamageChange = function(self, t)
return math.max(-35, -math.sqrt(self:getTalentLevel(t)) * 11)
end,