mirror of
https://github.com/Leahnaya/TheKingsRace.git
synced 2026-08-21 18:04:27 -05:00
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:
@@ -35,12 +35,12 @@ public class dNitro : MonoBehaviour
|
||||
if(isNitroing){
|
||||
if(tempTimer > 0){
|
||||
|
||||
tempTimer -= .04f;
|
||||
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;
|
||||
|
||||
Reference in New Issue
Block a user