--- a/hedgewars/uAI.pas Wed Jul 08 19:11:00 2020 +0200
+++ b/hedgewars/uAI.pas Wed Jul 08 19:46:06 2020 +0200
@@ -265,8 +265,12 @@
AddAction(BestActions, aia_attack, aim_release, ap.Power, 0, 0);
end;
if (a = amResurrector) and (BotLevel < 4) then
+ begin
AddAction(BestActions, aia_Up, aim_release, ap.Power, 0, 0);
- AddAction(BestActions, aia_attack, aim_release, ap.Power, 0, 0);
+ AddAction(BestActions, aia_attack, aim_release, 0, 0, 0);
+ end
+ else
+ AddAction(BestActions, aia_attack, aim_release, ap.Power, 0, 0);
// Just for fun: 0.01% chance for kamikaze with "wishes" ;-)
if (a = amKamikaze) and (random(10000) = 0) then