【首冲】 首冲测试战斗修改提交

zhangqiang 2020-12-08 16:13:23 +08:00
parent b46e0f9105
commit 934e74672e
1 changed files with 4 additions and 3 deletions

View File

@ -74,10 +74,11 @@ function FirstRechargePanel:BindEvent()
end)
end
Util.AddClick(self.heroPreviewBtn, function()
local fb = ConfigManager.GetConfigData(ConfigName.FakeBattle, 1002)
local fakeId = tonumber(1008)
local fdata, fseed = BattleManager.GetFakeBattleData(fakeId)
local testFightData = {
fightData = loadstring("return "..fb.FightData)(),
fightSeed = fb.TimeSeed,
fightData = fdata,
fightSeed = fseed,
fightType = 0,
maxRound = 20
}