changeset 3847 | 771562124b16 |
parent 3820 | bc3efe1c71ab |
child 3928 | 2560731c860d |
--- a/hedgewars/uAIAmmoTests.pas Thu Sep 09 23:13:11 2010 -0400 +++ b/hedgewars/uAIAmmoTests.pas Fri Sep 10 16:42:11 2010 +0200 @@ -369,7 +369,7 @@ if valueResult < Score then begin ap.Angle:= DxDy2AttackAngle(Vx, Vy) + AIrndSign(random(Level)); - ap.Power:= hwRound(r * cMaxPower) + AIrndSign(random(Level) * 15); + ap.Power:= hwRound(r * cMaxPower * _0_9) + AIrndSign(random(Level) * 15); ap.Time:= TestTime; ap.ExplR:= 300; ap.ExplX:= EX;