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

Method isEffectiveStat

source/game/StarStatSet.cpp:107–109  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

105}
106
107bool StatSet::isEffectiveStat(String const& statName) const {
108 return m_effectiveStats.contains(statName);
109}
110
111float StatSet::statEffectiveValue(String const& statName) const {
112 // All stat values will be added to m_effectiveStats regardless of whether a

Callers 1

TESTFunction · 0.80

Calls 1

containsMethod · 0.45

Tested by 1

TESTFunction · 0.64