mirror of
https://github.com/parnic/ice-hud.git
synced 2025-06-16 22:51:53 -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()
|
function GlobalCoolDown.prototype:GetSpellName()
|
||||||
local defaultSpells = {
|
local defaultSpells = {
|
||||||
ROGUE="Cheap Shot",
|
ROGUE=GetSpellInfo(1833), -- cheap shot
|
||||||
PRIEST="Renew",
|
PRIEST=GetSpellInfo(139), -- renew
|
||||||
DRUID="Rejuvenation",
|
DRUID=GetSpellInfo(774), -- rejuvenation
|
||||||
WARRIOR="Battle Shout",
|
WARRIOR=GetSpellInfo(6673), -- battle shout
|
||||||
MAGE="Frost Armor",
|
MAGE=GetSpellInfo(168), -- frost armor
|
||||||
WARLOCK="Life Tap",
|
WARLOCK=GetSpellInfo(1454), -- life tap
|
||||||
PALADIN="Purify",
|
PALADIN=GetSpellInfo(1152), -- purify
|
||||||
SHAMAN="Lightning Shield",
|
SHAMAN=GetSpellInfo(324), -- lightning shield
|
||||||
HUNTER="Serpent Sting"
|
HUNTER=GetSpellInfo(1978) -- serpent sting
|
||||||
}
|
}
|
||||||
local _, unitClass = UnitClass("player")
|
local _, unitClass = UnitClass("player")
|
||||||
return defaultSpells[unitClass]
|
return defaultSpells[unitClass]
|
||||||
|
Reference in New Issue
Block a user