revert of deletion and merged hotfixes

Please read the Readme for more details.
This commit is contained in:
Meow
2026-01-05 09:06:08 +01:00
parent 01f9947e3f
commit c259e9b59d
92 changed files with 941 additions and 376 deletions
+4 -1
View File
@@ -1,4 +1,4 @@
pfUI:RegisterModule("totems", "vanilla", function ()
pfUI:RegisterModule("totems", "vanilla:tbc", function ()
local _, class = UnitClass("player")
local slots = {
@@ -42,6 +42,9 @@ pfUI:RegisterModule("totems", "vanilla", function ()
-- Try to recast totem on left click in vanilla
local active, name, start, duration, icon = GetTotemInfo(this.id)
if name then CastSpellByName(name) end
elseif pfUI.client > 11200 and this.id and arg1 and arg1 == "RightButton" then
-- Try to cancel totem on right click in tbc+
DestroyTotem(this.id)
end
end