MCPcopy Create free account
hub / github.com/EasyRPG/Player / MakeAttackAllies

Function MakeAttackAllies

src/enemyai.cpp:48–50  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

46}
47
48static std::shared_ptr<Game_BattleAlgorithm::AlgorithmBase> MakeAttackAllies(Game_Enemy& enemy, int hits) {
49 return std::make_shared<Game_BattleAlgorithm::Normal>(&enemy, Main_Data::game_enemyparty->GetRandomActiveBattler(), hits);
50}
51
52
53std::unique_ptr<AlgorithmBase> CreateAlgorithm(std::string_view name) {

Callers 1

SetStateRestrictedActionFunction · 0.85

Calls 1

Tested by

no test coverage detected