From 6fb9e3b4680cdf85f938b140dec940ca8545ef2e Mon Sep 17 00:00:00 2001 From: Allanis Date: Tue, 19 Mar 2013 23:06:48 +0000 Subject: [PATCH] [Add] Incomplete outfit descriptions. [Add] Militia stick to last attacker. --- dat/outfit.xml | 8 ++++---- scripts/ai/militia.lua | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/dat/outfit.xml b/dat/outfit.xml index 694cf0d..a4bd71c 100644 --- a/dat/outfit.xml +++ b/dat/outfit.xml @@ -6,7 +6,7 @@ 2 5 5000 - Your basic laser. + Your basic laser. Fires charges energy beams that do a decent amount of damage to both shield and amour. laser @@ -19,8 +19,8 @@ 30 8 - 13 - 10 + 10 + 13 @@ -237,7 +237,7 @@ 13 1 130000 - + With the addition of a coule steering thrusters you can make your ship's turning more agile. thruster diff --git a/scripts/ai/militia.lua b/scripts/ai/militia.lua index 46a87b1..acfc0ad 100644 --- a/scripts/ai/militia.lua +++ b/scripts/ai/militia.lua @@ -6,7 +6,7 @@ function control() task = ai.taskname() enemy = ai.getenemy() - if enemy ~= 0 then + if task ~= "attack" and enemy ~= 0 then ai.pushtask(0, "attack", enemy) elseif ai.taskname() == "none" then ai.pushtask(0, "fly")