mirror of
https://github.com/mangosfour/server.git
synced 2025-12-12 10:37:03 +00:00
[10486] Use casterGUID check for delaying holder since possible stacking same spell from different casters
This commit is contained in:
parent
63cdd66bcb
commit
abbf4f5331
5 changed files with 10 additions and 7 deletions
|
|
@ -149,7 +149,7 @@ void DynamicObject::Delay(int32 delaytime)
|
|||
m_aliveDuration -= delaytime;
|
||||
for(AffectedSet::iterator iunit= m_affected.begin(); iunit != m_affected.end(); ++iunit)
|
||||
if (*iunit)
|
||||
(*iunit)->DelaySpellAuraHolder(m_spellId, delaytime);
|
||||
(*iunit)->DelaySpellAuraHolder(m_spellId, delaytime, GetCasterGUID());
|
||||
}
|
||||
|
||||
bool DynamicObject::isVisibleForInState(Player const* u, WorldObject const* viewPoint, bool inVisibleList) const
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue