mirror of
https://github.com/mangosfour/server.git
synced 2025-12-16 04:37:00 +00:00
[10747] Some other aura caster object guid use cases.
This commit is contained in:
parent
f034a9bd0a
commit
12b80fec68
9 changed files with 67 additions and 67 deletions
|
|
@ -2566,7 +2566,7 @@ void Spell::EffectDummy(SpellEffectIndex eff_idx)
|
|||
for(Unit::SpellAuraHolderMap::const_iterator itr = auras.begin(); itr!=auras.end(); ++itr)
|
||||
{
|
||||
if (itr->second->GetSpellProto()->Dispel == DISPEL_DISEASE &&
|
||||
itr->second->GetCasterGUID() == m_caster->GetGUID())
|
||||
itr->second->GetCasterGuid() == m_caster->GetObjectGuid())
|
||||
{
|
||||
++count;
|
||||
// max. 15%
|
||||
|
|
@ -5388,7 +5388,7 @@ void Spell::EffectWeaponDmg(SpellEffectIndex eff_idx)
|
|||
for(Unit::SpellAuraHolderMap::const_iterator itr = auras.begin(); itr!=auras.end(); ++itr)
|
||||
{
|
||||
if(itr->second->GetSpellProto()->Dispel == DISPEL_DISEASE &&
|
||||
itr->second->GetCasterGUID() == m_caster->GetGUID())
|
||||
itr->second->GetCasterGuid() == m_caster->GetObjectGuid())
|
||||
++count;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue