| | |
| | | if not ipyData:
|
| | | return
|
| | | mainSkillID = ipyData.GetMainSkillID()
|
| | | |
| | | if curPlayer.GetLV() < ipyData.GetNeedLV():
|
| | | GameWorld.DebugLog('选择技能五行专精等级不足!')
|
| | | return
|
| | | |
| | | curElementSkillID = curPlayer.NomalDictGetProperty(ChConfig.Def_PDict_SkillElementID % mainSkillID)
|
| | | if selectSkillID == curElementSkillID:
|
| | | GameWorld.DebugLog('已经是该专精技能!')
|
| | |
| | | #更新新技能
|
| | | RefreshElementSkill(curPlayer, selectSkillID)
|
| | | # 重刷被动技能
|
| | | PassiveBuffEffMng.GetPassiveEffManager().RegistPassiveEff(curPlayer) |
| | | PassiveBuffEffMng.GetPassiveEffManager().RegistPassiveEff(curPlayer)
|
| | | # 重刷技能战力
|
| | | PlayerControl.PlayerControl(curPlayer).RefreshAllSkill()
|
| | | PlayerControl.PlayerControl(curPlayer).RefreshPlayerAttrState()
|
| | |
|
| | | NotifyElementSkillInfo(curPlayer, mainSkillID)
|
| | | return
|
| | |
| | | # 重刷被动技能
|
| | | PassiveBuffEffMng.GetPassiveEffManager().RegistPassiveEff(curPlayer)
|
| | | # 重刷技能战力
|
| | | PlayerControl.PlayerControl(curPlayer).RefreshAllSkill()
|
| | | PlayerControl.PlayerControl(curPlayer).RefreshPlayerAttrState()
|
| | | return
|
| | |
|
| | | def GetElementSkillCnt(curPlayer):
|