tools(re): correct transposed field labels in the kit record diff
club_items.json's _record_map is authoritative: cardassetid is +0x1c and assetId is +0x20. The probe had them the other way round, which made a correct assetId 14/15 read out as an identical cardassetid and briefly supported the wrong conclusion that assetId was not the art selector.
This commit is contained in:
@@ -60,8 +60,10 @@ root = q(owner + 0x160D8)
|
||||
FIELDS = {
|
||||
0x08: ("id", 8),
|
||||
0x18: ("resourceId/definitionId", 4),
|
||||
0x1C: ("assetId", 4),
|
||||
0x20: ("cardassetid", 4),
|
||||
# Offsets per club_items.json `_record_map`, which is authoritative:
|
||||
# cardassetid is +0x1c and assetId is +0x20 — NOT the other way round.
|
||||
0x1C: ("cardassetid", 4),
|
||||
0x20: ("assetId", 4),
|
||||
0x38: ("discardValue", 4),
|
||||
0x4C: ("cardtype", 4),
|
||||
0x50: ("cardsubtypeid", 4),
|
||||
|
||||
Reference in New Issue
Block a user