mirror of
https://github.com/mangosfour/server.git
synced 2025-12-13 13:37:05 +00:00
[11767] fix spell mod sending 2
This commit is contained in:
parent
c60425c6bd
commit
68eb5f118c
2 changed files with 2 additions and 2 deletions
|
|
@ -18602,7 +18602,7 @@ void Player::AddSpellMod(Aura* aura, bool apply)
|
|||
int32 val = 0;
|
||||
for (AuraList::const_iterator itr = m_spellMods[mod->m_miscvalue].begin(); itr != m_spellMods[mod->m_miscvalue].end(); ++itr)
|
||||
{
|
||||
if ((*itr)->GetModifier()->m_auraname == mod->m_auraname && ((*itr)->GetSpellProto()->IsFitToFamilyMask(_mask, _mask2)))
|
||||
if ((*itr)->GetModifier()->m_auraname == mod->m_auraname && ((*itr)->GetAuraSpellClassMask().IsFitToFamilyMask(_mask, _mask2)))
|
||||
val += (*itr)->GetModifier()->m_amount;
|
||||
}
|
||||
val += apply ? mod->m_amount : -(mod->m_amount);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue