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

Method maxHealth

source/game/StarMonster.cpp:528–530  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

526}
527
528float Monster::maxHealth() const {
529 return *m_statusController->resourceMax("health");
530}
531
532float Monster::health() const {
533 return m_statusController->resource("health");

Callers

nothing calls this directly

Calls 1

resourceMaxMethod · 0.45

Tested by

no test coverage detected