Core/Spells: reduce differences between branches
This commit is contained in:
1 parent
c158f40455
commit
48c21d7161
8 files changed
+41
-42
No files matched your search
@@ -2951,8 +2951,8 @@ SpellCastResult WorldObject::CastSpell(SpellCastTargets const& targets, uint32 s
|
||||
}
|
||||
|
||||
Spell* spell = new Spell(this, info, args.TriggerFlags, args.OriginalCaster);
|
||||
for (auto const& pair : args.SpellValueOverrides)
|
||||
spell->SetSpellValue(pair.first, pair.second);
|
||||
for (CastSpellExtraArgsInit::SpellValueOverride const& value : args.SpellValueOverrides)
|
||||
spell->SetSpellValue(value);
|
||||
|
||||
spell->m_CastItem = args.CastItem;
|
||||
|
||||
|
||||
Reference in new issue
Block a user