| | |
| | | return point;
|
| | | }
|
| | |
|
| | | public int GetSeriesPoint(int talentType,int talentSeries)
|
| | | public int GetSeriesPoint(int talentType, int talentSeries)
|
| | | {
|
| | | var job = PlayerDatas.Instance.baseData.Job;
|
| | | List<int> list;
|
| | |
| | | }
|
| | | UpdateRedpoint();
|
| | | }
|
| | | else if (refreshType == PlayerDataRefresh.STR
|
| | | || refreshType == PlayerDataRefresh.PNE
|
| | | || refreshType == PlayerDataRefresh.PHY
|
| | | || refreshType == PlayerDataRefresh.CON)
|
| | | {
|
| | | UpdateRedpoint();
|
| | | }
|
| | | }
|
| | |
|
| | | public void UpdateTalentSkill(int _oldSkillId, int _newSkillId)
|
| | |
| | | }
|
| | | }
|
| | | }
|
| | | UpdateRedpoint();
|
| | | }
|
| | |
|
| | | public void DeleteTalentSkill(int _skillId)
|
| | |
| | | talentSkillUpdate(config.SkillTypeID);
|
| | | }
|
| | | }
|
| | | UpdateRedpoint();
|
| | | }
|
| | | #endregion
|
| | |
|
| | |
| | | {
|
| | | return;
|
| | | }
|
| | | if (talentPoint > 0)
|
| | | if (talentPoint == 0)
|
| | | {
|
| | | talentRedpoint.state = RedPointState.Simple;
|
| | | return;
|
| | | }
|
| | | var error = 0;
|
| | | foreach (var talent in talentSkills.Values)
|
| | | {
|
| | | if (SatisfyLevelUp(talent.skillId, out error))
|
| | | {
|
| | | talentRedpoint.state = RedPointState.Simple;
|
| | | break;
|
| | | }
|
| | | }
|
| | | }
|
| | | #endregion
|