| 4 | #include "doctest.h" |
| 5 | |
| 6 | static Game_Enemy MakeEnemy(int id, int hp, int sp, int atk, int def, int spi, int agi) { |
| 7 | MakeDBEnemy(id, hp, sp, atk, def, spi, agi); |
| 8 | auto& tp = lcf::Data::troops[0]; |
| 9 | tp.members.resize(8); |
| 10 | tp.members[id - 1].enemy_id = id; |
| 11 | Main_Data::game_enemyparty->ResetBattle(1); |
| 12 | auto& enemy = (*Main_Data::game_enemyparty)[id - 1]; |
| 13 | return std::move(enemy); |
| 14 | } |
| 15 | |
| 16 | decltype(auto) MakeActor(int id, int hp, int sp, int atk, int def, int spi, int agi) { |
| 17 | auto actor = Game_Actor(id); |
no test coverage detected