mirror of
https://github.com/mangosfour/server.git
synced 2025-12-13 04:37:00 +00:00
[10460] Fixed unexpected area aura stacking from same caster at spellmods reapply.
In fact it general problem possible with area auras if it re-casted non-standard way from code. But known only test case for mangos-0.12 branch. Thanks to ciphercom for reportand original research of problem source.
This commit is contained in:
parent
77148f0e60
commit
d334f9fab8
2 changed files with 2 additions and 2 deletions
|
|
@ -3844,7 +3844,7 @@ bool Unit::AddSpellAuraHolder(SpellAuraHolder *holder)
|
|||
}
|
||||
|
||||
// passive and persistent auras can stack with themselves any number of times
|
||||
if (!holder->IsPassive() && !holder->IsPersistent())
|
||||
if (!holder->IsPassive() && !holder->IsPersistent() || holder->IsAreaAura())
|
||||
{
|
||||
SpellAuraHolderBounds spair = GetSpellAuraHolderBounds(aurSpellInfo->Id);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue