| | |
| | | import PlayerControl
|
| | | import IpyGameDataPY
|
| | | import PlayerBillboard
|
| | | import PlayerZhanling
|
| | | import ItemControler
|
| | | import PlayerArena
|
| | | import PlayerGubao
|
| | | import PyGameData
|
| | | import FBCommon
|
| | | import ChConfig
|
| | |
| | | '''
|
| | | playerID = curPlayer.GetPlayerID()
|
| | | matchIDList = PyGameData.g_arenaPlayerMatchDict.get(playerID, [])
|
| | | #if tagPlayerID in matchIDList:
|
| | | # return matchIDList.index(tagPlayerID)
|
| | | if tagPlayerID in matchIDList:
|
| | | return matchIDList.index(tagPlayerID)
|
| | |
|
| | | gameRecMgr = DBDataMgr.GetGameRecMgr()
|
| | | atkRecMgr = gameRecMgr.GetRecTypeIDMgr(ShareDefine.Def_GameRecType_ArenaRecord, playerID)
|
| | |
| | |
|
| | | # 战斗结束系统强制刷新匹配
|
| | | PlayerArena.DoArenaMatchRefresh(curPlayer, True, isSys=True)
|
| | | |
| | | PlayerZhanling.AddZhanlingValue(curPlayer, PlayerZhanling.ZhanlingType_ArenaCnt, 1)
|
| | | PlayerGubao.AddGubaoSpecEffLayer(curPlayer, PlayerGubao.GubaoEffType_Arena, 1)
|
| | | return
|
| | |
|
| | | def __updArenaBatRecord(curPlayer, turnFight, tagPlayerID, isWin, atkAddScore, defDecScore):
|