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

Method groundWeapon

bwapi/BWAPILIB/Source/UnitType.cpp:2316–2319  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2314 return sightRangeTiles[this->getID()] * 32;
2315 }
2316 WeaponType UnitType::groundWeapon() const
2317 {
2318 return unitWeapons::groundWeapon[this->getID()];
2319 }
2320 int UnitType::maxGroundHits() const
2321 {
2322 return groundWeaponHits[this->getID()];

Callers 8

canAttackMethod · 0.95
canAttackUnitFunction · 0.80
writeUnitInfoFunction · 0.80
getDamageFromImplFunction · 0.80
isInWeaponRangeMethod · 0.80
Filters.cppFile · 0.80
weaponDamageCooldownMethod · 0.80
updateMethod · 0.80

Calls 1

getIDMethod · 0.45

Tested by 1

updateMethod · 0.64