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

Method HasHalfSpCost

src/game_actor.cpp:1429–1433  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1427}
1428
1429bool Game_Actor::HasHalfSpCost() const {
1430 bool rc = false;
1431 ForEachEquipment<false, true>(GetWholeEquipment(), [&](auto& item) { rc |= item.half_sp_cost; });
1432 return rc;
1433}
1434
1435int Game_Actor::CalculateWeaponSpCost(Weapon weapon) const {
1436 int cost = 0;

Callers 2

game_actor.cppFile · 0.80
testWeapon3Function · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected