| | |
| | | import SkillCommon
|
| | | import SkillShell
|
| | | import PassiveBuffEffMng
|
| | | import DataRecordPack
|
| | | import CrossPlayerData
|
| | |
|
| | | import time
|
| | | #-------------------------------------------------------------
|
| | |
| | | for skillID in skillList:
|
| | | __GiveSkill(curPlayer, skillID)
|
| | |
|
| | | CrossPlayerData.OnDienstgradChange(curPlayer, dienstgradID, 1)
|
| | | |
| | | #重新刷新角色属性
|
| | | if isRefreshAttr:
|
| | | CalcAllDienstgradAttr(curPlayer)
|
| | |
| | | if curDienstgradData:
|
| | | # 删除对应技能
|
| | | __DelSkill(curPlayer, curDienstgradData)
|
| | | DataRecordPack.Cache_FightPowerChangeInfo(curPlayer, ChConfig.PowerDownType_Title, {'dienstgradID':dienstgradID})
|
| | |
|
| | | CrossPlayerData.OnDienstgradChange(curPlayer, dienstgradID, 0)
|
| | | #重新刷新角色属性
|
| | | if isRefreshAttr:
|
| | | CalcAllDienstgradAttr(curPlayer)
|