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

Method CommandFullHeal

src/game_interpreter.cpp:1902–1913  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1900}
1901
1902bool Game_Interpreter::CommandFullHeal(lcf::rpg::EventCommand const& com) { // Code 10490
1903 for (const auto& actor : GetActors(com.parameters[0], com.parameters[1])) {
1904 actor->FullHeal();
1905 if (actor->GetActorBattleSprite()) {
1906 actor->GetActorBattleSprite()->DetectStateChange();
1907 }
1908 }
1909
1910 CheckGameOver();
1911
1912 return true;
1913}
1914
1915bool Game_Interpreter::CommandSimulatedAttack(lcf::rpg::EventCommand const& com) { // code 10500
1916 int atk = com.parameters[2];

Callers

nothing calls this directly

Calls 3

FullHealMethod · 0.80
GetActorBattleSpriteMethod · 0.80
DetectStateChangeMethod · 0.80

Tested by

no test coverage detected