常用方法
常用方法
常用方法
常用方法
void HandleStatUsageEvent(StatUsageTriggerEvent sute) { PlayerSkill skill = mPlayerSkills.GetPlayerSkill(sute.Skill); if (skill.Level < skill.Max) { skill.Uses++; // TODO (James): Come up with a better leveling curve if (skill.Uses >= skill.Level * 10) { skill.Level++; } } }