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); }
public void SetSkillfulAchieved() { sm.AchieveSkillful(); SetAchievements(); }