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

Method GetAccessoryId

src/game_actor.cpp:742–745  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

740}
741
742int Game_Actor::GetAccessoryId() const {
743 int item_id = GetWholeEquipment()[4];
744 return item_id <= (int)lcf::Data::items.size() ? item_id : 0;
745}
746
747int Game_Actor::GetMaxLevel() const {
748 int max_level = Player::IsRPG2k() ? max_level_2k : max_level_2k3;

Callers 4

ActorMethod · 0.80
game_actor.cppFile · 0.80
testWeapon2Function · 0.80

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected