hedgewars/uAI.pas
changeset 12713 927b35f59a46
parent 12712 31f7e0a31736
child 13096 d78e65c66573
--- a/hedgewars/uAI.pas	Fri Oct 20 13:27:48 2017 +0200
+++ b/hedgewars/uAI.pas	Fri Oct 20 13:34:05 2017 +0200
@@ -474,7 +474,7 @@
 
             // Hog has no idea what to do. Use tardis or skip
             if not bonuses.activity then
-                if ((HHHasAmmo(Me^.Hedgehog^, amTardis) > 0)) and (CanUseTardis(Me^.Hedgehog^.Gear)) and (random(3) < 1) then
+                if ((HHHasAmmo(Me^.Hedgehog^, amTardis) > 0)) and (CanUseTardis(Me^.Hedgehog^.Gear)) and (random(4) < 3) then
                     // Tardis brings hog to a random place. Perfect for clueless AI
                     begin
                     AddAction(BestActions, aia_Weapon, Longword(amTardis), 80, 0, 0);