1
0
forked from 0ad/0ad

Add technology support for ranged unit spread

This was SVN commit r13221.
This commit is contained in:
Jonathan Waller 2013-03-04 21:52:44 +00:00
parent 7df4fd6919
commit 7461e4a3c1

View File

@ -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