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)
|
function this.ExecuteFightBattle(_nodeId,_teamId,_expInfo, callBack)
|
||||||
local num = 1
|
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
|
num = 0
|
||||||
else
|
else
|
||||||
num = 1
|
num = 1
|
||||||
LogError("this.curAttackNodeInfo.bossTeaminfo.teamInfo 数据异常")
|
|
||||||
end
|
end
|
||||||
--大脑天宫改为类pvp类型的战斗模式 从heroconfig 抓取模板数据
|
|
||||||
num = 1
|
|
||||||
NetManager.StartExpeditionBattleRequest(_nodeId, _teamId, _expInfo,function (msg)
|
NetManager.StartExpeditionBattleRequest(_nodeId, _teamId, _expInfo,function (msg)
|
||||||
local fightData = BattleManager.GetBattleServerData(msg,num)
|
local fightData = BattleManager.GetBattleServerData(msg,num)
|
||||||
for o = 1, #this.nodeInfo do
|
for o = 1, #this.nodeInfo do
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue