Jump to content

[BUG] Battle elixir removing Guardian elixir


Guest lavinelu

Recommended Posts

For example, consuming the normal guardian elixir 'Elixir of Mighty Fortitude' (http://www.wowhead.com/item=40078) removes the battle elixir 'Elixir of Mighty Strength' (http://www.wowhead.com/item=40073) and vice-versa.

i think the problem is from this function IsNoStackAuraDueToAura and should be something like this

 if (spellInfo_1->Effect[i] == spellInfo_2->Effect[j]
               && spellInfo_1->EffectApplyAuraName[i] == spellInfo_2->EffectApplyAuraName[j]
               && spellInfo_1->EffectMiscValue[i] == spellInfo_2->EffectMiscValue[j]
               && spellInfo_1->EffectItemType[i] == spellInfo_2->EffectItemType[j]
               && (spellInfo_1->Effect[i] != 0 || spellInfo_1->EffectApplyAuraName[i] != 0 || 
                   spellInfo_1->EffectMiscValue[i] != 0 || spellInfo_1->EffectItemType[i] != 0))
               return true;

Link to comment
Share on other sites

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Privacy Policy Terms of Use