| | |
| | | sendMsg["isChangeMap"] = 1
|
| | | PlayerControl.PlayerEnterFB(curPlayer, mapID, funcLineID, reqInfoEx=sendMsg)
|
| | | return True
|
| | | |
| | | # 玩家自身需要用镜像的情况
|
| | | if isSysbg and playerID and playerID in mirrorIDList:
|
| | | PlayerViewCacheTube.NormalSyncPackData(curPlayer)
|
| | | |
| | | sendMsg = str(sendMsg)
|
| | | GameWorld.GetPlayerManager().GameServer_QueryPlayerResult(0, 0, 0, "ReuestPlayerPackData", sendMsg, len(sendMsg))
|
| | | GameWorld.DebugLog("请求创建镜像战斗: %s" % sendMsg, playerID)
|
| | |
| | | realPlayerID = player.GetRealPlayerID()
|
| | | hp = GameObj.GetHP(player)
|
| | | hpMax = GameObj.GetMaxHP(player)
|
| | | fightPower = PlayerControl.GetFightPower(player)
|
| | |
|
| | | GameWorld.DebugLog("剩余血量: %s/%s, 护盾:%s/%s,playerID=%s,realPlayerID=%s,faction=%s" |
| | | % (hp, hpMax, PlayerControl.GetProDef(player), PlayerControl.GetMaxProDef(player), playerID, realPlayerID, faction), battleID)
|
| | | GameWorld.DebugLog("剩余血量: %s/%s, 护盾:%s/%s,playerID=%s,realPlayerID=%s,faction=%s,fightPower=%s" |
| | | % (hp, hpMax, PlayerControl.GetProDef(player), PlayerControl.GetMaxProDef(player), playerID, realPlayerID, faction, fightPower), battleID)
|
| | | if faction == 1:
|
| | | battle.curHP += hp
|
| | | battle.curHPMax += hpMax
|