From 7a98fc5117228bcb00853b61a5467bddd165a6ef Mon Sep 17 00:00:00 2001 From: elb Date: Fri, 6 Dec 2024 22:12:56 -0500 Subject: [PATCH] Class offset updated --- pkg/memory/player.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/memory/player.go b/pkg/memory/player.go index 9b65f3f..0dfa765 100644 --- a/pkg/memory/player.go +++ b/pkg/memory/player.go @@ -88,7 +88,7 @@ func (gd *GameReader) GetPlayerUnit(mainPlayerUnit RawPlayerUnit) data.PlayerUni rightSkillId := uintptr(gd.Process.ReadUInt(rightSkillTxtPtr, Uint16)) // Class - class := data.Class(gd.Process.ReadUInt(mainPlayerUnit.Address+0x174, Uint32)) + class := data.Class(gd.Process.ReadUInt(mainPlayerUnit.Address+0x17C, Uint32)) availableWPs := make([]area.ID, 0) // Probably there is a better place to pick up those values, since this seems to be very tied to the UI