Thread Tools Display Modes
02-10-10, 01:08 PM   #1
nightcracker
A Molten Giant
 
nightcracker's Avatar
AddOn Author - Click to view addons
Join Date: Sep 2009
Posts: 716
ncSpellalert spells list

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,
}
__________________
Three things are certain,
Death, taxes and site not found,
You, victim of one.

Last edited by nightcracker : 02-11-10 at 09:07 AM.
  Reply With Quote
02-10-10, 01:30 PM   #2
Diagnostics
Medic!
 
Diagnostics's Avatar
Premium Member
Join Date: Jul 2009
Posts: 71
Different ranks are returning different ID's using wowhead. That still ok?
__________________
  Reply With Quote
02-10-10, 01:36 PM   #3
nightcracker
A Molten Giant
 
nightcracker's Avatar
AddOn Author - Click to view addons
Join Date: Sep 2009
Posts: 716
Originally Posted by Diagnostics View Post
Different ranks are returning different ID's using wowhead. That still ok?
Ranks doesn't matter. That's OK. But look in the first post, I have a new script which is WAAAAAAY easier.
__________________
Three things are certain,
Death, taxes and site not found,
You, victim of one.
  Reply With Quote
02-10-10, 01:48 PM   #4
Diagnostics
Medic!
 
Diagnostics's Avatar
Premium Member
Join Date: Jul 2009
Posts: 71
Code:
--Priest
[GetSpellInfo(605)] = 1, -- Mind Control
[GetSpellInfo(13860)] = 1, -- Mind Blast
[GetSpellInfo(7140)] = 1, -- Holy Fire
[GetSpellInfo(13704)] = 1, -- Psychic Scream
[GetSpellInfo(11444)] = 1, -- Shackle Undead
[GetSpellInfo(64044)] = 1, -- Psychic Horror
[GetSpellInfo(8129)] = 1, -- Mana Burn
[GetSpellInfo(35155)] = 1, -- Smite
[GetSpellInfo(34919)] = 1, -- Vampiric Touch
[GetSpellInfo(32000)] = 1, -- Mind Sear
[GetSpellInfo(11639)] = 1, -- Shadow Word Pain
There is the Priest done. I added Shadow Word: Pain, wasn't on your list. If its not needed you can just delete it, lol.
__________________
  Reply With Quote
02-10-10, 02:01 PM   #5
Diagnostics
Medic!
 
Diagnostics's Avatar
Premium Member
Join Date: Jul 2009
Posts: 71
Code:
	-- Druid
	[GetSpellInfo(11922)] = 1, -- Entangling Roots
	[GetSpellInfo(33786)] = 1, -- Cyclone
	[GetSpellInfo(9739)] = 1, -- Wrath
	[GetSpellInfo(21668)] = 1, -- Starfire

	-- Deathknight
	[GetSpellInfo(47528)] = 1, -- Mind Freeze
	[GetSpellInfo(42650)] = 1, -- Army of the Dead
	[GetSpellInfo(47476)] = 1, -- Strangulate
	[GetSpellInfo(53570)] = 1, -- Hungering Cold
	
	-- Hunter
	[GetSpellInfo(3034)] = 1, -- Viper Sting
	[GetSpellInfo(24335)] = 1, -- Wyvern Sting
	[GetSpellInfo(34490)] = 1, -- Silencing Shot
	[GetSpellInfo(19503)] = 1, -- Scatter Shot
__________________
  Reply With Quote
02-10-10, 04:59 PM   #6
Diagnostics
Medic!
 
Diagnostics's Avatar
Premium Member
Join Date: Jul 2009
Posts: 71
Ill work on some more later. Gotta study!
__________________
  Reply With Quote

WoWInterface » AddOns, Compilations, Macros » Released AddOns » ncSpellalert spells list


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off