MCPcopy Create free account
hub / github.com/EasyRPG/Player / MaxHpValue

Method MaxHpValue

src/game_actor.cpp:42–48  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

40constexpr int max_level_2k3 = 99;
41
42int Game_Actor::MaxHpValue() const {
43 auto& val = lcf::Data::system.easyrpg_max_actor_hp;
44 if (val == -1) {
45 return Player::IsRPG2k() ? 999 : 9999;
46 }
47 return val;
48}
49
50int Game_Actor::MaxSpValue() const {
51 auto& val = lcf::Data::system.easyrpg_max_actor_sp;

Callers 8

ClampMaxHpModFunction · 0.45
RefreshMethod · 0.45
RefreshMethod · 0.45
RefreshMethod · 0.45
RefreshGaugeMethod · 0.45
RefreshMethod · 0.45
testLimitsFunction · 0.45
testLimitsFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected