Skip to content

Commit b2f6df8

Browse files
committed
turtle-wow: refresh rip duration on ferocious bite
1 parent e079801 commit b2f6df8

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

modules/turtle-wow.lua

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,16 @@ pfUI:RegisterModule("turtle-wow", "vanilla", function ()
3232
end
3333
end
3434

35+
-- refresh rip duration on ferocious bite
36+
local match = string.find(arg1, "Ferocious Bite")
37+
if match and arg2 then
38+
local name = UnitName("target")
39+
local level = UnitLevel("target")
40+
if libdebuff.objects[name] and libdebuff.objects[name][level] and libdebuff.objects[name][level]["Rip"] then
41+
libdebuff:AddEffect(name, level, "Rip")
42+
end
43+
end
44+
3545
-- refresh Immolate duration after cast Conflagrate
3646
local conflagrate = string.find(string.sub(arg1,6,17), "Conflagrate")
3747
--arg2 is spell dmg when it hits, nil when it misses

0 commit comments

Comments
 (0)