mirror of
https://github.com/parnic/ice-hud.git
synced 2025-06-16 14:50:13 -05:00
- fixed GCD module to work in all localizations
- also cleaned up space/tab formatting
This commit is contained in:
@ -40,15 +40,15 @@ end
|
||||
|
||||
function GlobalCoolDown.prototype:GetSpellName()
|
||||
local defaultSpells = {
|
||||
ROGUE="Cheap Shot",
|
||||
PRIEST="Renew",
|
||||
DRUID="Rejuvenation",
|
||||
WARRIOR="Battle Shout",
|
||||
MAGE="Frost Armor",
|
||||
WARLOCK="Life Tap",
|
||||
PALADIN="Purify",
|
||||
SHAMAN="Lightning Shield",
|
||||
HUNTER="Serpent Sting"
|
||||
ROGUE=GetSpellInfo(1833), -- cheap shot
|
||||
PRIEST=GetSpellInfo(139), -- renew
|
||||
DRUID=GetSpellInfo(774), -- rejuvenation
|
||||
WARRIOR=GetSpellInfo(6673), -- battle shout
|
||||
MAGE=GetSpellInfo(168), -- frost armor
|
||||
WARLOCK=GetSpellInfo(1454), -- life tap
|
||||
PALADIN=GetSpellInfo(1152), -- purify
|
||||
SHAMAN=GetSpellInfo(324), -- lightning shield
|
||||
HUNTER=GetSpellInfo(1978) -- serpent sting
|
||||
}
|
||||
local _, unitClass = UnitClass("player")
|
||||
return defaultSpells[unitClass]
|
||||
|
Reference in New Issue
Block a user