mirror of
https://github.com/brues-code/pfUI.git
synced 2026-10-03 20:20:01 +00:00
Show spell and unit IDs on tooltips
Add "Show Spell IDs" and "Show Unit IDs" options alongside the existing item-ID line. Spell IDs come from GameTooltip:GetSpell() on spell tooltips and from the aura's spellId on unit-aura tooltips; unit IDs come from C_CreatureInfo.GetCreatureID on the mouseover unit's GUID (skipped for players and guarded when the GUID carries no entry).
This commit is contained in:
@@ -785,6 +785,8 @@ function pfUI:LoadConfig()
|
||||
pfUI:UpdateConfig("tooltip", nil, "itemid", "0")
|
||||
pfUI:UpdateConfig("tooltip", nil, "movespeed", "0")
|
||||
pfUI:UpdateConfig("tooltip", nil, "aurasource", "0")
|
||||
pfUI:UpdateConfig("tooltip", nil, "spellid", "0")
|
||||
pfUI:UpdateConfig("tooltip", nil, "unitid", "0")
|
||||
pfUI:UpdateConfig("tooltip", nil, "showbuffs", "0")
|
||||
pfUI:UpdateConfig("tooltip", nil, "alpha", "0.8")
|
||||
pfUI:UpdateConfig("tooltip", nil, "alwaysperc", "0")
|
||||
|
||||
Reference in New Issue
Block a user