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
Luna Nova
VuhDo
Commits
e71064f4
Commit
e71064f4
authored
3 years ago
by
Ivaria
Browse files
Options
Download
Email Patches
Plain Diff
Disable use of UnitGetIncomingHeals API until Blizzard hotfix
parent
599a67da
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
11 deletions
+8
-11
VuhDoToolbox.lua
VuhDoToolbox.lua
+7
-11
changelog.txt
changelog.txt
+1
-0
No files found.
VuhDoToolbox.lua
View file @
e71064f4
...
...
@@ -1178,23 +1178,19 @@ function VUHDO_unitGetIncomingHeals(aUnit, aCasterUnit)
return
0
;
end
if
not
UnitGetIncomingHeals
then
if
VUHDO_LibHealComm
then
local
tTargetGUID
=
UnitGUID
(
aUnit
);
if
VUHDO_LibHealComm
then
local
tTargetGUID
=
UnitGUID
(
aUnit
);
if
aCasterUnit
then
local
tCasterGUID
=
UnitGUID
(
aCasterUnit
);
if
aCasterUnit
then
local
tCasterGUID
=
UnitGUID
(
aCasterUnit
);
return
(
VUHDO_LibHealComm
:
GetHealAmount
(
tTargetGUID
,
VUHDO_LibHealComm
.
ALL_HEALS
,
GetTime
()
+
VUHDO_INCOMING_HEAL_WINDOW
,
tCasterGUID
)
or
0
)
*
(
VUHDO_LibHealComm
:
GetHealModifier
(
tTargetGUID
)
or
1
);
else
return
(
VUHDO_LibHealComm
:
GetHealAmount
(
tTargetGUID
,
VUHDO_LibHealComm
.
ALL_HEALS
,
GetTime
()
+
VUHDO_INCOMING_HEAL_WINDOW
)
or
0
)
*
(
VUHDO_LibHealComm
:
GetHealModifier
(
tTargetGUID
)
or
1
);
end
return
(
VUHDO_LibHealComm
:
GetHealAmount
(
tTargetGUID
,
VUHDO_LibHealComm
.
ALL_HEALS
,
GetTime
()
+
VUHDO_INCOMING_HEAL_WINDOW
,
tCasterGUID
)
or
0
)
*
(
VUHDO_LibHealComm
:
GetHealModifier
(
tTargetGUID
)
or
1
);
else
return
0
;
return
(
VUHDO_LibHealComm
:
GetHealAmount
(
tTargetGUID
,
VUHDO_LibHealComm
.
ALL_HEALS
,
GetTime
()
+
VUHDO_INCOMING_HEAL_WINDOW
)
or
0
)
*
(
VUHDO_LibHealComm
:
GetHealModifier
(
tTargetGUID
)
or
1
)
;
end
else
return
UnitGetIncomingHeals
(
aUnit
,
aCasterUnit
)
;
return
0
;
end
end
...
...
This diff is collapsed.
Click to expand it.
changelog.txt
View file @
e71064f4
...
...
@@ -15,6 +15,7 @@ Known issues:
Bugfixes:
-- Disable use of UnitGetIncomingHeals API until Blizzard hotfix
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