Update missing itemstat offset (#65)

This commit is contained in:
elb
2024-12-23 09:59:01 -05:00
committed by GitHub
parent 8a1f7e1a17
commit 5eae82b847

View File

@@ -157,7 +157,7 @@ func (gd *GameReader) Inventory(rawPlayerUnits RawPlayerUnits, hover data.HoverD
// We don't care about the inventory we don't know where they are, probably previous games or random crap
if location != item.LocationUnknown {
// Item Stats
statsListExPtr := uintptr(ReadUIntFromBuffer(itemDataBuffer, 0x88, Uint64))
statsListExPtr := uintptr(ReadUIntFromBuffer(itemDataBuffer, 0xA8, Uint64))
baseStats, stats := gd.getItemStats(statsListExPtr)
itm.Stats = stats
itm.BaseStats = baseStats