get base stats and stats from player and fetch life/mana from stats instead of base stats

This commit is contained in:
Héctor Giménez
2024-05-02 19:13:14 +09:00
parent 345e37bbf9
commit 0d5c108721
3 changed files with 29 additions and 55 deletions

View File

@@ -26,7 +26,7 @@ func (gd *GameReader) GetData() data.Data {
roster := gd.getRoster()
playerUnitPtr, corpse := gd.GetPlayerUnitPtr(roster)
pu := gd.GetPlayerUnit(playerUnitPtr, gd.previousRead.PlayerUnit.MaxHPValue, gd.previousRead.PlayerUnit.MaxMPValue)
pu := gd.GetPlayerUnit(playerUnitPtr)
hover := gd.hoveredData()
// Quests