Exemple #1
0
    void SetStartingHeadValue()
    {
        if (level == 1)
        {
            startingHeadValue = 70.0f;
        }
        else
        {
            startingHeadValue = 70.0f - (level * 10.0f);
        }

        if (startingHeadValue < 0.0f)
        {
            startingHeadValue = 0.0f;
        }

        ouroborosSystem.SetStartingHeadValue(startingHeadValue);
    }