Update Attack.js to revert splash change

This commit is contained in:
rts 2024-07-09 16:12:38 +00:00
parent c3aa8cc311
commit eb2193afaa

View File

@ -265,7 +265,7 @@ AttackHelper.prototype.CauseDamageOverArea = function(data)
let perpPos = relativePos.cross(direction);
// The width of linear splash is one fifth of the normal splash radius.
let width = 1; //use a value smaller than the diameter of an infantry unit.
let width = data.radius/5;
// Check that the unit is within the distance splash width of the line starting at the missile's
// landing point which extends in the direction of the missile for length splash radius.