| 228 | } |
| 229 | |
| 230 | static std::vector<lcf::rpg::EnemyAction> MakeActions(std::initializer_list<ActionParams> ilist) { |
| 231 | std::vector<lcf::rpg::EnemyAction> actions; |
| 232 | for (auto& il: ilist) { |
| 233 | actions.push_back({}); |
| 234 | actions.back().rating = il.rating; |
| 235 | actions.back().kind = il.kind; |
| 236 | actions.back().basic = il.basic; |
| 237 | } |
| 238 | return actions; |
| 239 | } |
| 240 | |
| 241 | static void testActionType(int start, int end, Game_BattleAlgorithm::Type type_compat, Game_BattleAlgorithm::Type type_improved, Game_Enemy& source) { |
| 242 | for (int rng = start; rng < end; ++rng) { |