Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
canRepair
Function · 0.80
canUseTechUnit
Function · 0.80
DoUnitBehaviour
Method · 0.80
writeUnitInfo
Function · 0.80
Filters.cpp
File · 0.80
start
Method · 0.80
update
Method · 0.80
update
Method · 0.80
Calls
1
getID
Method · 0.45
Tested by
3
start
Method · 0.64
update
Method · 0.64
update
Method · 0.64