Skip to content
Snippets Groups Projects
Commit 0c992275 authored by DarkGod's avatar DarkGod
Browse files

New hook "Actor:startTalentCooldown"

Disabled portal greater vault as it keeps on bugging weirdly
parent fcd03964
No related branches found
No related tags found
No related merge requests found
......@@ -5876,7 +5876,12 @@ function _M:startTalentCooldown(t, v)
self.talents_cd[t.id] = math.max(v, self.talents_cd[t.id] or 0)
else
if not t.cooldown then return end
self.talents_cd[t.id] = self:getTalentCooldown(t)
local cd = self:getTalentCooldown(t)
local hd = {"Actor:startTalentCooldown", t=t, cd=cd}
if self:triggerHook(hd) then cd = hd.cd end
self.talents_cd[t.id] = cd
if t.id ~= self.T_REDUX and self:hasEffect(self.EFF_REDUX) then
local eff = self:hasEffect(self.EFF_REDUX)
......
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