Core/Auras: Fixed saving auras with same spell id but different item source

This commit is contained in:
Shauren authored and Ovahlord committed 2022-09-12 09:15:21 +02:00
1 parent b4b8fffa22
commit dc8bf301bb
8 files changed
+36 -29

No files matched your search

+1 -1
View File
@@ -2970,7 +2970,7 @@ void Spell::DoSpellEffectHit(Unit* unit, uint8 effIndex, TargetInfo& hitInfo)
createInfo
.SetCasterGUID(caster->GetGUID())
.SetBaseAmount(bp)
.SetCastItem(m_CastItem)
.SetCastItemGUID(m_CastItem ? m_CastItem->GetGUID() : ObjectGuid::Empty)
.SetOwnerEffectMask(aura_effmask)
.IsRefresh = &refresh;