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

Function GetDeathMessage

src/game_message_terms.cpp:126–132  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

124}
125
126std::string GetDeathMessage(const Game_Battler& target) {
127 const auto* state = lcf::ReaderUtil::GetElement(lcf::Data::states, 1);
128 if (state) {
129 return GetStateInflictMessage(target, *state);
130 }
131 return "";
132}
133
134static std::string GetActionFailureMessage(std::string_view source, std::string_view target, std::string_view message) {
135 if (Feature::HasPlaceholders()) {

Callers 1

Calls 1

GetStateInflictMessageFunction · 0.85

Tested by

no test coverage detected