MCPcopy Create free account
hub / github.com/OpenStarbound/OpenStarbound / powerMultiplier

Method powerMultiplier

source/game/StarNpc.cpp:1045–1047  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1043}
1044
1045float Npc::powerMultiplier() const {
1046 return m_statusController->stat("powerMultiplier");
1047}
1048
1049bool Npc::fullEnergy() const {
1050 return *m_statusController->resourcePercentage("energy") >= 1.0;

Callers 3

fireTriggeredMethod · 0.45
updateMethod · 0.45

Calls 1

statMethod · 0.45

Tested by

no test coverage detected