begin shaft_top_scriptif ( GetDistance Player <= 100 ) if ( Player->GetSpell "slowfall_curse" == 0 ) Player->AddSpell "slowfall_curse" StartScript shaft_failsafe_script endifendifend
begin shaft_bottom_scriptif ( GetDistance Player <= 100 ) if ( Player->GetSpell "slowfall_curse" == 1 ) Player->RemoveSpell "slowfall_curse" endifendifend
begin shaft_failsafe_script; this is in case that player is a smarta$$ and *does* leave the cell with the spell turned on (for example, through Recall or Divine Intervention)if ( GetPCCell "your cell" == 1 ) returnendifif ( Player->GetSpell "slowfall_curse" == 1 ) Player->RemoveSpell "slowfall_curse"endifStopScript shaft_failsafe_scriptend