fixed a couple of the bugs that was found in playtest 3

This commit is contained in:
Melbyj1125
2022-01-26 13:30:01 -06:00
parent d27f8126cb
commit 076bf0e158
14 changed files with 180 additions and 121 deletions

View File

@@ -20,7 +20,7 @@ public class Nitro : MonoBehaviour
void Update()
{
//once cooldowns are implemented, put this on one (a long one)
if (Input.GetKeyDown(KeyCode.LeftShift) && isOnCoolDown == false)
if (Input.GetKeyDown(KeyCode.LeftShift) && isOnCoolDown == false && playerStats.HasNitro)
{
playerStats.CurVel = playerStats.MaxVel;
StartCoroutine(startCoolDown());

View File

@@ -19,7 +19,7 @@ MonoBehaviour:
minVelM: 0
curVelM: 0
accM: 0
jumpPowM: 15
jumpPowM: 30
jumpNumM: 0
tractionM: 0
kickPowM: 0