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

Function MakeActorAttribute

tests/game_actor.cpp:560–563  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

558}
559
560static Game_Actor MakeActorAttribute(int id, int attr_id, int rank) {
561 SetDBActorAttribute(id, attr_id, rank);
562 return MakeActor(id, 1, 99, 1, 1, 1, 1, 1, 1);
563}
564
565TEST_CASE("Attribute") {
566 const MockActor m;

Callers 1

game_actor.cppFile · 0.85

Calls 2

SetDBActorAttributeFunction · 0.85
MakeActorFunction · 0.70

Tested by

no test coverage detected