Exemplo n.º 1
0
 public void Stomp()
 {
     if (!stunned)
     {
         _animator.SetTrigger("Stomp");
         if (inTriggerZone != null)
         {
             inTriggerZone.DealDamage(InputManager.instance.stompDamage * creatureDamage, InputManager.instance.stunDuration);
             CameraShake._CameraShake.DoCameraShake(0.2f, InputManager.instance.stompDamage / 500);
         }
     }
 }