| 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); |
| 18 | actor.SetBaseMaxHp(hp); |
| 19 | actor.SetHp(actor.GetMaxHp()); |
| 20 | actor.SetBaseMaxSp(sp); |
| 21 | actor.SetSp(actor.GetMaxSp()); |
| 22 | actor.SetBaseAtk(atk); |
| 23 | actor.SetBaseDef(def); |
| 24 | actor.SetBaseSpi(spi); |
| 25 | actor.SetBaseAgi(agi); |
| 26 | return actor; |
| 27 | } |
| 28 | |
| 29 | TEST_SUITE_BEGIN("Autobattle"); |
| 30 |
no test coverage detected