--[[
LibPlayerSpells-1.0 - Additional information about player spells.
(c) 2013-2021 Adirelle (adirelle@gmail.com)

This file is part of LibPlayerSpells-1.0.

LibPlayerSpells-1.0 is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

LibPlayerSpells-1.0 is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with LibPlayerSpells-1.0. If not, see <http://www.gnu.org/licenses/>.
--]]

local lib = LibStub('LibPlayerSpells-1.0', true)
if not lib then return end
lib:__RegisterSpells('RACIAL', 100000, 1, {
	COOLDOWN = {
		  7744, -- Will of the Forsaken (Undead)
		 20589, -- Escape Artist (Gnome)
		 59752, -- Every Man for Himself (Human)
		 69041, -- Rocket Barrage (Goblin)
		 69046, -- Pack Hobgoblin (Goblin)
		 69070, -- Rocket Jump (Goblin)
		255647, -- Light's Judgement (Lightforged Draenei)
		255661, -- Cantrips (Nightborne)
		259930, -- Forge of Light (Lightforged Draenei)
		357214, -- Wing Buffet (Drachtyr)
		368970, -- Tail Swipe (Drachtyr)
		DISPEL = {
			PERSONAL = {
				[ 20594] = 'CURSE DISEASE MAGIC POISON', -- Stoneform (Dwarf) -- NOTE: bleeds currently not tracked
				[265221] = 'CURSE DISEASE MAGIC POISON', -- Fireblood (Dark Iron Dwarf) -- NOTE: bleeds currently not tracked
			},
			HARMFUL = {
				MAGIC = {
					 25046, -- Arcane Torrent (Blood elf Rogue)
					 28730, -- Arcane Torrent (Blood elf Mage/Warlock)
					 50613, -- Arcane Torrent (Blood elf Death Knight)
					 69179, -- Arcane Torrent (Blood elf Warrior)
					 80483, -- Arcane Torrent (Blood elf Hunter)
					129597, -- Arcane Torrent (Blood elf Monk)
					155145, -- Arcane Torrent (Blood elf Paladin)
					202719, -- Arcane Torrent (Blood elf Demon Hunter)
					232633, -- Arcane Torrent (Blood elf Priest)
				},
			},
		},
		AURA = {
			PERSONAL = {
				 20578, -- Cannibalize (Undead)
				 26297, -- Berserking (Troll)
				 20572, -- Blood Fury (Orc attack power)
				 33697, -- Blood Fury (Orc both)
				 33702, -- Blood Fury (Orc spell power)
				 58984, -- Shadowmeld (Night elf)
				 65116, -- Stoneform (Dwarf)
				 68992, -- Darkflight (Worgen)
				256948, -- Spatial Rift (Void elf)
				273104, -- Fireblood (Dark Iron dwarf)
				274739, -- Rictus of the Laughing Skull (Mag'har Orc)
				274740, -- Zeal of the Burning Blade (Mag'har Orc)
				274741, -- Ferocity of the Frostwolf (Mag'har Orc)
				274742, -- Might of the Blackrock (Mag'har Orc)
				310143, -- Soulshape (Nightfae signature ability)
				323491, -- Volatile Solvent: Humanoid (Necrolord coventant ability)
				323524, -- Ultimate Form (Necrolord covenant ability)
				324631, -- Fleshcraft (Necrolord signature ability)
				331868, -- Fancy Footwork (Ventyr coventant ability)
				369536, -- Soar (Drachtyr)
			},
			HELPFUL = {
				 28880, -- Gift of the Naaru (Draenei Warrior)
				 59542, -- Gift of the Naaru (Draenei Paladin)
				 59543, -- Gift of the Naaru (Draenei Hunter)
				 59544, -- Gift of the Naaru (Draenei Priest)
				 59545, -- Gift of the Naaru (Draenei Death Knight)
				 59547, -- Gift of the Naaru (Draenei Shaman)
				 59548, -- Gift of the Naaru (Draenei Mage)
				121093, -- Gift of the Naaru (Draenei Monk)
			},
			HARMFUL = {
				[260369] = 'SNARE', -- Arcane Pulse (Nightborne)
				CROWD_CTRL = {
					[107079] = 'INCAPACITATE', -- Quaking Palm (Monk)
					[331866] = 'DISORIENT', -- Agent of Chaos (Venthyr coventant ability)
					STUN = {
						 20549, -- War Stomp (Tauren)
						255723, -- Bull Rush (Highmountain Tauren)
					},
				},
			},
		},
	},
	AURA = {
		PERSONAL = {
			 87840, -- Running Wild (Worgen)
			372014, -- Visage (Drachtyr)
		},
	},
}, {
	-- map aura to provider(s)
	[ 20578] =  20577, -- Cannibalize (Undead)
	[ 65116] =  20594, -- Stone Form (Dwarf)
	[255723] = 255654, -- Bull Rush (Highmountain Tauren)
	[260369] = 260364, -- Arcane Pulse (Nightborne)
	[273104] = 265221, -- Fireblood (Dark Iron dwarf)
	[274739] = 274738, -- Rictus of the Laughing Skull <- Ancestral Call (Mag'har Orc)
	[274740] = 274738, -- Zeal of the Burning Blade <- Ancestral Call (Mag'har Orc)
	[274741] = 274738, -- Ferocity of the Frostwolf <- Ancestral Call (Mag'har Orc)
	[274742] = 274738, -- Might of the Blackrock <- Ancestral Call (Mag'har Orc)
	[323491] = 323074, -- Volatile Solvent: Humanoid <- Volatile Solvent (Necrolord coventant ability)
	[323524] = 323095, -- Ultimate Form (Necrolord ability)
	[331866] = 331576, -- Agent of Chaos (Venthyr Door of Shadows)
	[331868] = 331577, -- Fancy Footwork (Venthyr Ability)
	[372014] = 351239, -- Visage (Drachtyr)
}, {
	-- map aura to modified spell(s)
	[256948] = 257040, -- Spatial Rift (Void elf)
	[323524] = 324631, -- Ultimate Form -> Fleshcraft (Necrolord coventant ability)
	[331866] = 300728, -- Agent of Chaos -> Door of Shadows (Venthyr coventant ability)
	[331868] = 300728, -- Fancy Footwork -> Door of Shadows (Venthyr coventant ability)
})
