Commit 98e4484d authored by Ivaria's avatar Ivaria

Fix for new Shaman weapon enchant implementation

parent c1101c9f
......@@ -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_SELF },
[VUHDO_I18N_BUFFC_WEAPON_ENCHANT_OFF] = {
{ VUHDO_SPELL_ID.FLAMETONGUE_WEAPON, VUHDO_BUFF_TARGET_ENCHANT_OFF },
},
},
......
......@@ -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;
......
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