full turns
This commit is contained in:
parent
7bd61df481
commit
6ff1531662
15 changed files with 879 additions and 100 deletions
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue