full turns

This commit is contained in:
reisenlol 2026-01-11 04:22:09 -08:00
parent 7bd61df481
commit 6ff1531662
No known key found for this signature in database
15 changed files with 879 additions and 100 deletions

View file

@ -17,7 +17,6 @@ public class RangedWeapon : Weapon
{
if (!fired)
{
fired = true;
AttackEffects();
}
}
@ -39,6 +38,13 @@ public class RangedWeapon : Weapon
if (Input.GetMouseButtonDown(0))
{
CreateProjectile(mousePos);
fired = true;
isAiming = false;
thisEntity.hasAttacked = true;
TurnHandler.instance.UpdateTurns();
}
else if (Input.GetMouseButtonDown(1))
{
isAiming = false;
}
}