Add technology support for ranged unit spread
This was SVN commit r13221.
This commit is contained in:
parent
7df4fd6919
commit
7461e4a3c1
@ -429,6 +429,7 @@ Attack.prototype.PerformAttack = function(type, target)
|
||||
var gravity = 9.81; // this affects the shape of the curve; assume it's constant for now
|
||||
|
||||
var spread = this.template.Ranged.Spread;
|
||||
spread = ApplyTechModificationsToEntity("Attack/Ranged/Spread", spread, this.entity);
|
||||
|
||||
//horizSpeed /= 2; gravity /= 2; // slow it down for testing
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user