Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
MasterYodA
VuhDo
Commits
019728f5
Commit
019728f5
authored
2 years ago
by
Ivaria
Browse files
Options
Download
Email Patches
Plain Diff
Added Priest 'Divine Aegis' back as a pumpable shield absorb
parent
b4bc6cfe
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
11 additions
and
4 deletions
+11
-4
VuhDoConst.lua
VuhDoConst.lua
+1
-0
VuhDoConstSpells.lua
VuhDoConstSpells.lua
+1
-0
VuhDoShieldAbsorb.lua
VuhDoShieldAbsorb.lua
+7
-3
VuhDoSpellEstimator.lua
VuhDoSpellEstimator.lua
+2
-1
No files found.
VuhDoConst.lua
View file @
019728f5
...
...
@@ -374,6 +374,7 @@ VUHDO_HEALING_HOTS = {
[
VUHDO_SPELL_ID
.
ECHO_OF_LIGHT
]
=
true
,
[
VUHDO_SPELL_ID
.
ATONEMENT
]
=
true
,
[
VUHDO_SPELL_ID
.
SPIRIT_SHELL
]
=
true
,
[
VUHDO_SPELL_ID
.
DIVINE_AEGIS
]
=
true
,
-- Druid
[
VUHDO_SPELL_ID
.
REJUVENATION
]
=
true
,
[
VUHDO_SPELL_ID
.
REGROWTH
]
=
true
,
...
...
This diff is collapsed.
Click to expand it.
VuhDoConstSpells.lua
View file @
019728f5
...
...
@@ -30,6 +30,7 @@ VUHDO_SPELL_ID.CONCUSSIVE_SHOT = VUHDO_getSpellInfo(5116);
VUHDO_SPELL_ID
.
CYCLONE
=
VUHDO_getSpellInfo
(
33786
);
VUHDO_SPELL_ID
.
DESPERATE_PRAYER
=
VUHDO_getSpellInfo
(
19236
);
VUHDO_SPELL_ID
.
DISPEL_MAGIC
=
VUHDO_getSpellInfo
(
528
);
VUHDO_SPELL_ID
.
DIVINE_AEGIS
=
VUHDO_getSpellInfo
(
47753
);
VUHDO_SPELL_ID
.
DIVINE_ILLUMINATION
=
VUHDO_getSpellInfo
(
71166
);
VUHDO_SPELL_ID
.
DREAM_BREATH
=
VUHDO_getSpellInfo
(
355936
);
VUHDO_SPELL_ID
.
DREAM_FLIGHT
=
VUHDO_getSpellInfo
(
359816
);
...
...
This diff is collapsed.
Click to expand it.
VuhDoShieldAbsorb.lua
View file @
019728f5
...
...
@@ -15,11 +15,13 @@ local VUHDO_SHIELDS = {
[
114893
]
=
10
,
-- Stone Bulwark Totem (shaman talent)
[
187805
]
=
15
,
-- VUHDO_SPELL_ID.BUFF_ETHERALUS
[
114908
]
=
10
,
-- VUHDO_SPELL_ID.SPIRIT_SHELL
[
47753
]
=
17
,
-- VUHDO_SPELL_ID.DIVINE_AEGIS
}
--
local
VUHDO_PUMP_SHIELDS
=
{
[
VUHDO_SPELL_ID
.
DIVINE_AEGIS
]
=
0
.
3
,
}
...
...
@@ -184,9 +186,11 @@ local function VUHDO_updateShieldValue(aUnit, aShieldName, anAmount, aDuration,
if
aDuration
then
VUHDO_SHIELD_EXPIRY
[
aUnit
][
aShieldName
]
=
GetTime
()
+
aDuration
;
VUHDO_SHIELD_SIZE
[
aUnit
][
aShieldName
]
=
anAmount
;
--VUHDO_xMsg("Shield overwritten");
if
not
sIsPumpAegis
or
not
VUHDO_PUMP_SHIELDS
[
aShieldName
]
then
VUHDO_SHIELD_SIZE
[
aUnit
][
aShieldName
]
=
anAmount
;
--VUHDO_xMsg("Shield overwritten");
end
elseif
(
aExpirationTime
or
0
)
>
VUHDO_SHIELD_EXPIRY
[
aUnit
][
aShieldName
]
then
VUHDO_SHIELD_EXPIRY
[
aUnit
][
aShieldName
]
=
aExpirationTime
;
elseif
VUHDO_SHIELD_SIZE
[
aUnit
][
aShieldName
]
<
anAmount
then
...
...
This diff is collapsed.
Click to expand it.
VuhDoSpellEstimator.lua
View file @
019728f5
...
...
@@ -30,6 +30,7 @@ VUHDO_SPELLS = {
[
VUHDO_SPELL_ID
.
SERENDIPITY
]
=
{
[
"isHot"
]
=
true
,
[
"nodefault"
]
=
true
},
[
VUHDO_SPELL_ID
.
ATONEMENT
]
=
{
[
"isHot"
]
=
true
},
[
VUHDO_SPELL_ID
.
SPIRIT_SHELL
]
=
{
[
"isHot"
]
=
true
},
[
VUHDO_SPELL_ID
.
DIVINE_AEGIS
]
=
{
[
"isHot"
]
=
true
},
-- Shaman
[
VUHDO_SPELL_ID
.
RIPTIDE
]
=
{
[
"isHot"
]
=
true
},
...
...
@@ -77,7 +78,7 @@ function VUHDO_initFromSpellbook()
twipe
(
VUHDO_PLAYER_HOTS
);
for
tSpellName
,
someParams
in
pairs
(
VUHDO_SPELLS
)
do
if
someParams
[
"isHot"
]
and
VUHDO_isSpellKnown
(
tSpellName
)
then
if
someParams
[
"isHot"
]
and
(
VUHDO_isSpellKnown
(
tSpellName
)
or
VUHDO_isTalentKnown
(
tSpellName
))
then
VUHDO_PLAYER_HOTS
[
#
VUHDO_PLAYER_HOTS
+
1
]
=
tSpellName
;
end
end
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment