【灵兽宝阁】增加假战斗

dev_chengFeng
ZhangBiao 2020-11-13 16:25:42 +08:00
parent e4f48eb668
commit 933f2d4768
1 changed files with 5 additions and 5 deletions

View File

@ -78,12 +78,12 @@ function LingShouBaoGe:BindEvent()
end)
Util.AddClick(this.preview, function()
local fb = ConfigManager.GetConfigData(ConfigName.FakeBattle, 1006)
local fdata, fseed = BattleManager.GetFakeBattleData(1006)
local testFightData = {
fightData = loadstring("return "..fb.FightData)(),
fightSeed = fb.TimeSeed,
fightType = 0,
maxRound = 20
fightData = fdata,
fightSeed = fseed,
fightType = 0,
maxRound = 20
}
UIManager.OpenPanel(UIName.BattlePanel, testFightData, BATTLE_TYPE.Test)
end)