[Fix] Typo in lua'z.

This commit is contained in:
Allanis 2013-03-17 20:28:49 +00:00
parent c2d44ebb74
commit 69b8e2bcd6

View File

@ -21,7 +21,7 @@ function control()
if ai.parmour() == 100 and enemy ~= 0 then
-- Taunts.
num = ai.rnd(0,4)
if num == 0 then msg "Prepare to be boarded!"
if num == 0 then msg = "Prepare to be boarded!"
elseif num == 1 then msg = "Whoa! Lookie what we found here!"
elseif num == 2 then msg = "What's a ship like you doing in a place like this?"
end
@ -74,7 +74,7 @@ end
-- Run away from the target.
function runaway()
target = ai.targerid()
target = ai.targetid()
-- Ensure target exists.
if not ai.exists(target) then