mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-22 18:15:31 +01:00
Spell/Script: Kill logs spam for spell_ioc_parachute_ic
Closes #23163
(cherry picked from commit c318b3e16d)
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