You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
195 lines
7.7 KiB
195 lines
7.7 KiB
--- ============================ HEADER ============================
|
|
--- ======= LOCALIZE =======
|
|
-- Addon
|
|
local addonName, addonTable = ...
|
|
-- HeroDBC
|
|
local DBC = HeroDBC.DBC
|
|
-- HeroLib
|
|
local HL = HeroLib
|
|
local Cache = HeroCache
|
|
local Unit = HL.Unit
|
|
local Player = Unit.Player
|
|
local Target = Unit.Target
|
|
local Pet = Unit.Pet
|
|
local Spell = HL.Spell
|
|
local MultiSpell = HL.MultiSpell
|
|
local Item = HL.Item
|
|
local MergeTableByKey = HL.Utils.MergeTableByKey
|
|
-- HeroRotation
|
|
local HR = HeroRotation
|
|
|
|
--- ============================ CONTENT ============================
|
|
|
|
-- Spells
|
|
if not Spell.Priest then Spell.Priest = {} end
|
|
Spell.Priest.Commons = {
|
|
-- Racials
|
|
AncestralCall = Spell(274738),
|
|
ArcanePulse = Spell(260364),
|
|
ArcaneTorrent = Spell(50613),
|
|
BagofTricks = Spell(312411),
|
|
Berserking = Spell(26297),
|
|
BerserkingBuff = Spell(26297),
|
|
BloodFury = Spell(20572),
|
|
BloodFuryBuff = Spell(20572),
|
|
Fireblood = Spell(265221),
|
|
LightsJudgment = Spell(255647),
|
|
-- Abilities
|
|
DeathAndMadness = Spell(321291),
|
|
DesperatePrayer = Spell(19236),
|
|
HolyNova = Spell(132157), -- Melee, 12
|
|
MindBlast = Spell(8092),
|
|
MindSear = Spell(48045), -- Splash, 10
|
|
PowerInfusion = Spell(10060),
|
|
PowerInfusionBuff = Spell(10060),
|
|
PowerWordFortitude = Spell(21562),
|
|
ShadowWordDeath = Spell(32379),
|
|
ShadowWordPain = Spell(589),
|
|
ShadowWordPainDebuff = Spell(589),
|
|
Smite = Spell(585),
|
|
-- Talents
|
|
Mindgames = Spell(375901),
|
|
Shadowfiend = Spell(34433),
|
|
-- Buffs
|
|
PowerWordFortitudeBuff = Spell(21562),
|
|
-- Debuffs
|
|
-- Covenant Abilities
|
|
AscendedNova = Spell(325020), -- Melee, 8
|
|
BoonoftheAscended = Spell(325013),
|
|
BoonoftheAscendedBuff = Spell(325013),
|
|
FaeGuardians = Spell(327661),
|
|
FaeGuardiansBuff = Spell(327661),
|
|
Fleshcraft = Spell(324631),
|
|
MindgamesCov = Spell(323673),
|
|
UnholyNova = Spell(324724), -- Melee, 15
|
|
WrathfulFaerieDebuff = Spell(342132),
|
|
-- Soulbind Abilities
|
|
FieldofBlossoms = Spell(319191),
|
|
GroveInvigoration = Spell(322721),
|
|
PustuleEruption = Spell(351094),
|
|
VolatileSolvent = Spell(323074),
|
|
VolatileSolventHumanBuff = Spell(323491),
|
|
-- Trinket Effects
|
|
ScarsofFraternalStrifeBuff4 = Spell(368638),
|
|
-- Other Item Effects
|
|
TemptationBuff = Spell(234143),
|
|
-- Other
|
|
Pool = Spell(999910)
|
|
}
|
|
Spell.Priest.Shadow = MergeTableByKey(Spell.Priest.Commons, {
|
|
-- Base Spells
|
|
MindFlay = Spell(15407),
|
|
Shadowform = Spell(232698),
|
|
VampiricTouch = Spell(34914),
|
|
VoidBolt = Spell(205448),
|
|
VoidEruption = Spell(228260), -- Splash, 10
|
|
-- Talents
|
|
AncientMadness = Spell(341240),
|
|
Damnation = Spell(341374),
|
|
DarkAscension = Spell(391109),
|
|
DarkVoid = Spell(263346),
|
|
DeathSpeaker = Spell(392507),
|
|
DevouringPlague = Spell(335467),
|
|
Dispersion = Spell(47585),
|
|
DistortedReality = Spell(409044),
|
|
DivineStar = Spell(122121),
|
|
FortressOfTheMind = Spell(193195),
|
|
Halo = Spell(120644),
|
|
HungeringVoid = Spell(345218),
|
|
IdolOfCthun = Spell(377349),
|
|
InescapableTorment = Spell(373427),
|
|
MentalDecay = Spell(375994),
|
|
Mindbender = Spell(200174),
|
|
MindDevourer = Spell(373202),
|
|
MindFlayInsanity = Spell(391403),
|
|
MindFlayInsanityTalent = Spell(391399),
|
|
MindMelt = Spell(391090),
|
|
MindSpike = Spell(73510),
|
|
MindSpikeInsanity = Spell(407466),
|
|
Misery = Spell(238558),
|
|
PsychicLink = Spell(199484),
|
|
ScreamsOfTheVoid = Spell(375767),
|
|
SearingNightmare = Spell(341385), -- Splash, 10
|
|
ShadowCrash = Spell(205385), -- Splash, 8
|
|
ShadowyInsight = Spell(375981),
|
|
Silence = Spell(15487),
|
|
SurgeOfDarkness = Spell(162448),
|
|
SurrenderToMadness = Spell(319952),
|
|
TwistofFate = Spell(109142),
|
|
UnfurlingDarkness = Spell(341273),
|
|
VoidTorrent = Spell(263165),
|
|
WhisperingShadows = Spell(406777),
|
|
-- Buffs
|
|
DarkAscensionBuff = Spell(391109),
|
|
DarkThoughtBuff = Spell(341207),
|
|
DeathspeakerBuff = Spell(392511),
|
|
MindDevourerBuff = Spell(373204),
|
|
MindFlayInsanityBuff = Spell(391401),
|
|
ShadowformBuff = Spell(232698),
|
|
ShadowyInsightBuff = Spell(375981),
|
|
SurgeOfDarknessBuff = Spell(87160),
|
|
UnfurlingDarknessBuff = Spell(341282),
|
|
VoidformBuff = Spell(194249),
|
|
-- Debuffs
|
|
DevouringPlagueDebuff = Spell(335467),
|
|
HungeringVoidDebuff = Spell(345219),
|
|
VampiricTouchDebuff = Spell(34914),
|
|
-- Tier Set Effects
|
|
DarkReveriesBuff = Spell(394963),
|
|
GatheringShadowsBuff = Spell(394961),
|
|
})
|
|
|
|
Spell.Priest.Discipline = MergeTableByKey(Spell.Priest.Commons, {
|
|
-- Base Spells
|
|
Penance = Spell(47540),
|
|
PowerWordRadiance = Spell(194509),
|
|
-- Talents
|
|
DivineStar = Spell(110744),
|
|
Schism = Spell(214621),
|
|
Mindbender = MultiSpell(123040, 34433),
|
|
PowerWordSolace = Spell(129250),
|
|
ShadowCovenant = Spell(314867),
|
|
ShadowCovenantBuff = Spell(322105),
|
|
PurgeTheWicked = Spell(204197),
|
|
PurgeTheWickedDebuff = Spell(204213),
|
|
Halo = Spell(120517),
|
|
SpiritShell = Spell(109964),
|
|
-- Covenant Abilities
|
|
AscendedBlast = Spell(325315),
|
|
})
|
|
|
|
Spell.Priest.Holy = MergeTableByKey(Spell.Priest.Commons, {
|
|
-- Base Spells
|
|
HolyFire = Spell(14914),
|
|
HolyFireDebuff = Spell(14914),
|
|
HolyWordChastise = Spell(88625),
|
|
-- Talents
|
|
Apotheosis = Spell(200183),
|
|
DivineStar = Spell(110744),
|
|
Halo = Spell(120517),
|
|
})
|
|
|
|
-- Items
|
|
if not Item.Priest then Item.Priest = {} end
|
|
Item.Priest.Commons = {
|
|
-- Trinkets
|
|
BeacontotheBeyond = Item(203963, {13, 14}),
|
|
DesperateInvokersCodex = Item(194310, {13, 14}),
|
|
DMDDance = Item(198088, {13, 14}),
|
|
DMDDanceBox = Item(198478, {13, 14}),
|
|
DMDInferno = Item(198086, {13, 14}),
|
|
DMDInfernoBox = Item(194872, {13, 14}),
|
|
DMDRime = Item(198087, {13, 14}),
|
|
DMDRimeBox = Item(198477, {13, 14}),
|
|
EruptingSpearFragment = Item(193769, {13, 14}),
|
|
VoidmendersShadowgem = Item(110007, {13, 14}),
|
|
}
|
|
|
|
Item.Priest.Shadow = MergeTableByKey(Item.Priest.Commons, {
|
|
})
|
|
|
|
Item.Priest.Discipline = MergeTableByKey(Item.Priest.Commons, {
|
|
})
|
|
|
|
Item.Priest.Holy = MergeTableByKey(Item.Priest.Commons, {
|
|
})
|
|
|