3 private const float TREMOR_DECREMENT_PER_SEC = 0.008;
13 override bool ActivateCondition(
PlayerBase player)
15 if ( player.GetStatTremor().Get() > player.GetStatTremor().GetMin() )
25 override bool DeactivateCondition(
PlayerBase player)
27 if ( player.GetStatTremor().Get() == player.GetStatTremor().GetMin() )
37 override void OnTick(
PlayerBase player,
float deltaT)
39 player.GetStatTremor().Add( (TREMOR_DECREMENT_PER_SEC*deltaT) );