【灵兽宝阁】增加假战斗
parent
e4f48eb668
commit
933f2d4768
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue