mirror of
https://github.com/brues-code/pfUI.git
synced 2026-10-25 05:20:49 +00:00
libcast: handle interrupts correctly
This commit is contained in:
+4
-4
@@ -274,12 +274,12 @@ libcast:SetScript("OnEvent", function()
|
|||||||
if libcast:RemoveAction(mob, spell) then return end
|
if libcast:RemoveAction(mob, spell) then return end
|
||||||
|
|
||||||
-- You interrupt (.+)'s (.+).
|
-- You interrupt (.+)'s (.+).
|
||||||
mob, spell = cmatch(arg1, SPELLINTERRUPTSELFOTHER)
|
mob, _ = cmatch(arg1, SPELLINTERRUPTSELFOTHER)
|
||||||
if libcast:RemoveAction(mob, spell) then return end
|
if libcast:RemoveAction(mob, "INTERRUPT") then return end
|
||||||
|
|
||||||
-- (.+) interrupts (.+)'s (.+).
|
-- (.+) interrupts (.+)'s (.+).
|
||||||
_, mob, spell = cmatch(arg1, SPELLINTERRUPTOTHEROTHER)
|
_, mob, _ = cmatch(arg1, SPELLINTERRUPTOTHEROTHER)
|
||||||
if libcast:RemoveAction(mob, spell) then return end
|
if libcast:RemoveAction(mob, "INTERRUPT") then return end
|
||||||
end
|
end
|
||||||
end)
|
end)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user