mirror of
https://github.com/mangosfour/server.git
synced 2025-12-15 01:37:00 +00:00
[10908] Imporve detection need use reagents by triggered spell.
Now regagent used if main spell (if infor about provided to triggered cast) not have regent data. This fix reagetn use for spell 43723. But maybe need another fixes for proper animation.
This commit is contained in:
parent
e1074c0ac1
commit
a84d67a389
3 changed files with 7 additions and 4 deletions
|
|
@ -1220,16 +1220,14 @@ void Spell::EffectDummy(SpellEffectIndex eff_idx)
|
|||
return;
|
||||
}
|
||||
// Demon Broiled Surprise
|
||||
/* FIX ME: Required for correct work implementing implicit target 7 (in pair (22,7))
|
||||
case 43723:
|
||||
{
|
||||
if (m_caster->GetTypeId() != TYPEID_PLAYER)
|
||||
return;
|
||||
|
||||
((Player*)m_caster)->CastSpell(unitTarget, 43753, true);
|
||||
((Player*)m_caster)->CastSpell(unitTarget, 43753, true, m_CastItem, NULL, m_originalCasterGUID, m_spellInfo);
|
||||
return;
|
||||
}
|
||||
*/
|
||||
case 43882: // Scourging Crystal Controller Dummy
|
||||
{
|
||||
if (!unitTarget || unitTarget->GetTypeId() != TYPEID_UNIT)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue