continuing with combat, sword combos working, not finished, blockign working, need to build blockpush and improving bow combat

This commit is contained in:
2026-09-30 16:39:18 +01:00
parent 7486c8d310
commit 4980fb8128
2095 changed files with 1069655 additions and 652 deletions

View File

@@ -89,6 +89,7 @@ public class BowAimLayerController : MonoBehaviour
// Are we currently holding the aim button (right click)?
private bool _isAiming;
public bool IsAiming => _isAiming;
// Are we currently holding the draw button (left click)?
private bool _isDrawing;
@@ -277,6 +278,16 @@ public class BowAimLayerController : MonoBehaviour
}
}
public float CurrentDrawPercentage
{
get
{
if (!_isDrawing) return 0f;
float drawDuration = Time.time - _drawStartTime;
return Mathf.Clamp01(drawDuration / _maxDrawTime);
}
}
private void CancelDraw()
{
if (_isDrawing)