Merge pull request #10887 from zorix/PR3
Core/Spell: Triggered spells now will be cast on the primal target instead of on caster Closes #10853 Closes #10860
This commit is contained in:
commit
4a4da95aa0
2 files changed
+5
-1
No files matched your search
@@ -1305,6 +1305,7 @@ void Spell::SelectImplicitCasterDestTargets(SpellEffIndex effIndex, SpellImplici
|
||||
|
||||
void Spell::SelectImplicitTargetDestTargets(SpellEffIndex effIndex, SpellImplicitTargetInfo const& targetType)
|
||||
{
|
||||
ASSERT(m_targets.GetObjectTarget() && "Spell::SelectImplicitTargetDestTargets - no explicit object target available!");
|
||||
WorldObject* target = m_targets.GetObjectTarget();
|
||||
|
||||
SpellDestination dest(*target);
|
||||
|
||||
Reference in new issue
Block a user