Page 1 of 1

[b40] Sanctuary cap

Posted: Sun May 27, 2012 3:41 am
by lukep
The hard cap on Sanctuary (gloom skill for Cursed) does not look like it would work.

Code: Select all

	getDamageChange = function(self, t)
		return math.min(35, -math.sqrt(self:getTalentLevel(t)) * 11)
	end,
should be:

Code: Select all

	getDamageChange = function(self, t)
		return math.max(-35, -math.sqrt(self:getTalentLevel(t)) * 11)
	end,
as the number returned is negative.