【战斗】假战斗随机种子读表
parent
4a6d8b393f
commit
f1ca8398d3
|
@ -608,7 +608,7 @@ function this.GetFakeBattleData(fakeId)
|
|||
local battleData = {}
|
||||
battleData.enemyData = this.GetBattleEnemyData(fakeConfig.EnnemiId)
|
||||
battleData.playerData = this.GetPlayerDataFromMonsterGroup(fakeConfig.OwnId)
|
||||
return battleData
|
||||
return battleData, fakeConfig.TimeSeed
|
||||
end
|
||||
|
||||
|
||||
|
|
|
@ -188,9 +188,7 @@ end
|
|||
|
||||
function this.RunFakeBattle(fakeId)
|
||||
fakeId = tonumber(fakeId)
|
||||
local fdata = BattleManager.GetFakeBattleData(fakeId)
|
||||
local fseed = 0
|
||||
|
||||
local fdata, fseed = BattleManager.GetFakeBattleData(fakeId)
|
||||
local testFightData = {
|
||||
fightData = fdata,
|
||||
fightSeed = fseed,
|
||||
|
|
Loading…
Reference in New Issue