| | |
| | | import PlayerUniversalGameRec
|
| | |
|
| | | import random
|
| | | import json
|
| | | import math
|
| | |
|
| | | RecType = ShareDefine.Def_UniversalGameRecType_XMZZStageRecord
|
| | |
| | | curCache = PlayerViewCache.ViewCacheMgr.FindCache(pkPlayerID)
|
| | | if not curCache:
|
| | | return
|
| | | PropData, ItemData = curCache.GetPropData(), curCache.GetItemData()
|
| | |
|
| | | packData = ChPyNetSendPack.tagGCXMZZFightInfo()
|
| | | packData.Clear()
|
| | | packData.PlayerID = pkPlayerID
|
| | | packData.PropData = PropData
|
| | | packData.PropData = curCache.GetPropData()
|
| | | packData.PropDataSize = len(packData.PropData)
|
| | | packData.ItemData = ItemData
|
| | | packData.ItemData = PlayerViewCache.GetItemData(curCache)
|
| | | packData.ItemDataSize = len(packData.ItemData)
|
| | | NetPackCommon.SendFakePack(curPlayer, packData)
|
| | | return
|
| | |
| | | power = propDataDict.get('FightPower', 0)
|
| | | g_playerPowerDict[playerID] = power
|
| | |
|
| | | pkDataDict[playerID] = [curCache.GetPropData(), curCache.GetItemData()]
|
| | | pkDataDict[playerID] = [curCache.GetPropData(), itemData]
|
| | | #GameWorld.DebugLog(' 筛选对手 playerID=%s,power=%s' % (playerID, power))
|
| | | if minPower1 < power < myPower:
|
| | | underList1.append(playerID)
|