| 102 | } |
| 103 | |
| 104 | std::string GetStateInflictMessage(const Game_Battler& target, const lcf::rpg::State& state) { |
| 105 | if (target.GetType() == Game_Battler::Type_Ally) { |
| 106 | return GetStateMessage(target.GetName(), state.message_actor); |
| 107 | } |
| 108 | if (target.GetType() == Game_Battler::Type_Enemy) { |
| 109 | return GetStateMessage(target.GetName(), state.message_enemy); |
| 110 | } |
| 111 | return ""; |
| 112 | } |
| 113 | |
| 114 | std::string GetStateRecoveryMessage(const Game_Battler& target, const lcf::rpg::State& state) { |
| 115 | return GetStateMessage(target.GetName(), state.message_recovery); |
no test coverage detected