Revert 0a95c34021 (thanks QAston for talking sense into me)
--HG-- branch : trunk
This commit is contained in:
1 parent
392c08ecdd
commit
d951407822
1 file changed
+6
-2
@@ -1600,7 +1600,9 @@ void Spell::EffectForceCast(SpellEffIndex effIndex)
|
||||
}
|
||||
}
|
||||
|
||||
unitTarget->CastSpell(unitTarget, spellInfo, true, NULL, NULL, m_originalCasterGUID);
|
||||
Unit * caster = GetTriggeredSpellCaster(spellInfo, m_caster, unitTarget);
|
||||
|
||||
caster->CastSpell(unitTarget, spellInfo, true, NULL, NULL, m_originalCasterGUID);
|
||||
}
|
||||
|
||||
void Spell::EffectForceCastWithValue(SpellEffIndex effIndex)
|
||||
@@ -1620,7 +1622,9 @@ void Spell::EffectForceCastWithValue(SpellEffIndex effIndex)
|
||||
}
|
||||
int32 bp = damage;
|
||||
|
||||
unitTarget->CastCustomSpell(unitTarget, spellInfo->Id, &bp, &bp, &bp, true, NULL, NULL, m_originalCasterGUID);
|
||||
Unit * caster = GetTriggeredSpellCaster(spellInfo, m_caster, unitTarget);
|
||||
|
||||
caster->CastCustomSpell(unitTarget, spellInfo->Id, &bp, &bp, &bp, true, NULL, NULL, m_originalCasterGUID);
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user