Commit 2e941414 authored by gstuitje's avatar gstuitje
Browse files

Now Ahava levels slower than the other characters.

parent c3ad29e7
......@@ -17,9 +17,9 @@ public class DaytimeManager : MonoBehaviour {
if (Ahava!= null && Ahava.activeSelf)
{
float newLevel = 1
+ GameManager.JohnLevel - 1
+ GameManager.SilasLevel - 1
+ GameManager.SimonLevel - 1;
+ GameManager.JohnLevel*0.5f - 1
+ GameManager.SilasLevel*0.5f - 1
+ GameManager.SimonLevel*0.5f - 1;
float diffinLevels = newLevel - GameManager.AhavaLevel;
print("diff" + diffinLevels);
print("start" + GameManager.AhavaLevel % 1);
......
......@@ -5,14 +5,10 @@ using UnityEngine;
public class GameManager : MonoBehaviour {
public static float AhavaLevel;
public static float SilasLevel = 1.8f;
public static float SilasLevel = 1f;
public static float SimonLevel = 1f;
public static float JohnLevel = 1f;
public static float SilasLevelStored = 1.8f;
public static float SimonLevelStored = 1f;
public static float JohnLevelStored = 1f;
public static bool AhavaLevelUp;
private static bool SilasLevelUp = true;
......@@ -122,7 +118,7 @@ public class GameManager : MonoBehaviour {
}
public static void reset(){
SilasLevel = 1.1f;
SilasLevel = 1f;
SimonLevel = 1f;
JohnLevel = 1f;
......
Markdown is supported
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