do local s=_G.__gacDamageLogicStats1 or {phase=1,index=0};_G.__gacDamageLogicStats1=s if not s.done then local function log(v)CS.UnityEngine.Debug.Log('[GAC_DAMAGE_LOGIC] '..tostring(v))end local ok,err=pcall(function() local flags=CS.System.Enum.ToObject(typeof(CS.System.Reflection.BindingFlags),60) local t=s.phase==1 and typeof(CS.RPG.GameCore.TurnBasedGameMode)or typeof(CS.RPG.GameCore.GameEntity) local fs=t:GetFields(flags) for i=s.index,math.min(s.index+15,fs.Length-1)do log('FIELD '..s.phase..' '..fs[i].Name..' '..tostring(fs[i].FieldType))end s.index=s.index+16;if s.index>=fs.Length then s.phase=s.phase+1;s.index=0;if s.phase>2 then s.done=true end end end) if not ok then s.done=true;log('ERROR '..tostring(err))end end end