--逐鹿中原(大乱斗)第一层 local EventSystem = require('Event/EventSystem') local Base = require("Battle/Logic/Level/LevelFunction/FightThroneBaseLevelFunction") local FightThroneFirstFloorLevelFunction = class("FightThroneFirstFloorLevelFunction",Base) local FightThroneSwitchModeDelayFrame = DataSheetManager.ConstData:GetDataByID("FightThroneSwitchMode").IntValue * LuaConst.LogicFrameRate function FightThroneFirstFloorLevelFunction:InitLevel() Base.InitLevel(self) self.shouldSnatchShard = true end function FightThroneFirstFloorLevelFunction:OnPlayerActived(playerID) Base.OnPlayerActived(self, playerID) if LogicUpdateManager._clientHandleFrame < FightThroneSwitchModeDelayFrame then SystemManager.SetFightMode(playerID, LuaConst.EFightMode.PEACE, true) end end return FightThroneFirstFloorLevelFunction