| | |
| | | state = actInfo.get(ShareDefine.ActKey_State, 0)
|
| | | if not playerActID and not playerZoneID:
|
| | | GameWorld.DebugLog("仙盟攻城战活动玩家没有活动数据不需要重置! playerZoneID=%s,playerActID=%s" % (playerZoneID, playerActID), playerID)
|
| | | if state:
|
| | | roundNum, _ = GetRoundState(state)
|
| | | if roundNum and roundNum != playerRoundNum:
|
| | | __doPlayerRoundChange(curPlayer, playerRoundNum, roundNum)
|
| | | return
|
| | |
|
| | | ipyDataDict = actInfo.get(ShareDefine.ActKey_IpyDataInfo, {})
|
| | |
| | |
|
| | | if state and playerActID == actID and playerZoneID == zoneID:
|
| | | GameWorld.DebugLog("仙盟攻城战活动玩家正常活动中不需要重置! playerZoneID=%s,playerActID=%s,state=%s" % (playerZoneID, playerActID, state), playerID)
|
| | | roundNum, _ = GetRoundState(state)
|
| | | if roundNum and roundNum != playerRoundNum:
|
| | | __doPlayerRoundChange(curPlayer, playerRoundNum, roundNum)
|
| | | return
|
| | | GameWorld.DebugLog("仙盟攻城战活动玩家重置End! zoneID=%s,actID=%s,playerZoneID=%s,playerActID=%s,state=%s"
|
| | | % (zoneID, actID, playerZoneID, playerActID, state), playerID)
|