# HG changeset patch # User Wuzzy # Date 1508499245 -7200 # Node ID 927b35f59a4645b6d4ef3f7bc1fcc1b644db8930 # Parent 31f7e0a317361b274489e38350e16c19ae2cc3e1 Increase chance for AI to use tardis over skip diff -r 31f7e0a31736 -r 927b35f59a46 hedgewars/uAI.pas --- 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);