Skip to content

Commit

Permalink
Just use the Enum value
Browse files Browse the repository at this point in the history
  • Loading branch information
nebularg committed Sep 8, 2022
1 parent 9455b79 commit 50ed5cf
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Modules/AltManaBar/AltManaBar.lua
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ PitBull4_AltManaBar:SetDefaults({
})

-- constants
local SPELL_POWER_MANA = 0 -- Enum.PowerType.Mana
local SPELL_POWER_MANA = Enum.PowerType.Mana

-- cached power type for optimization
local power_type = nil
Expand Down
2 changes: 1 addition & 1 deletion Modules/ComboPoints/ComboPoints.lua
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ local is_druid = player_class == "DRUID"

local BASE_TEXTURE_PATH = [[Interface\AddOns\PitBull4\Modules\ComboPoints\]]

local SPELL_POWER_COMBO_POINTS = 4 -- Enum.PowerType.ComboPoints
local SPELL_POWER_COMBO_POINTS = Enum.PowerType.ComboPoints

local TEXTURES = {
default = L["Default"],
Expand Down
2 changes: 1 addition & 1 deletion Modules/Runes/Runes.lua
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ local L = PitBull4.L
local RUNE_IDS = { 1, 2, 5, 6, 3, 4 } -- for some ungodly reason, unholy and frost are switched.
local NUM_RUNES = #RUNE_IDS

local SPELL_POWER_RUNES = 5 -- Enum.PowerType.Runes
local SPELL_POWER_RUNES = Enum.PowerType.Runes

local STANDARD_SIZE = 15
local BORDER_SIZE = 3
Expand Down

0 comments on commit 50ed5cf

Please sign in to comment.