update code

This commit is contained in:
vietdungdev
2026-05-21 22:56:13 +07:00
parent 88548e97fc
commit aec833c636
2 changed files with 2 additions and 0 deletions

View File

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