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
KnewOne
VuhDo
Commits
714a3c40
Commit
714a3c40
authored
4 years ago
by
Ivaria
Browse files
Options
Download
Email Patches
Plain Diff
Fixed class name text for classless units (defaults to creature type)
parent
996db35d
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
1 deletion
+7
-1
VuhDo.lua
VuhDo.lua
+6
-1
changelog.txt
changelog.txt
+1
-0
No files found.
VuhDo.lua
View file @
714a3c40
...
...
@@ -362,7 +362,6 @@ function VUHDO_setHealth(aUnit, aMode)
tInfo
[
"threat"
]
=
UnitThreatSituation
(
aUnit
)
or
0
;
tInfo
[
"threatPerc"
]
=
0
;
tInfo
[
"isVehicle"
]
=
UnitHasVehicleUI
(
aUnit
);
tInfo
[
"className"
]
=
tLocalClass
or
""
;
tInfo
[
"petUnit"
]
=
VUHDO_OWNER_2_PET
[
aUnit
];
tInfo
[
"targetUnit"
]
=
VUHDO_getTargetUnit
(
aUnit
);
tInfo
[
"classId"
]
=
tClassId
;
...
...
@@ -378,6 +377,12 @@ function VUHDO_setHealth(aUnit, aMode)
tInfo["mibucateg"] = nil;
tInfo["mibuvariants"] = nil;]]
if
tLocalClass
==
tName
then
tInfo
[
"className"
]
=
UnitCreatureType
(
aUnit
)
or
""
;
else
tInfo
[
"className"
]
=
tLocalClass
or
""
;
end
if
not
VUHDO_isSpecialUnit
(
aUnit
)
then
if
not
tIsPet
and
tInfo
[
"fullName"
]
==
tName
and
VUHDO_RAID_NAMES
[
tName
]
then
VUHDO_IS_SUSPICIOUS_ROSTER
=
true
;
...
...
This diff is collapsed.
Click to expand it.
changelog.txt
View file @
714a3c40
...
...
@@ -11,6 +11,7 @@ Known issues:
Bugfixes:
-- Fixed NPE when slash command had zero arguments
-- Fixed class name text for classless units (defaults to creature type)
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