[b40] Sanctuary cap

Where bugs go to lie down and rest

Moderator: Moderator

Post Reply
Message
Author
lukep
Sher'Tul Godslayer
Posts: 1712
Joined: Mon Mar 14, 2011 10:32 am
Location: Canada

[b40] Sanctuary cap

#1 Post 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.
Some of my tools for helping make talents:
Melee Talent Creator
Annotated Talent Code (incomplete)

Post Reply