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
Justin Piper
VuhDo
Commits
98e4484d
Commit
98e4484d
authored
4 years ago
by
Ivaria
Browse files
Options
Download
Email Patches
Plain Diff
Fix for new Shaman weapon enchant implementation
parent
c1101c9f
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
5 deletions
+6
-5
VuhDoBuffConst.lua
VuhDoBuffConst.lua
+5
-4
VuhDoBuffWatch.lua
VuhDoBuffWatch.lua
+1
-1
No files found.
VuhDoBuffConst.lua
View file @
98e4484d
...
...
@@ -126,11 +126,12 @@ VUHDO_CLASS_BUFFS = {
[
VUHDO_SPELL_ID
.
BUFF_WATER_SHIELD
]
=
{
{
VUHDO_SPELL_ID
.
BUFF_WATER_SHIELD
,
VUHDO_BUFF_TARGET_SELF
},
},
[
VUHDO_SPELL_ID
.
WINDFURY_WEAPON
]
=
{
{
VUHDO_SPELL_ID
.
WINDFURY_WEAPON
,
VUHDO_BUFF_TARGET_SELF
},
[
VUHDO_I18N_BUFFC_WEAPON_ENCHANT
]
=
{
{
VUHDO_SPELL_ID
.
WINDFURY_WEAPON
,
VUHDO_BUFF_TARGET_ENCHANT
},
{
VUHDO_SPELL_ID
.
FLAMETONGUE_WEAPON
,
VUHDO_BUFF_TARGET_ENCHANT
},
},
[
VUHDO_
SPELL_ID
.
FLAMETONGUE_WEAPON
]
=
{
{
VUHDO_SPELL_ID
.
FLAMETONGUE_WEAPON
,
VUHDO_BUFF_TARGET_
SEL
F
},
[
VUHDO_
I18N_BUFFC_WEAPON_ENCHANT_OFF
]
=
{
{
VUHDO_SPELL_ID
.
FLAMETONGUE_WEAPON
,
VUHDO_BUFF_TARGET_
ENCHANT_OF
F
},
},
},
...
...
This diff is collapsed.
Click to expand it.
VuhDoBuffWatch.lua
View file @
98e4484d
...
...
@@ -683,7 +683,7 @@ local function VUHDO_getMissingBuffsForCode(aTargetCode, aBuffInfo, aCategSpec)
return
VUHDO_PLAYER_GROUP
,
sEmpty
,
"player"
,
0
,
"player"
,
sEmpty
,
sEmpty
,
0
;
elseif
VUHDO_BUFF_TARGET_ENCHANT_OFF
==
tTargetType
then
_
,
_
,
_
,
tHasEnchant
,
tEnchantDuration
=
GetWeaponEnchantInfo
();
_
,
_
,
_
,
_
,
tHasEnchant
,
tEnchantDuration
=
GetWeaponEnchantInfo
();
if
tHasEnchant
and
(
not
sGermanOrEnglish
or
strfind
(
aBuffInfo
[
1
],
VUHDO_getWeaponEnchantName
(
17
),
1
,
true
))
then
return
sEmpty
,
sEmpty
,
"player"
,
tEnchantDuration
*
0
.
001
,
"player"
,
VUHDO_PLAYER_GROUP
,
sEmpty
,
0
;
...
...
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