public override void ExecuteAfterAnimation()
 {
     base.ExecuteAfterAnimation();
     Debug.Log("[WHIPLASHES]: " + _halja.getWhiplashesCycles());
     if (_halja.getWhiplashesCycles() <= 0)
     {
         _halja.setWhipLashesClock(Time.time);
         _halja.setWhipLashesCountdown(6f);
         _halja.setChainOfDestinyCountdown(1.5f);
         _halja.setChainOfDestinyClock(Time.time);
         _halja.setPunishmentCountdown(4f);
         _halja.setPunishmentClock(Time.time);
         _halja.setWhipLashesCycles(3);
         _stateMachine.ChangeState(_halja._playerDetectState);
     }
     else
     {
         Collider[] player = Physics.OverlapSphere(_halja.transform.position, _halja.getWhiplashesMaxDistance(), LayerMask.GetMask("Player"));
         _player = player.Length == 0 ? null : player[0];
         if (_player == null)
         {
             _halja.setWhipLashesCycles(_halja.getWhiplashesCycles() - 1);
             _stateMachine.ChangeState(_halja._whipLashes);
         }
         else
         {
             _player.GetComponent <PlayerStatus>().TakeDamage(2f);
             _halja.setWhipLashesCycles(_halja.getWhiplashesCycles() - 1);
             _stateMachine.ChangeState(_halja._whipLashes);
         }
     }
 }
 public override void Exit()
 {
     base.Exit();
     _halja.lr.SetPosition(1, _halja.getThrowChainPosition().position);
     _halja.lr.enabled = false;
     _halja.setChainOfDestinyCountdown(5f);
     _halja.setChainOfDestinyClock(Time.time);
     _caught = false;
 }