caught calc error while answer johnb's question

This commit is contained in:
lambdatiger 2024-04-13 21:21:05 -05:00
parent eb24c11e82
commit 3c2a3c7ef2

View File

@ -95,7 +95,7 @@ if (_notifyMissingEntries) then {
* 3: _fragCount - modified frag count used under assumptions of spherical fragmentation
*/
_ammoInfo = [
ACE_FRAG_MAX_FRAG_RANGE max sqrt (_fragCount / (4 * pi * ACE_FRAG_MIN_FRAG_HIT_CHANCE)),
ACE_FRAG_MAX_FRAG_RANGE min sqrt (_fragCount / (4 * pi * ACE_FRAG_MIN_FRAG_HIT_CHANCE)),
ACE_FRAG_IMPERIC_VELOCITY_CONSTANT * _gurneyConstant * sqrt (_chargeMass / (_metalMass + _chargeMass * _geometryCoefficient)),
_fragTypes,
_fragCount / 4 / pi