forked from github/server
logic change in last commit: all familiars have an at_mage at creation.
This commit is contained in:
parent
73540d733d
commit
c7a38e4bdd
|
@ -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'))
|
||||
|
|
Loading…
Reference in New Issue