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

Function MakeStatEnemy

tests/algo.cpp:493–497  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

491}
492
493auto* MakeStatEnemy(int idx, int atk, int def, int spi) {
494 auto* enemy = Main_Data::game_enemyparty->GetEnemy(idx);
495 Setup(enemy, 1, 1, atk, def, spi, 1);
496 return enemy;
497}
498
499auto* MakeStatActor(int idx, int atk, int def, int spi) {
500 auto* actor = Main_Data::game_party->GetActor(idx);

Callers 2

algo.cppFile · 0.85
TestNormalAttackFunction · 0.85

Calls 2

SetupFunction · 0.85
GetEnemyMethod · 0.80

Tested by 1

TestNormalAttackFunction · 0.68