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

Function MakeStatActor

tests/algo.cpp:499–503  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

497}
498
499auto* MakeStatActor(int idx, int atk, int def, int spi) {
500 auto* actor = Main_Data::game_party->GetActor(idx);
501 Setup(actor, 1, 1, atk, def, spi, 1);
502 return actor;
503}
504
505TEST_CASE("DefendAdjustment") {
506 const MockBattle m;

Callers 2

algo.cppFile · 0.85
TestNormalAttackFunction · 0.85

Calls 2

SetupFunction · 0.85
GetActorMethod · 0.45

Tested by 1

TestNormalAttackFunction · 0.68