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
omicron
VuhDo
Commits
edc099c4
Commit
edc099c4
authored
5 years ago
by
Ivaria
Browse files
Options
Download
Email Patches
Plain Diff
Use deprecated API stubs for now
parent
5b1e54af
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
7 deletions
+7
-7
VuhDoRoleChecker.lua
VuhDoRoleChecker.lua
+7
-7
No files found.
VuhDoRoleChecker.lua
View file @
edc099c4
...
...
@@ -145,10 +145,10 @@ function VUHDO_inspectRole(aUnit)
return
VUHDO_ID_UNDEFINED
;
end
tTreeId
,
_
,
_
,
_
,
_
,
tRole
=
G
etSpecializationInfo
(
tActiveTree
,
false
,
false
);
tTreeId
,
_
,
_
,
_
,
_
,
tRole
=
VUHDO_g
etSpecializationInfo
(
tActiveTree
,
false
,
false
);
else
tTreeId
=
G
etInspectSpecialization
(
aUnit
);
tRole
=
G
etSpecializationRoleByID
(
tTreeId
);
tTreeId
=
VUHDO_g
etInspectSpecialization
(
aUnit
);
tRole
=
VUHDO_g
etSpecializationRoleByID
(
tTreeId
);
end
if
(
tTreeId
or
0
)
==
0
then
...
...
@@ -213,7 +213,7 @@ function VUHDO_inspectLockRole()
end
if
"player"
==
VUHDO_NEXT_INSPECT_UNIT
then
tActiveTree
=
G
etSpecialization
();
tActiveTree
=
VUHDO_g
etSpecialization
();
if
not
tActiveTree
then
VUHDO_INSPECTED_ROLES
[
tInfo
[
"name"
]]
=
VUHDO_ID_UNDEFINED
;
...
...
@@ -221,10 +221,10 @@ function VUHDO_inspectLockRole()
return
;
end
tTreeId
,
_
,
_
,
_
,
_
,
tRole
=
G
etSpecializationInfo
(
tActiveTree
,
false
,
false
);
tTreeId
,
_
,
_
,
_
,
_
,
tRole
=
VUHDO_g
etSpecializationInfo
(
tActiveTree
,
false
,
false
);
else
tTreeId
=
G
etInspectSpecialization
(
VUHDO_NEXT_INSPECT_UNIT
);
tRole
=
G
etSpecializationRoleByID
(
tTreeId
);
tTreeId
=
VUHDO_g
etInspectSpecialization
(
VUHDO_NEXT_INSPECT_UNIT
);
tRole
=
VUHDO_g
etSpecializationRoleByID
(
tTreeId
);
end
if
(
tTreeId
or
0
)
==
0
then
...
...
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