player.go Corpse offset (#53)
This commit is contained in:
@@ -42,7 +42,7 @@ func (gd *GameReader) GetRawPlayerUnits() RawPlayerUnits {
|
|||||||
if expChar > 0 {
|
if expChar > 0 {
|
||||||
isMainPlayer = gd.Process.ReadUInt(inventoryAddr+0x70, Uint16)
|
isMainPlayer = gd.Process.ReadUInt(inventoryAddr+0x70, Uint16)
|
||||||
}
|
}
|
||||||
isCorpse := gd.Process.ReadUInt(playerUnit+0x1A6, Uint8)
|
isCorpse := gd.Process.ReadUInt(playerUnit+0x1AE, Uint8)
|
||||||
|
|
||||||
statsListExPtr := uintptr(gd.Process.ReadUInt(playerUnit+0x88, Uint64))
|
statsListExPtr := uintptr(gd.Process.ReadUInt(playerUnit+0x88, Uint64))
|
||||||
baseStats := gd.getStatsList(statsListExPtr + 0x30)
|
baseStats := gd.getStatsList(statsListExPtr + 0x30)
|
||||||
|
|||||||
Reference in New Issue
Block a user