Skip to content
Snippets Groups Projects
Commit 2e1ba0cb authored by DarkGod's avatar DarkGod
Browse files

Bone Shield displays current and max charges on the icon

parent 75057ee4
No related branches found
No related merge requests found
......@@ -132,6 +132,11 @@ newTalent{
direct_hit = true,
getNb = function(self, t) return math.floor(self:combatTalentScale(t, 1, 5)) end,
getRegen = function(self, t) return math.max(math.floor(30 / t.getNb(self, t)), 3) end,
iconOverlay = function(self, t, p)
local p = self.sustain_talents[t.id]
if not p or not p.nb then return "" end
return p.nb.."/"..t.getNb(self, t), "buff_font_smaller"
end,
callbackOnRest = function(self, t)
local nb = t.getNb(self, t)
local p = self.sustain_talents[t.id]
......
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