| 1111 | } |
| 1112 | |
| 1113 | static int ClampMaxHpMod(int hp, const Game_Actor* actor) { |
| 1114 | auto limit = actor->MaxHpValue(); |
| 1115 | return Utils::Clamp(hp, -limit, limit); |
| 1116 | } |
| 1117 | |
| 1118 | static int ClampMaxSpMod(int sp, const Game_Actor* actor) { |
| 1119 | auto limit = actor->MaxSpValue(); |
no test coverage detected