mirror of
https://github.com/mangosfour/server.git
synced 2025-12-15 10:37:02 +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);
|
||||
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
#ifndef __REVISION_NR_H__
|
||||
#define __REVISION_NR_H__
|
||||
#define REVISION_NR "10459"
|
||||
#define REVISION_NR "10460"
|
||||
#endif // __REVISION_NR_H__
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue