Revert "Merge pull request #78 from me0wg4ming/revert-77-sp-haste-display"

This reverts commit 791feed6d0, reversing
changes made to 054149f0e2.
This commit is contained in:
Meow
2026-03-01 02:13:25 +01:00
parent 791feed6d0
commit b0f6984f22
13 changed files with 237 additions and 11 deletions
+14 -1
View File
@@ -2264,6 +2264,19 @@ pfUI:RegisterModule("gui", "vanilla:tbc", function ()
CreateConfig(U[c], T["Rage Color"], C.unitframes[c], "ragecolor", "color")
CreateConfig(U[c], T["Energy Color"], C.unitframes[c], "energycolor", "color")
CreateConfig(U[c], T["Focus Color"], C.unitframes[c], "focuscolor", "color")
if c == "player" then
CreateConfig(U[c], T["Player SP/Haste Display"], nil, nil, "header")
CreateConfig(U[c], T["Haste Display"], C.unitframes[c], "display_haste", "dropdown", {
"0:"..T["None"],
"1:"..T["Haste (cast speed increase)"],
"2:"..T["Effective Haste (Haste * cast time reduction)"], -- Only affects mages/warlocks I believe
})
CreateConfig(U[c], T["Haste Display Color"], C.unitframes[c], "display_haste_color", "color")
CreateConfig(U[c], T["Display Spell Power"], C.unitframes[c], "display_spellpower", "checkbox")
CreateConfig(U[c], T["Use Custom Spell Power Color (unchecked = biggest school color)"], C.unitframes[c], "display_sp_color_override", "checkbox")
CreateConfig(U[c], T["Spell Power Color"], C.unitframes[c], "display_sp_color", "color")
end
end)
end
@@ -2839,4 +2852,4 @@ pfUI:RegisterModule("gui", "vanilla:tbc", function ()
end
end)
end
end)
end)