mirror of
https://github.com/mangosfour/server.git
synced 2025-12-17 07:37:03 +00:00
[10417] Fix Battle/Guardian elixirs stacking
This commit is contained in:
parent
821444445b
commit
1f2734f177
2 changed files with 6 additions and 2 deletions
|
|
@ -305,7 +305,11 @@ bool IsNoStackAuraDueToAura(uint32 spellId_1, uint32 spellId_2)
|
|||
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->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)
|
||||
&& (spellInfo_1->Effect[j] != 0 || spellInfo_1->EffectApplyAuraName[j] != 0 ||
|
||||
spellInfo_1->EffectMiscValue[j] != 0 || spellInfo_1->EffectItemType[j] != 0))
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue