Add reload logic for ranged weapons

This commit is contained in:
Peter Stockings
2026-01-27 17:16:46 +11:00
parent 7260781f38
commit 165cde6ca3
7 changed files with 129 additions and 26 deletions

View File

@@ -157,6 +157,7 @@ export function createRangedWeapon(
textureKey: t.textureKey,
spriteIndex: t.spriteIndex,
currentAmmo: t.magazineSize,
reloadingTurnsLeft: 0,
variant,
stats: {
attack: t.attack + attackBonus,