Ejemplo n.º 1
0
    public static void Reset()
    {
        InDialog       = false;
        FladderKilled  = false;
        FladderArested = false;
        RandKilled     = false;
        PriestOut      = false;
        FjallKilled    = false;
        FoxerKilled    = false;

        initialPosition    = Vector3.zero;
        translateOnStartup = false;
        PreBattleLevelName = "";
        difficultyFactor   = 20;
        boss = null;

        gameOverDelegate        = new GameOverDelegate(defaultGameOver);
        battleCompletedDelegate = new BattleCompletedDelegate(defaultBattleComplete);
        battleType = BattleType.FOREST_BATTLE;

        boss1Defeated = false;
        boss2Defeated = false;
        boss3Defeated = false;
        boss4Defeated = false;

        Dialog.PlayedDialogs.Clear();

        foreach (PlayerStats p in PlayerContainer.players)
        {
            p.healthPoints   = 100;
            p.battleProgress = 50;
            p.damage         = 10;
        }
    }
Ejemplo n.º 2
0
 public static void bossDefeated()
 {
     Play(Resources.Load <AudioClip> ("sounds/music/Combat10_Win Combat Boss"));
     Globals.boss = null;
     Globals.battleCompletedDelegate = Globals.defaultBattleComplete;
     Globals.difficultyFactor       += 20;
     lvlup();
 }