Exemplo n.º 1
0
    public bool CheckSkillfulAchievement()
    {
        //skillsCount = sm.GetBatCap() + sm.GetTurboCap() + sm.GetShieldCap() + sm.GetMagnetCap() + sm.GetStealthCap();
        skillsCount = pm.batCap + pm.turboCap + pm.shieldCap + pm.magnetCap + pm.stealthCap;

        //print("skillsCount = " + skillsCount);

        if (skillsCount == 9)
        {
            // skillful achievement unlock
            sm.AchieveSkillful();
            return(true);
        }

        return(false);
    }
Exemplo n.º 2
0
    public void SetSkillfulAchieved()
    {
        sm.AchieveSkillful();

        SetAchievements();
    }