Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bwapi/bwapi
/ maxShields
Method
maxShields
bwapi/BWAPILIB/Source/UnitType.cpp:2218–2221 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
2216
return defaultMaxHP[this->getID()];
2217
}
2218
int UnitType::maxShields() const
2219
{
2220
return defaultMaxSP[this->getID()];
2221
}
2222
int UnitType::maxEnergy() const
2223
{
2224
if ( this->isSpellcaster() )
Callers
3
updateData
Method · 0.80
writeUnitInfo
Function · 0.80
Filters.cpp
File · 0.80
Calls
1
getID
Method · 0.45
Tested by
no test coverage detected