-- Read only the initialized handbook getter, six calls maximum, paused in Battle. do _G.__gacCwHandbookPulse5=_G.__gacCwHandbookPulse5 or 0 if _G.__gacCwHandbookPulse5>=6 then return end local flags=CS.System.Enum.ToObject(typeof(CS.System.Reflection.BindingFlags),60) local manager=CS.RPG.Client.GlobalVars.s_GamePhaseManager local phase=manager and typeof(CS.RPG.Client.GamePhaseManager):GetField('_CurrentPhase',flags):GetValue(manager) if not phase or typeof(CS.RPG.Client.BattleGamePhase):IsInstanceOfType(phase)then return end _G.__gacCwHandbookPulse5=_G.__gacCwHandbookPulse5+1 CS.RPG.Client.GlobalVars.s_ModuleManager.GridFightModule:GetHandBookAllRoleConfig() end