Revert "【战斗】=========打闹天宫获取英雄模板数据修改,改为全从 heroconfig 表获取"
This reverts commit a2b96970cc
.
dev_chengFeng
parent
60100b65cd
commit
177d07ecfd
|
@ -313,14 +313,11 @@ this.curAttackNodeInfo = {}
|
|||
--开始战斗
|
||||
function this.ExecuteFightBattle(_nodeId,_teamId,_expInfo, callBack)
|
||||
local num = 1
|
||||
if this.curAttackNodeInfo and this.curAttackNodeInfo.bossTeaminfo.teamInfo and this.curAttackNodeInfo.bossTeaminfo.teamInfo > 0 then
|
||||
if this.curAttackNodeInfo and this.curAttackNodeInfo.bossTeaminfo.teamInfo and this.curAttackNodeInfo.bossTeaminfo.teamInfo > 0 then
|
||||
num = 0
|
||||
else
|
||||
num = 1
|
||||
LogError("this.curAttackNodeInfo.bossTeaminfo.teamInfo 数据异常")
|
||||
end
|
||||
--大脑天宫改为类pvp类型的战斗模式 从heroconfig 抓取模板数据
|
||||
num = 1
|
||||
NetManager.StartExpeditionBattleRequest(_nodeId, _teamId, _expInfo,function (msg)
|
||||
local fightData = BattleManager.GetBattleServerData(msg,num)
|
||||
for o = 1, #this.nodeInfo do
|
||||
|
|
Loading…
Reference in New Issue