pre cw with probe and a bunch script to read game behavior
This commit is contained in:
1 parent
5120219ae2
commit
da8a32f60d
310 files changed
+219693
-872
No files matched your search
@@ -0,0 +1,16 @@
|
||||
-- Inspect the known native battle-target table, 32 rows per heartbeat.
|
||||
do
|
||||
local s=_G.__gacPeakCounterTargets1 or {};_G.__gacPeakCounterTargets1=s
|
||||
if not s.done then
|
||||
local function log(v)CS.UnityEngine.Debug.Log('[GAC_PEAK_COUNTER_TARGET] '..tostring(v))end
|
||||
local ok,err=pcall(function()
|
||||
if not s.it then s.it=CS.RPG.GameCore.BattleTargetConfigExcelTable.dataDict:GetEnumerator()end
|
||||
for i=1,32 do
|
||||
if not s.it:MoveNext()then s.done=true;log('END');return end
|
||||
local row=s.it.Current.Value;local name=tostring(row.AbilityName):lower()
|
||||
if name:find('peak')or name:find('turn')then log('ROW '..CS.Newtonsoft.Json.JsonConvert.SerializeObject(row))end
|
||||
end
|
||||
end)
|
||||
if not ok then s.done=true;log('ERROR '..tostring(err))end
|
||||
end
|
||||
end
|
||||
Reference in new issue
Block a user