Update Attack.js to revert splash change
This commit is contained in:
parent
c3aa8cc311
commit
eb2193afaa
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user