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
Joy
VuhDo
Commits
8109d630
Commit
8109d630
authored
10 years ago
by
Ivaria
Browse files
Options
Download
Email Patches
Plain Diff
Fixed detection of magic debuffs as removable for Monks - closes CurseForge ticket 356
parent
84417e5e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
8 deletions
+5
-8
VuhDoDebuffConst.lua
VuhDoDebuffConst.lua
+2
-5
VuhDoDebuffs.lua
VuhDoDebuffs.lua
+3
-3
No files found.
VuhDoDebuffConst.lua
View file @
8109d630
...
...
@@ -42,16 +42,13 @@ VUHDO_INIT_DEBUFF_ABILITIES = {
[
"MONK"
]
=
{
[
VUHDO_DEBUFF_TYPE_POISON
]
=
{
VUHDO_SPELL_ID
.
DETOX
},
[
VUHDO_DEBUFF_TYPE_DISEASE
]
=
{
VUHDO_SPELL_ID
.
DETOX
},
[
VUHDO_DEBUFF_TYPE_MAGIC
]
=
{
VUHDO_SPELL_ID
.
INTERNAL_MEDICINE
},
[
VUHDO_DEBUFF_TYPE_MAGIC
]
=
{
VUHDO_SPELL_ID
.
DETOX
},
},
};
VUHDO_SPEC_TO_DEBUFF_ABIL
=
{
[
VUHDO_SPELL_ID
.
INTERNAL_MEDICINE
]
=
VUHDO_SPELL_ID
.
DETOX
,
};
VUHDO_SPEC_TO_DEBUFF_ABIL
=
{
};
...
...
This diff is collapsed.
Click to expand it.
VuhDoDebuffs.lua
View file @
8109d630
...
...
@@ -456,15 +456,15 @@ function VUHDO_initDebuffs()
for
tDebuffType
,
tAbilities
in
pairs
(
VUHDO_INIT_DEBUFF_ABILITIES
[
tClass
]
or
sEmpty
)
do
for
tCnt
=
1
,
#
tAbilities
do
tAbility
=
tAbilities
[
tCnt
];
--
VUHDO_Msg("check: " .. tAbility);
--
VUHDO_Msg("check: " .. tAbility);
if
VUHDO_isSpellKnown
(
tAbility
)
or
tAbility
==
"*"
then
VUHDO_PLAYER_ABILITIES
[
tDebuffType
]
=
VUHDO_SPEC_TO_DEBUFF_ABIL
[
tAbility
]
or
tAbility
;
--
VUHDO_Msg("KEEP:" .. VUHDO_PLAYER_ABILITIES[tDebuffType]);
--
VUHDO_Msg("KEEP:
Type " .. tDebuffType .. " because of spell
" .. VUHDO_PLAYER_ABILITIES[tDebuffType]);
break
;
end
end
end
--VUHDO_Msg("---");
--
VUHDO_Msg("---");
if
not
VUHDO_CONFIG
then
VUHDO_CONFIG
=
_G
[
"VUHDO_CONFIG"
];
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