logic change in last commit: all familiars have an at_mage at creation.

This commit is contained in:
Enno Rehling 2018-11-22 22:22:40 +01:00
parent 73540d733d
commit c7a38e4bdd
1 changed files with 2 additions and 2 deletions

View File

@ -215,12 +215,12 @@ function test_bug_2517()
uf = um.familiar
assert_not_nil(uf)
assert_equal('lynx', uf.race)
assert_nil(uf.magic)
assert_equal('gray', uf.magic)
uf:add_order('LERNE Magie')
um:clear_orders()
um:add_order('ARBEITEN')
process_orders()
assert_nil(uf.magic)
assert_equal('gray', uf.magic)
uf:add_order('ZAUBERE STUFE 1 Viehheilung')
process_orders()
assert_equal(50, uf:get_item('money'))