Example #1
0
    // Start is called before the first frame update
    void Start()
    {
        dmg_half_reduction = 100;
        ui_open            = false;
        invincible         = false;
        no_mana_cost       = false;
        inventory.InitInventory();
        inventory.ActivateEquipBuffs();
        inventory_canvas.SetActive(false);
        character_stats_canvas.SetActive(false);
        game_over_canvas.SetActive(false);

        curr_health   = variables_stats[(int)StatId.MaxHealth].Buffed_value;
        curr_resource = variables_stats[(int)StatId.MaxResource].Buffed_value;

        invincible_display.SetActive(invincible);
        no_mana_display.SetActive(no_mana_cost);
    }