Hi all!
I need some help with the spell list used for ncSpellalert which I'm updating. It currently uses non-localized spell names causing it to only work with enUS and enGB. I have the list below, and I would like some help - because I'm really short on time ATM - to localize it in the following format:
Code:
ncSpellalertDB.HARMFUL_SPELLS = {
[GetSpellInfo(60043)] = 1, -- Lava burst
}
In general terms:
Code:
[GetSpellInfo(ID)] = 1, -- spell name
So how do I do this? Go to
this place and search for the name of the spell/buff you are localizing IN THE "matches exactly" FILTER FIELD. Then run this in the url bar and copy/paste what it the pop-up displays:
javascript:d=search_results_spell;s="";prompt("", ("[GetSpellInfo("+d[0]["id"]+")] = 1, -- "+d[0]["name"]));
Here is the list:
Code:
ncSpellalertDB = {}
ncSpellalertDB.HARMFUL_SPELLS = {
-- Mage
["Polymorph"] = 1,
["Polymorph: Pig"] = 1,
["Polymorph: Turtle"] = 1,
["Frostbolt"] = 1,
["Fireball"] = 1,
["Arcane Blast"] = 1,
["Pyroblast"] = 1,
["Flamestrike"] = 1,
["Frostfire Bolt"] = 1,
["Slow"] = 1,
["Summon Water Elemental"] = 1,
["Scorch"] = 1,
["Mirror Image"] = 1,
-- Shaman
["Lightning Bolt"] = 1,
["Chain Lightning"] = 1,
["Lava Burst"] = 1,
["Mana Tide Totem"] = 1,
["Feral Spirit"] = 1,
-- Warlock
["Fear"] = 1,
["Howl of Terror"] = 1,
["Seduction"] = 1,
["Shadow Bolt"] = 1,
["Seed of Corruption"] = 1,
["Ritual of Summoning"] = 1,
["Soul Fire"] = 1,
["Haunt"] = 1,
["Searing Pain"] = 1,
["Banish"] = 1,
["Chaos Bolt"] = 1,
["Immolate"] = 1,
["Death Coil"] = 1,
["Demonic Circle: Summon"] = 1,
["Unstable Affliction"] = 1,
["Incinerate"] = 1,
["Shadowfury"] = 1,
-- Paladin
["Exorcism"] = 1,
}
ncSpellalertDB.HEALING_SPELLS = {
-- Priest
["Binding Heal"] = 1,
["Circle of Healing"] = 1,
["Lightwell"] = 1,
["Mass Dispel"] = 1,
["Flash Heal"] = 1,
["Greater Heal"] = 1,
["Heal"] = 1,
["Lesser Heal"] = 1,
["Prayer of Healing"] = 1,
["Resurrection"] = 1,
["Divine Hymn"] = 1,
["Hymn of Hope"] = 1,
["Penance"] = 1,
["Desperate Prayer"] = 1,
-- Druid
["Healing Touch"] = 1,
["Regrowth"] = 1,
["Revive"] = 1,
["Rebirth"] = 1,
["Nourish"] = 1,
-- Paladin
["Flash of Light"] = 1,
["Holy Light"] = 1,
["Redemption"] = 1,
["Lay on Hands"] = 1,
-- Shaman
["Chain Heal"] = 1,
["Healing Wave"] = 1,
["Lesser Healing Wave"] = 1,
["Ancestral Spirit"] = 1,
-- Rogue
["Blind"] = 1,
["Shadowstep"] = 1,
["Preparation"] = 1,
}