
[Add] Bomber attack routines. [Fix] Bug with AI forgetting about you if another enemy attacks.
20 lines
404 B
Lua
20 lines
404 B
Lua
include("../scripts/ai/tpl/generic.lua")
|
|
|
|
-- Settings.
|
|
aggressive = true
|
|
|
|
function create()
|
|
ai.setcredits(rnd.int(300, ai.shipprice()/70))
|
|
end
|
|
|
|
function taunt(target, offense)
|
|
-- Offence is not actually used.
|
|
taunts = {
|
|
"Prepare to face annihilation!",
|
|
"I shall wash my hull in your blood!",
|
|
"Your head will make a great trophy!"
|
|
}
|
|
ai.comm(target, taunts[rnd.int(1, #taunts)])
|
|
end
|
|
|