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

Method FullHeal

src/game_actor.cpp:414–420  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

412}
413
414void Game_Actor::FullHeal() {
415 RemoveAllStates();
416 SetHp(GetMaxHp());
417 SetSp(GetMaxSp());
418 // Emulates RPG_RT behavior of resetting even battle equipment states on full heal.
419 ResetEquipmentStates(true);
420}
421
422int Game_Actor::GetBaseMaxHp(bool mod) const {
423 int n = 0;

Callers 3

CommandFullHealMethod · 0.80
FinishInnMethod · 0.80
DoFullHealMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected