Engine:
authorsmaxx
Fri, 10 Sep 2010 16:42:11 +0200
changeset 3847 771562124b16
parent 3846 c6b62c7f3668
child 3848 32ceb775906b
Engine: * Tiny adjustment to improve AI's Watermelon Bomb accuracy Graphics: * New flame graphics * Fixed mirrored earth in the mirrored fort graphic
hedgewars/uAIAmmoTests.pas
share/hedgewars/Data/Forts/EarthR.png
share/hedgewars/Data/Graphics/Flame.png
--- 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;
Binary file share/hedgewars/Data/Forts/EarthR.png has changed
Binary file share/hedgewars/Data/Graphics/Flame.png has changed