feat: show pet happiness bar in pet frame for hunter pets

This commit is contained in:
Kelsi 2026-03-12 09:43:23 -07:00
parent 84b31d3bbd
commit 88c3cfe7ab
2 changed files with 20 additions and 0 deletions

View file

@ -214,6 +214,9 @@ public:
void setMaxPower(uint32_t p) { maxPowers[powerType < 7 ? powerType : 0] = p; }
void setMaxPowerByType(uint8_t type, uint32_t p) { if (type < 7) maxPowers[type] = p; }
uint32_t getPowerByType(uint8_t type) const { return type < 7 ? powers[type] : 0; }
uint32_t getMaxPowerByType(uint8_t type) const { return type < 7 ? maxPowers[type] : 0; }
uint8_t getPowerType() const { return powerType; }
void setPowerType(uint8_t t) { powerType = t; }