mirror of
https://github.com/mangosfour/server.git
synced 2025-12-28 13:37:13 +00:00
Update src/game/SpellEffects.cpp
This commit is contained in:
parent
8793abd2c4
commit
b35dea1703
1 changed files with 7 additions and 3 deletions
|
|
@ -6703,6 +6703,9 @@ void Spell::EffectScriptEffect(SpellEffectIndex eff_idx)
|
|||
}
|
||||
case 45141: // Burn
|
||||
{
|
||||
if (!unitTarget)
|
||||
return;
|
||||
|
||||
unitTarget->CastSpell(unitTarget, 46394, true, NULL, NULL, m_caster->GetObjectGuid());
|
||||
return;
|
||||
}
|
||||
|
|
@ -6717,10 +6720,11 @@ void Spell::EffectScriptEffect(SpellEffectIndex eff_idx)
|
|||
}
|
||||
case 45185: // Stomp
|
||||
{
|
||||
// Remove the burn effect
|
||||
if (unitTarget->HasAura(46394))
|
||||
unitTarget->RemoveAurasDueToSpell(46394);
|
||||
if (!unitTarget)
|
||||
return;
|
||||
|
||||
// Remove the burn effect
|
||||
unitTarget->RemoveAurasDueToSpell(46394);
|
||||
return;
|
||||
}
|
||||
case 45206: // Copy Off-hand Weapon
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue