Spell/Script: Kill logs spam for spell_ioc_parachute_ic
Closes #23163 (cherry picked from commit c318b3e16d482654112c528d100edddaf6d4e0fe)
This commit is contained in:
@@ -190,6 +190,7 @@ class spell_ioc_parachute_ic : public SpellScriptLoader
|
||||
|
||||
void HandleTriggerSpell(AuraEffect const* /*aurEff*/)
|
||||
{
|
||||
PreventDefaultAction();
|
||||
if (Player* target = GetTarget()->ToPlayer())
|
||||
if (target->m_movementInfo.GetFallTime() > 2000 && !target->GetTransport())
|
||||
target->CastSpell(target, SPELL_PARACHUTE_IC, true);
|
||||
|
||||
Reference in New Issue
Block a user