forked from github/server
remove seaserpent test that is not a test.
This commit is contained in:
parent
681cf32e1f
commit
658b47aeb4
1 changed files with 0 additions and 13 deletions
|
@ -541,16 +541,3 @@ function test_buy_sell()
|
||||||
assert_equal(4, u:get_item(item))
|
assert_equal(4, u:get_item(item))
|
||||||
assert_not_equal(0, u:get_item('money'))
|
assert_not_equal(0, u:get_item('money'))
|
||||||
end
|
end
|
||||||
|
|
||||||
function test_seaserpent_attack()
|
|
||||||
local r = region.create(0, 0, 'ocean')
|
|
||||||
local sh = ship.create(r, 'boat')
|
|
||||||
local us = unit.create(get_monsters(), r, 1, 'seaserpent')
|
|
||||||
local u = unit.create(faction.create('human', 'enno@example.com'), r, 20, 'human')
|
|
||||||
u.ship = sh
|
|
||||||
us:clear_orders()
|
|
||||||
us:add_order('ATTACKIERE ' .. itoa36(u.id))
|
|
||||||
us:set_skill('unarmed', 10)
|
|
||||||
process_orders()
|
|
||||||
write_reports()
|
|
||||||
end
|
|
||||||
|
|
Loading…
Reference in a new issue