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
Landon Wu
VuhDo
Commits
2b54056d
Commit
2b54056d
authored
8 years ago
by
Ivaria
Browse files
Options
Download
Email Patches
Plain Diff
Fixed smart casting of unknown resurrection spells
parent
746e0ca6
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
1 deletion
+11
-1
VuhDoToolbox.lua
VuhDoToolbox.lua
+10
-1
changelog.txt
changelog.txt
+1
-0
No files found.
VuhDoToolbox.lua
View file @
2b54056d
...
...
@@ -525,11 +525,20 @@ end
--
local
tResurrectionSpells
;
local
tKnownResurrectionSpells
;
function
VUHDO_getResurrectionSpells
()
tResurrectionSpells
=
(
VUHDO_RESURRECTION_SPELLS
[
VUHDO_PLAYER_CLASS
]
or
sEmpty
)[
GetSpecialization
()
or
0
];
if
tResurrectionSpells
then
return
unpack
(
tResurrectionSpells
);
tKnownResurrectionSpells
=
{
};
for
_
,
tResurrectionSpell
in
ipairs
(
tResurrectionSpells
)
do
if
VUHDO_isSpellKnown
(
tResurrectionSpell
)
then
tinsert
(
tKnownResurrectionSpells
,
tResurrectionSpell
);
end
end
return
tKnownResurrectionSpells
;
else
return
nil
;
end
...
...
This diff is collapsed.
Click to expand it.
changelog.txt
View file @
2b54056d
...
...
@@ -16,6 +16,7 @@ Known issues:
Bugfixes:
-- Fixed Priest 'Clarity of Will' maximum shield absorption amount
-- Updated spell ID for Shaman 'Earth Shield' (now an Honor Talent)
-- Fixed smart casting of unknown resurrection spells
Improvements:
...
...
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