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

Method GetExpString

src/game_actor.cpp:640–646  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

638}
639
640std::string Game_Actor::GetExpString(bool status_scene) const {
641 (void)status_scene;
642 // RPG_RT displays dashes for max level. As a customization
643 // we always display the amount of EXP.
644 // if (GetNextExp() == -1) { return (MaxExpValue() >= 1000000 || status_scene) ? "-------" : "------"; }
645 return std::to_string(GetExp());
646}
647
648std::string Game_Actor::GetNextExpString(bool status_scene) const {
649 if (GetNextExp() == -1) {

Callers 2

DrawActorExpMethod · 0.80
DrawMinMaxMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected