mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-02-05 16:39:08 +01:00
Fix - Death Grip Spell [Have to Grip the Vehicle instead Passenger]
--HG-- branch : trunk
This commit is contained in:
@@ -1914,7 +1914,10 @@ void Spell::EffectDummy(uint32 i)
|
||||
// Death Grip
|
||||
if(m_spellInfo->Id == 49560)
|
||||
{
|
||||
unitTarget->CastSpell(m_caster, damage, true);
|
||||
if (unitTarget->m_Vehicle)
|
||||
unitTarget->m_Vehicle->CastSpell(m_caster, damage, true);
|
||||
else
|
||||
unitTarget->CastSpell(m_caster, damage, true);
|
||||
return;
|
||||
}
|
||||
else if(m_spellInfo->Id == 46584) // Raise dead
|
||||
|
||||
Reference in New Issue
Block a user