| 124 | } |
| 125 | |
| 126 | std::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 | |
| 134 | static std::string GetActionFailureMessage(std::string_view source, std::string_view target, std::string_view message) { |
| 135 | if (Feature::HasPlaceholders()) { |
no test coverage detected