Skip to content
Snippets Groups Projects
Commit 1af8fc9b authored by DarkGod's avatar DarkGod
Browse files

Fixed Defiling Touch 6+

parent e57d9896
No related branches found
No related tags found
No related merge requests found
......@@ -53,7 +53,7 @@ newTalent{
-- mainhand (weapon), offhand (weapon/armor;shield), psionic (weapon)
-- finger (X2), neck (jewelry)
-- lite (lite), tool (tool), quiver (ammo), gem (alchemist-gem)
level = level or self:getTalentLevelRaw(t)
level = level or self:getTalentLevel(t)
if level >= 1 and item.type == "weapon" then return true end
if level >= 2 and item.type == "armor" and (item.slot == "BODY" or item.slot == "CLOAK") then return true end
if level >= 3 and item.type == "armor" and (item.slot == "HEAD" or item.slot == "OFFHAND") then return true end
......@@ -232,6 +232,8 @@ newTalent{
end
end
end,
passives = function(self, t, p) -- force update on talent mastery changes
end,
on_learn = function(self, t)
t.curseInventory(self, t)
t.curseFloor(self, t, self.x, self.y)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment