Commit 2dc676d9 authored by Ivaria's avatar Ivaria
Browse files

Fixed Shaman weapon echants in Buff Watch

parent d8a19aac
......@@ -155,11 +155,11 @@ VUHDO_CLASS_BUFFS = {
{ VUHDO_SPELL_ID.BUFF_LIGHTNING_SHIELD, VUHDO_BUFF_TARGET_SELF },
},
[VUHDO_I18N_BUFFC_WEAPON_ENCHANT] = {
{ VUHDO_SPELL_ID.BUFF_ROCKBITER_WEAPON, VUHDO_BUFF_TARGET_SELF },
{ VUHDO_SPELL_ID.BUFF_WINDFURY_WEAPON, VUHDO_BUFF_TARGET_SELF },
{ VUHDO_SPELL_ID.BUFF_FLAMETONGUE_WEAPON, VUHDO_BUFF_TARGET_SELF },
{ VUHDO_SPELL_ID.BUFF_FROSTBRAND_WEAPON, VUHDO_BUFF_TARGET_SELF },
{ VUHDO_SPELL_ID.BUFF_EARTHLIVING_WEAPON, VUHDO_BUFF_TARGET_SELF },
{ VUHDO_SPELL_ID.BUFF_ROCKBITER_WEAPON, VUHDO_BUFF_TARGET_ENCHANT },
{ VUHDO_SPELL_ID.BUFF_WINDFURY_WEAPON, VUHDO_BUFF_TARGET_ENCHANT },
{ VUHDO_SPELL_ID.BUFF_FLAMETONGUE_WEAPON, VUHDO_BUFF_TARGET_ENCHANT },
{ VUHDO_SPELL_ID.BUFF_FROSTBRAND_WEAPON, VUHDO_BUFF_TARGET_ENCHANT },
{ VUHDO_SPELL_ID.BUFF_EARTHLIVING_WEAPON, VUHDO_BUFF_TARGET_ENCHANT },
},
},
......
......@@ -509,7 +509,7 @@ function VUHDO_getWeaponEnchantName(aSlot)
for tCnt = 1, VuhDoScanTooltip:NumLines() do
tName = strmatch(_G["VuhDoScanTooltipTextLeft" .. tCnt]:GetText(), "^.+ %(%d+%s+.+%)$");
if tName then
tEnchant = gsub(tName, " %(.+%)", "");
tEnchant = gsub(tName, " [0-9]+ %(.+%)", "");
return tEnchant;
end
end
......
......@@ -19,6 +19,7 @@ Known issues:
Bugfixes:
-- Fixed vehicle health updates when panels contain no pet groups
-- Added workaround for even more broken Blizzard APIs for incoming healing
-- Fixed Shaman weapon echants in Buff Watch
Improvements:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment