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

Method damageAmount

bwapi/BWAPILIB/Source/WeaponType.cpp:529–532  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

527 return wpnInternalWhatUses::whatUses[this->getID()];
528 }
529 int WeaponType::damageAmount() const
530 {
531 return defaultWpnDamageAmt[this->getID()];
532 }
533 int WeaponType::damageBonus() const
534 {
535 return defaultWpnDamageBonus[this->getID()];

Callers 3

writeWeaponInfoFunction · 0.80
getDamageFromImplFunction · 0.80
damageMethod · 0.80

Calls 1

getIDMethod · 0.45

Tested by

no test coverage detected