Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Battle for Azeroth Priest #132

Merged
merged 10 commits into from
Jul 10, 2018
342 changes: 170 additions & 172 deletions data/Priest.lua
Original file line number Diff line number Diff line change
Expand Up @@ -15,215 +15,213 @@ 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/>.
along with LibPlayerSpells-1.0. If not, see <http://www.gnu.org/licenses/>.
--]]

local lib = LibStub("LibPlayerSpells-1.0")
local lib = LibStub('LibPlayerSpells-1.0')
if not lib then return end
lib:__RegisterSpells("PRIEST", 70300, 1, {
[528] = "HARMFUL DISPEL MAGIC", -- Dispel Magic
lib:__RegisterSpells('PRIEST', 80000, 1, {
COOLDOWN = {
2050, -- Holy Word: Serenity
8092, -- Mind Blast
34433, -- Shadowfiend
34861, -- Holy Word: Sanctify
47540, -- Penance
2050, -- Holy Word: Serenity (Holy)
8092, -- Mind Blast (Shadow)
32379, -- Shadow Word: Death (Shadow talent)
34433, -- Shadowfiend (Discipline/Shadow)
34861, -- Holy Word: Sanctify (Holy)
73325, -- Leap of Faith
110744, -- Divine Star
120517, -- Halo
129250, -- Power Word: Solace
194509, -- Power Word: Radiance
204883, -- Circle of Healing
205351, -- Shadow Word: Void
205385, -- Shadow Clash
207946, -- Light's Wrath (Discipline artifact)
246287, -- Evangelism
[123040] = "POWER_REGEN", -- Mindbender (Discipline)
[200174] = "POWER_REGEN", -- Mindbender (Shadow)
DISPEL = {
[ 527] = "HELPFUL DISEASE MAGIC", -- Purify
[ 32375] = "HARMFUL HELPFUL MAGIC", -- Mass Dispel
[213634] = "HELPFUL DISEASE", -- Purify Disease
},
108968, -- Void Shift (Shadow honor talent)
110744, -- Divine Star (Discipline/Holy talent)
120517, -- Halo (Discipline/Holy talent)
123040, -- Mindbender (Discipline talent)
129250, -- Power Word: Solace (Discipline talent)
204883, -- Circle of Healing (Holy talent)
205351, -- Shadow Word: Void (Shadow talent)
205385, -- Shadow Crash (Shadow talent)
205448, -- Void Bolt (Shadow)
209780, -- Premonition (Discipline honor talent)
246287, -- Evangelism (Discipline talent)
263346, -- Dark Void (Shadow talent)
265202, -- Holy Word: Salvation (Holy talent)
280711, -- Dark Ascension (Shadow talent)
[ 15487] = 'INTERRUPT', -- Silence (Shadow)
AURA = {
HELPFUL = {
17, -- Power Word: Shield
33076, -- Prayer of Mending
62618, -- Power Word: Barrier
64843, -- Divine Hymn (hot)
64844, -- Divine Hymn (heal increase)
65081, -- Body and Soul
73325, -- Leap of Faith
121557, -- Angelic Feather
196356, -- Trust in the Light (Holy artifact)
208065, -- Light of T'uure (Holy artifact)
214121, -- Body and Mind
240673, -- Mind Quickening (Shadow artifact)
SURVIVAL = {
33206, -- Pain Suppression
47788, -- Guardian Spirit
81782, -- Power Word: Barrier
},
},
HARMFUL = {
14914, -- Holy Fire
15487, -- Silence -- NOTE: non-players only INTERRUPT, special case
205065, -- Void Torrent (Shadow artifact)
205369, -- Mind Bomb
214621, -- Schism
[204263] = "SNARE", -- Shininig Force (slow)
14914, -- Holy Fire (Holy)
205369, -- Mind Bomb (Shadow talent)
214621, -- Schism (Discipline talent)
263165, -- Void Torrent (Shadow talent)
CROWD_CTRL = {
[ 8122] = "DISORIENT", -- Psychic Scream (disorient)
[200196] = "INCAPACITATE", -- Holy Word: Chastise (incapacitate)
[200196] = 'INCAPACITATE', -- Holy Word: Chastise
DISORIENT = {
8122, -- Psychic Scream
226943, -- Mind Bomb (Shadow talent)
},
STUN = {
200200, -- Holy Word: Chastise (with Censure) (stun)
226943, -- Mind Bomb (stun)
64044, -- Psychic Horror (Shadow talent)
200200, -- Holy Word: Chastise (Holy talent)
},
},
SNARE = {
199845, -- Psyflay (Shadow honor talent)
[204263] = 'KNOCKBACK', -- Shining Force (Discipline/Holy talent)
},
},
PERSONAL = {
15286, -- Vampiric Embrace
64901, -- Symbol of Hope
194022, -- Mental Fortitude (Shadow artifact)
194025, -- Thrive in the Shadows (Shadow artifact)
196490, -- Power of the Naaru (Holy artifact)
197030, -- Divinity
197767, -- Speed of the Pious (Discipline artifact)
200183, -- Apotheosis
210027, -- Share in the Light (Discipline artifact)
[212570] = "INVERT_AURA", -- Surrendered Soul
HELPFUL = {
17, -- Power Word: Shield (Discipline/Shadow)
41635, -- Prayer of Mending (Holy)
64844, -- Divine Hymn (Holy)
121557, -- Angelic Feather (Discipline/Holy talent)
196440, -- Purified Resolve (Discipline honor talent)
213610, -- Holy Ward (Holy honor talent)
232707, -- Ray of Hope (Holy honor talent)
[ 64901] = 'POWER_REGEN', -- Symbol of Hope (Holy)
[219521] = 'INVERT_AURA', -- Shadow Covenant (Discipline talent)
BURST = {
197874, -- Dark Archangel (Discipline honor talent)
},
SURVIVAL = {
586, -- Fade
19236, -- Desperate Prayer
47585, -- Dispersion
216135, -- Vestments of Discipline (Discipline artifact)
33206, -- Pain Suppression (Discipline)
47788, -- Guardian Spirit (Holy)
81782, -- Power Word: Barrier (Discipline)
271466, -- Luminous Barrier (Discipline talent)
},
},
PERSONAL = {
586, -- Fade
15286, -- Vampiric Embrace (Shadow)
47536, -- Rapture (Discipline)
64843, -- Divine Hymn (Holy)
200183, -- Apotheosis (Holy talent)
219772, -- Sustained Sanity (Shadow honor talent)
[263406] = 'INVERT_AURA', -- Surrendered to Madness (Shadow talent)
BURST = {
10060, -- Power Infusion
47536, -- Rapture
193223, -- Surrender to Madness
193223, -- Surrender to Madness (Shadow talent)
197862, -- Archangel (Discipline honor talent)
197871, -- Dark Archangel (Discipline honor talent)
},
SURVIVAL = {
19236, -- Desperate Prayer (Discipline/Holy)
47585, -- Dispersion (Shadow)
196773, -- Inner Focus (Holy honor talent)
213602, -- Greater Fade (Holy honor talent)
215769, -- Spirit of Redemption (Holy honor talent)
},
},
PET = {
[205364] = 'INVERT_AURA', -- Mind Control (Discipline talent)
},
},
},
AURA = {
HELPFUL = {
139, -- Renew
41635, -- Prayer of Mending
152118, -- Clarity of Will
186367, -- Prayer's Reprise
194384, -- Atonement
[111759] = "UNIQUE_AURA", -- Levitate
INVERT_AURA = {
187464, -- Shadow Mend
219521, -- Shadow Covenant
HARMFUL = {
589, -- Shadow Word: Pain (Discipline/Shadow)
34914, -- Vampiric Touch (Shadow)
48045, -- Mind Sear (Shadow)
204213, -- Purge the Wicked (Discipline talent)
208772, -- Smite (Discipline)
CROWD_CTRL = {
[ 605] = 'DISORIENT', -- Mind Control
[9484] = 'INCAPACITATE', -- Shackle Undead
},
SNARE = {
15407, -- Mind Flay (Shadow)
},
},
HARMFUL = {
589, -- Shadow Word: Pain
15407, -- Mind Flay
34914, -- Void Touch
204213, -- Purge the Wicked
208772, -- Smite
[ 9484] = "CROWD_CTRL INCAPACITATE", -- Shackle Undead (incapacitate)
[210979] = "SNARE", -- Focus in the Light (Holy artifact) (slow)
HELPFUL = {
139, -- Renew (Holy)
65081, -- Body and Soul (Discipline/Shadow talent)
111759, -- Levitate
194384, -- Atonement (Discipline)
197548, -- Strength of Soul (Discipline honor talent)
215962, -- Inspiration (Holy honor talent)
[ 21562] = 'RAIDBUFF', -- Power Word: Fortitude
[187464] = 'INVERT_AURA', -- Shadow Mend (Discipline/Shadow)
},
PERSONAL = {
2096, -- Mind Vision
45242, -- Focused Will
114255, -- Surge of Light
124430, -- Shadowy Insight
186478, -- Reparation
193065, -- Masochism
197763, -- Borrowed Time (Discipline artifact)
198069, -- Power of the Dark Side (Discipline artifact)
198076, -- Sins of the Many (Discipline artifact)
205372, -- Void Ray
210980, -- Focus in the Light (Holy artifact)
223166, -- Overloaded with Light (Discipline artifact hidden ability)
114255, -- Surge of Light (Holy talent)
124430, -- Shadowy Insight (Shadow talent)
193065, -- Masochism (Discipline talent)
194249, -- Voidform (Shadow)
198069, -- Power of the Dark Side (Discipline)
232698, -- Shadowform (Shadow)
247776, -- Mind Trauma (Shadow honor talent)
},
PET = {
[605] = "CROWD_CTRL DISORIENT INVERT_AURA", -- Mind Control (disorient)
},
DISPEL = {
[528] = 'HARMFUL MAGIC', -- Dispel Magic
HELPFUL = {
COOLDOWN = {
[ 527] = 'DISEASE MAGIC', -- Purify (Discipline/Holy)
[ 32375] = 'HARMFUL MAGIC', -- Mass Dispel
[213634] = 'DISEASE', -- Purify Disease (Shadow)
},
},
},
}, { -- map aura to provider(s)
[ 41635] = 33076, -- Prayer of Mending
[ 45242] = 45243, -- Focused Will
[ 64844] = 64843, -- Divine Hymn
[ 65081] = 64129, -- Body and Soul
[ 81782] = 62618, -- Power Word: Barrier
[ 589] = { -- Shadow Word: Pain (Discipline/Shadow)
589, -- Shadow Word: Pain (Discipline/Shadow)
263346, -- Dark Void (Shadow talent)
},
[ 41635] = 33076, -- Prayer of Mending (Holy)
[ 64844] = 64843, -- Divine Hymn (Holy)
[ 65081] = 64129, -- Body and Soul (Discipline/Shadow talent)
[ 81782] = 62618, -- Power Word: Barrier (Discipline)
[111759] = 1706, -- Levitate
[114255] = 109186, -- Surge of Light
[121557] = 121536, -- Angelic Feather
[124430] = 162452, -- Shadowy Insight
[186367] = 33076, -- Prayer's Reprise <- Prayer of Mending
[186478] = 47540, -- Reparation <- Penance
[187464] = 186263, -- Shadow Mend
[193065] = 193063, -- Masochism
[194022] = 194018, -- Mental Fortitude (Shadow artifact)
[194025] = 194024, -- Thrive in the Shadows (Shadow artifact)
[194384] = 81749, -- Atonement
[196356] = 196355, -- Trust in the Light (Holy artifact)
[196490] = 196489, -- Power of the Naaru (Holy artifact)
[197030] = 197031, -- Divinity
[197763] = 197762, -- Borrowed Time (Discipline artifact)
[197767] = 197766, -- Speed of the Pious (Discipline artifact)
[198069] = 198068, -- Power of the Dark Side (Discipline artifact)
[198076] = 198074, -- Sins of the Many (Discipline artifact)
[114255] = 109186, -- Surge of Light (Holy talent)
[121557] = 121536, -- Angelic Feather (Discipline/Holy talent)
[124430] = 162452, -- Shadowy Insight (Shadow talent
[187464] = 186263, -- Shadow Mend (Discipline/Shadow)
[193065] = 193063, -- Masochism (Discipline talent)
[194249] = 228264, -- Voidform (Shadow)
[194384] = 81749, -- Atonement (Discipline)
[196440] = 196439, -- Purified Resolve (Discipline honor talent)
[196773] = 196762, -- Inner Focus (Holy honor talent)
[197548] = 197535, -- Strength of Soul (Discipline honor talent)
[197874] = 197871, -- Dark Archangel (Discipline honor talent)
[198069] = 198068, -- Power of the Dark Side (Discipline)
[199845] = 211522, -- Psyflay <- Psyfiend (Shadow honor talent)
[200196] = 88625, -- Holy Word: Chastise
[200200] = 200199, -- Holy Word: Chastise (with Censure) (stun) <- Censure
[204213] = 204197, -- Purge the Wicked
[205372] = 205371, -- Void Ray
[208772] = 585, -- Smite
[210027] = 197781, -- Share in the Light (Discipline artifact)
[210979] = 196419, -- Focus in the Light (Holy artifact) (slow)
[210980] = 196419, -- Focus in the Light (Holy artifact)
[212570] = 193223, -- Surrendered Soul <- Surrender to Madness
[216135] = 197711, -- Vestments of Discipline (Discipline artifact)
[219521] = 204065, -- Shadow Covenant
[223166] = 207946, -- Overloaded with Light (Discipline artifact hidden ability) <- Light's Wrath (Discipline artifact)
[226943] = 205369, -- Mind Bomb (stun)
[240673] = 238101, -- Mind Quickening (Shadow artifact)
[200200] = 200199, -- Holy Word: Chastise <- Censure (Holy talent)
[204213] = 204197, -- Purge the Wicked (Discipline talent)
[205364] = 205367, -- Mind Control <- Dominant Mind (Discipline talent)
[208772] = 231682, -- Smite (Discipline) <- Smite (Rank 2)
[215769] = 215782, -- Spirit of Redemption <- Spirit of the Redeemer (Holy honor talent)
[215962] = 215960, -- Inspiration <- Greater Heal (Holy honor talent)
[219521] = 204065, -- Shadow Covenant (Discipline talent)
[219772] = 199131, -- Sustained Sanity <- Pure Shadow (Shadow honor talent)
[226943] = 205369, -- Mind Bomb (Shadow talent)
[232707] = 197268, -- Ray of Hope (Holy honor talent)
[247776] = 199445, -- Mind Trauma (Shadow honor talent)
[263406] = 193223, -- Surrendered to Madness <- Surrender to Madness (Shadow talent)
}, { -- map aura(s) to modified spell(s)
[ 65081] = { -- Body and Soul
17, -- Power Word: Shield
73325, -- Leap of Faith
[ 65081] = { -- Body and Soul (Discipline/Shadow talent)
17, -- Power Word: Shield (Discipline/Shadow)
73325, -- Leap of Faith (Discipline only)
},
[114255] = 2061, -- Surge of Light -> Flash Heal
[124430] = 8092, -- Shadowy Insight -> Mind Blast
[193065] = 186263, -- Masochism -> Shadow Mend
[194022] = 34914, -- Mental Fortitude (Shadow artifact) -> Vampiric Touch
[194025] = 47585, -- Thrive in the Shadows (Shadow artifact) -> Dispersion
[194384] = { -- Atonement
17, -- Power Word: Shield
[114255] = 2061, -- Surge of Light (Holy talent) -> Flash Heal
[124430] = 8092, -- Shadowy Insight (Shadow talent -> Mind Blast
[193065] = 186263, -- Masochism (Discipline talent) -> Shadow Mend
[194249] = 194249, -- Voidform (Shadow)
[194384] = { -- Atonement (Discipline)
17, -- Power Word: Shield
186263, -- Shadow Mend
194509, -- Power Word: Radiance
200829, -- Plea
},
[196356] = 73325, -- Trust in the Light (Holy artifact) -> Leap of Faith
[196490] = 596, -- Power of the Naaru (Holy artifact) -> Prayer of Healing
[197030] = { -- Divinity
[196440] = 527, -- Purified Resolve (Discipline honor talent) -> Purify
[196773] = { -- Inner Focus (Holy honor talent)
585, -- Smite
2050, -- Holy Word: Serenity
34861, -- Holy Word: Sanctify
},
[197763] = { -- Borrowed Time (Discipline artifact)
585, -- Smite
47540, -- Penance
207946, -- Light's Wrath
},
[197767] = 47540, -- Speed of the Pious (Discipline artifact) -> Penance
[198069] = 47540, -- Power of the Dark Side (Discipline artifact) -> Penance
[200200] = 88625, -- Holy Word: Chastise (with Censure) (stun)
[205372] = 15407, -- Void Ray -> Mind Flay
[210027] = 17, -- Share in the Light (Discipline artifact) -> Power Word: Shield
[210979] = { -- Focus in the Light (Holy artifact) (slow)
14914, -- Holy Fire
88625, -- Holy Word: Chastise
},
[210980] = { -- Focus in the Light (Holy artifact)
2060, -- Heal
2061, -- Flash Heal
14914, -- Holy Fire
88625, -- Holy Word: Chastise
},
[216135] = 586, -- Vestments of Discipline (Discipline artifact) -> Fade
[240673] = 205065, -- Mind Quickening (Shadow artifact) -> Void Torrent (Shadow artifact)
[197548] = 17, -- Strength of Soul (Discipline honor talent) -> Power Word: Shield
[198069] = 47540, -- Power of the Dark Side (Discipline) -> Penance
[200200] = 88625, -- Holy Word: Chastise (Holy talent)
[205364] = 205364, -- Mind Control(Discipline talent)
[208772] = 585, -- Smite (Discipline)
[215769] = 215769, -- Spirit of Redemption (Holy honor talent)
[215962] = 2060, -- Inspiration (Holy honor talent) -> Heal
[219772] = 47585, -- Sustained Sanity (Shadow honor talent) -> Dispersion
[247776] = 15407, -- Mind Trauma (Shadow honor talent) -> Mind Flay
})