local Base = require("Battle/Logic/Level/LevelFunction/SyncLevelFunction") local SyncFourForceLevelFunction = class("SyncFourForceLevelFunction",Base) function SyncFourForceLevelFunction:BeginLevel() Base.BeginLevel(self) --如果是在重新进入的时,需要让玩家重新active if not MultiplayManager.IsFromStartEnter then MultiplayManager.SetAllRolesActive() end end function SyncFourForceLevelFunction:OnRevive(entity,isInBornPoint) -- 不使用Base SystemManager.OnRevive(entity,isInBornPoint) return true end function SyncFourForceLevelFunction:GetRobotAI() return LuaConst.FourForceRobotAIID end return SyncFourForceLevelFunction