update merc data

This commit is contained in:
vietdungdev
2026-05-09 15:12:37 +07:00
parent 094eda658f
commit 070e47e460
3 changed files with 4 additions and 19 deletions

View File

@@ -77,6 +77,8 @@ func (gd *GameReader) OwnMercenary() (OwnMercenary, bool) {
Mode: mode.NpcMode(ReadUIntFromBuffer(monsterDataBuffer, 0x0C, Uint32)),
IsCorpse: ReadUIntFromBuffer(monsterDataBuffer, 0x1AE, Uint8) != 0,
HPPercent: mercenaryHPPercent(stats),
Strength: stats[stat.Strength],
Dexterity: stats[stat.Dexterity],
})
monsterUnitPtr = uintptr(gd.Process.ReadUInt(monsterUnitPtr+0x158, Uint64))