I was using this to test firepunching likely duds, but most of the time that would probably just make him bazooka them
authornemo
Thu, 09 May 2013 23:21:06 -0400
changeset 8972 f01b836d702e
parent 8971 fcb29a13b1b1
child 8973 7bcb77379a4b
I was using this to test firepunching likely duds, but most of the time that would probably just make him bazooka them
hedgewars/uAIMisc.pas
--- a/hedgewars/uAIMisc.pas	Thu May 09 23:11:56 2013 -0400
+++ b/hedgewars/uAIMisc.pas	Thu May 09 23:21:06 2013 -0400
@@ -131,12 +131,9 @@
         ((Gear^.Kind = gtExplosives) and
             (Gear^.Health > Gear^.Damage)) or
         ((Gear^.Kind = gtMine) and
-            ((Gear^.Health = 0) and
-             (Gear^.Damage < 35)) or
-            ((Gear^.Health > 0) and 
-             (cMineDudPercent > 95) and
-             (cMinesTime < 3000)) 
-             ))  and 
+            (Gear^.Health = 0) and
+             (Gear^.Damage < 35))
+             )  and 
         (Targets.Count < 256) then
         begin
         with Targets.ar[Targets.Count] do