Skip to content

Commit de740ed

Browse files
committed
updated cata priest & lock
1 parent a554484 commit de740ed

File tree

6 files changed

+544
-17
lines changed

6 files changed

+544
-17
lines changed

LightCata.xml

Lines changed: 15 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -2,19 +2,23 @@
22
..\FrameXML\UI.xsd">
33

44
<!-- SPELLBOOKS -->
5-
<Script file="rotations_vanilla\druid\spellbook.lua" />
6-
<Script file="rotations_vanilla\priest\spellbook.lua" />
7-
<Script file="rotations_vanilla\mage\spellbook.lua" />
8-
<Script file="rotations_vanilla\paladin\spellbook.lua" />
9-
<Script file="rotations_vanilla\hunter\spellbook.lua" />
10-
<Script file="rotations_vanilla\rogue\spellbook.lua" />
11-
<Script file="rotations_vanilla\shaman\spellbook.lua" />
12-
<Script file="rotations_vanilla\warlock\spellbook.lua" />
13-
<Script file="rotations_vanilla\warrior\spellbook.lua" />
5+
<!--<Script file="rotations_cata\druid\spellbook.lua" />-->
6+
<Script file="rotations_cata\priest\spellbook.lua" />
7+
<!--<Script file="rotations_cata\mage\spellbook.lua" />-->
8+
<!--<Script file="rotations_cata\paladin\spellbook.lua" />-->
9+
<!--<Script file="rotations_cata\hunter\spellbook.lua" />-->
10+
<!--<Script file="rotations_cata\rogue\spellbook.lua" />-->
11+
<!--<Script file="rotations_cata\shaman\spellbook.lua" />-->
12+
<Script file="rotations_cata\warlock\spellbook.lua" />
13+
<!--<Script file="rotations_cata\warrior\spellbook.lua" />-->
1414

1515
<!-- ROTATIONS -->
16-
<Script file="rotations_vanilla\warlock\warlock.lua" />
17-
<Script file="rotations_vanilla\warlock\dotlock.lua" />
16+
<Script file="rotations_cata\warlock\warlock.lua" />
17+
<Script file="rotations_cata\warlock\dotlock.lua" />
18+
<Script file="rotations_cata\warlock\destro.lua" />
19+
20+
<Script file="rotations_cata\priest\priest.lua" />
21+
<Script file="rotations_cata\priest\shadow.lua" />
1822

1923
<!-- MISC -->
2024
<Script file="system\support\patches.lua" />

rotations_cata/priest/priest.lua

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
local addon, light = ...
2+
3+
local function combat()
4+
if not target.exists or not target.enemy then
5+
return
6+
end
7+
8+
--if player.channeling then
9+
-- return
10+
--end
11+
12+
if not target.debuff(SB.ShadowWordPain).up then
13+
return cast(SB.ShadowWordPain, target)
14+
end
15+
16+
--if castable(SB.Penance, target) then
17+
-- return cast(SB.Penance, target)
18+
--end
19+
if castable(SB.Mindblast, target) then
20+
return cast(SB.Mindblast, target)
21+
end
22+
if castable(SB.Smite) then
23+
return cast(SB.Smite, target)
24+
--print("SMITE!?")
25+
end
26+
end
27+
28+
local function resting()
29+
-- -- resting
30+
end
31+
32+
light.rotation.register({
33+
class = light.rotation.classes.priest,
34+
name = 'priest',
35+
label = 'Bundled Priest',
36+
combat = combat,
37+
resting = resting
38+
})

rotations_cata/priest/shadow.lua

Lines changed: 77 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,77 @@
1+
local addon, light = ...
2+
3+
local function combat()
4+
if not target.exists or not target.enemy or not target.alive then
5+
return
6+
end
7+
8+
--print(player.channeling, player.channeling)
9+
if player.isChanneling then
10+
return
11+
end
12+
13+
-- open with mindspike
14+
15+
-- shadowfriend
16+
-- pain
17+
if
18+
not target.debuff(SB.ShadowWordPain).up and
19+
castable(SB.ShadowWordPain, target)
20+
then
21+
return cast(SB.ShadowWordPain, target)
22+
end
23+
24+
-- Mindflay max 3x or until 1 Shadow Orb and 5x Envagelism
25+
if
26+
not player.buff(SB.EmpoweringShadow).up and -- 15 sec after consume orb
27+
player.buff(SB.ShadowOrb).count < 1 and
28+
-- player.buff(SB.Envagelism).count < 5 and -- NOTE check talent!
29+
castable(SB.MindFlay, target)
30+
then
31+
return cast(SB.MindFlay, target)
32+
end
33+
34+
-- mindblast if buff
35+
if
36+
castable(SB.Mindblast, target) and
37+
player.buff(SB.ShadowOrb).count >= 1
38+
then
39+
return cast(SB.Mindblast, target)
40+
end
41+
42+
-- Vamperic touch
43+
if
44+
castable(SB.VampericTouch, target) and
45+
not target.debuff(SB.VampericTouch).up
46+
then
47+
return cast(SB.VampericTouch, target)
48+
end
49+
50+
-- plague
51+
if
52+
castable(SB.DevouringPlague, target) and
53+
not target.debuff(SB.DevouringPlague).up
54+
then
55+
return cast(SB.DevouringPlague, target)
56+
end
57+
58+
59+
-- filler mindflay?
60+
if castable(SB.MindFlay, target) then
61+
return cast(SB.MindFlay, target)
62+
end
63+
64+
end
65+
66+
local function resting()
67+
-- -- resting
68+
-- buff: Fortitude, Inner Fire, Vamperic Embrace, Shadow Form
69+
end
70+
71+
light.rotation.register({
72+
class = light.rotation.classes.priest,
73+
name = 'shadow',
74+
label = 'Bundled Priest',
75+
combat = combat,
76+
resting = resting
77+
})
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
local addon, light = ...
2+
3+
light.rotation.spellbooks.priest = {
4+
Smite = 585,
5+
FashHeal = 2061,
6+
ShadowWordPain = 589,
7+
PowerWordShield = 17,
8+
Mindblast = 8092,
9+
Penance = 47540,
10+
11+
12+
--ShadowOrb = 95740,
13+
ShadowOrb = 77487,
14+
MindFlay = 15407,
15+
VampericTouch = 34914,
16+
DevouringPlague = 2944,
17+
EmpoweringShadow = 95799,
18+
19+
}

0 commit comments

Comments
 (0)