mirror of
https://github.com/brues-code/pfUI.git
synced 2026-10-06 21:50:00 +00:00
Version 6.1.0 - Raid/Party Frame Fixes
Bugfixes: - Fixed 40-yard range check not working for raid/party frames - Fixed aggro indicator not displaying properly on raid/party frames - Improved aggro cache to only cache positive results for instant detection - Fixed HP/Mana not updating with "Use Raid Frames for group" enabled - Added SuperWoW nil-check for SpellInfo - Added missing events: PARTY_MEMBER_ENABLE, PARTY_MEMBER_DISABLE, PLAYER_UPDATE_RESTING UI Improvements: - Share/Hoverbind buttons now show warning when module is disabled
This commit is contained in:
+4
-1
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user