MCPcopy Create free account
hub / github.com/bwapi/bwapi / maxHitPoints

Method maxHitPoints

bwapi/BWAPILIB/Source/UnitType.cpp:2214–2217  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2212 return unitArmorUpgrades::armorUpgrade[this->getID()];
2213 }
2214 int UnitType::maxHitPoints() const
2215 {
2216 return defaultMaxHP[this->getID()];
2217 }
2218 int UnitType::maxShields() const
2219 {
2220 return defaultMaxSP[this->getID()];

Callers 8

canRepairFunction · 0.80
canUseTechUnitFunction · 0.80
DoUnitBehaviourMethod · 0.80
writeUnitInfoFunction · 0.80
Filters.cppFile · 0.80
startMethod · 0.80
updateMethod · 0.80
updateMethod · 0.80

Calls 1

getIDMethod · 0.45

Tested by 3

startMethod · 0.64
updateMethod · 0.64
updateMethod · 0.64