423 【内政】命格系统-服务端(推演增加A814回包;)
| | |
| | | def OnMinggeTuiyan(index, clientData, tick):
|
| | | curPlayer = GameWorld.GetPlayerManager().GetPlayerByIndex(index)
|
| | | tyCount = clientData.Count
|
| | | DoMinggeTuiyan(curPlayer, tyCount)
|
| | | if not DoMinggeTuiyan(curPlayer, tyCount):
|
| | | ItemCommon.SyncMakeItemAnswer(curPlayer, ShareDefine.Def_mitMGTuiyan, ChConfig.Def_ComposeState_Fail, 0)
|
| | | return
|
| | |
|
| | | def GetMGColorRateList(curPlayer):
|
| | |
| | | PlayerControl.NomalDictSetProperty(curPlayer, ChConfig.Def_PDict_MGGanwuLV, updLV)
|
| | | PlayerControl.NomalDictSetProperty(curPlayer, ChConfig.Def_PDict_MGGanwuExp, updExp)
|
| | | Sync_MinggeInfo(curPlayer)
|
| | | return
|
| | | |
| | | ItemCommon.SyncMakeItemAnswer(curPlayer, ShareDefine.Def_mitMGTuiyan, ChConfig.Def_ComposeState_Sucess, succCount)
|
| | | return True
|
| | |
|
| | | #// B2 51 命格分解 #tagCSMinggeDecompose
|
| | | #
|
| | |
| | | Def_mitGatherSoulCompound,# 聚魂合成
|
| | | Def_mitGatherSoulDecompose,# 聚魂分解
|
| | | Def_mitMainDropItemOP,# 主线装备操作 25
|
| | | ) = range(1, 1 + 25)
|
| | | Def_mitMGTuiyan, # 命格推演 26
|
| | | ) = range(1, 1 + 26)
|
| | |
|
| | | #---写死的技能ID---
|
| | |
|