Rebalanced Items & Bug Fixed

I updated the player prefabs to be more in line with one another and
increased the max speed they can have
This commit is contained in:
Melbyj1125
2022-02-02 00:08:06 -06:00
parent bf874ddc84
commit f683a48b84
12 changed files with 1063 additions and 39 deletions

View File

@@ -35,12 +35,12 @@ public class Nitro : MonoBehaviour
if(isNitroing){
if(tempTimer > 0){
tempTimer -= .01f;
tempTimer -= .02f;
Debug.Log("nitro is on");
if(playerStats.CurVel < playerStats.HardCapMaxVel){
playerStats.CurVel += playerStats.Acc * 10;
playerStats.CurVel += playerStats.Acc * 50;
}
else if(playerStats.CurVel > playerStats.HardCapMaxVel){
playerStats.CurVel = playerStats.HardCapMaxVel;