mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-20 09:17:36 +01:00
@@ -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.fallTime > 2000 && !target->GetTransport())
|
||||
target->CastSpell(target, SPELL_PARACHUTE_IC, true);
|
||||
|
||||
Reference in New Issue
Block a user