Sets the player velocity to zero if the land a hit in midair with an attack, for hitfreeze_ticks as specified in the player config.
Currently doesn't distinguish between ranged and melee attacks. (as Attack itself doesn't track that)
New attacks will reset the air_tick timer if they land, so if hitfreeze_ticks is longer then the attack animation the player could stay in midair as long as the attacks keep landing.
Sets the player velocity to zero if the land a hit in midair with an attack, for hitfreeze_ticks as specified in the player config. Currently doesn't distinguish between ranged and melee attacks. (as
Attack
itself doesn't track that)New attacks will reset the air_tick timer if they land, so if hitfreeze_ticks is longer then the attack animation the player could stay in midair as long as the attacks keep landing.