From e95c02e98175adeaada7607e63f8d09bb5155833 Mon Sep 17 00:00:00 2001 From: shagu Date: Fri, 10 May 2024 09:24:51 +0200 Subject: [PATCH] thirdparty: add support for superwow spell stops --- modules/thirdparty-vanilla.lua | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/modules/thirdparty-vanilla.lua b/modules/thirdparty-vanilla.lua index 329fd505..1449e28b 100644 --- a/modules/thirdparty-vanilla.lua +++ b/modules/thirdparty-vanilla.lua @@ -835,6 +835,16 @@ pfUI:RegisterModule("thirdparty-vanilla", "vanilla", function() -- write state variable superwow_active = true + elseif arg3 == "FAIL" then + local guid = arg1 + + -- delete all cast entries of guid + libcast.db[guid].cast = nil + libcast.db[guid].rank = nil + libcast.db[guid].start = nil + libcast.db[guid].casttime = nil + libcast.db[guid].icon = nil + libcast.db[guid].channel = nil end end) end)