hxp
2022-03-28 3d169461574cf64b65f79e1f4898a65021fd195f
9415 【BT】【后端】古神战场(优化准备阶段进场坐标)
1个文件已修改
4 ■■■ 已修改文件
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameWorldLogic/FBProcess/GameLogic_CrossBattlefield.py 4 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameWorldLogic/FBProcess/GameLogic_CrossBattlefield.py
@@ -605,7 +605,9 @@
##副本玩家进入点, 玩家分散在半径3格范围
def OnGetFBEnterPos(curPlayer, mapID, lineId, ipyEnterPosInfo, tick):
    return random.choice(IpyGameDataPY.GetFuncEvalCfg("CrossBattlefieldFB", 2))
    randPosX, randPosY, minDist, maxDist = IpyGameDataPY.GetFuncEvalCfg("CrossBattlefieldFB", 2)
    posPoint = GameMap.GetEmptyPlaceInAreaEx(randPosX, randPosY, minDist, maxDist)
    return posPoint.GetPosX(), posPoint.GetPosY()
def DoEnterFB(curPlayer, tick):    
    gameFB = GameWorld.GetGameFB()