Skip to content
Snippets Groups Projects
Commit c0e7dd3e authored by billc27's avatar billc27
Browse files

fix: skill cutscene

parent 007be7f6
Branches
Tags
1 merge request!34Bonus: Skill Cutscene
......@@ -6,7 +6,7 @@ namespace Nightmare
{
public class GrenadeManager : MonoBehaviour
{
public static double grenades; // The player's score.
public static int grenades; // The player's score.
Text gText; // Reference to the Text component.
......@@ -18,7 +18,7 @@ namespace Nightmare
gText = GetComponent<Text>();
// Reset the score.
grenades = double.PositiveInfinity;
grenades = 0;
}
......
......@@ -15,7 +15,7 @@ namespace Nightmare
public float grenadeSpeed = 200f;
public float grenadeFireDelay = 0.5f;
public float damagePercent = 1;
int grenadeStock = 99;
int grenadeStock = int.MaxValue;
float timer, grenadeTimer;
public List<GameObject> weaponsList;
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment