From c7a38e4bdd97ec4dd2bc80da1db65fb54d9b2459 Mon Sep 17 00:00:00 2001 From: Enno Rehling Date: Thu, 22 Nov 2018 22:22:40 +0100 Subject: [PATCH] logic change in last commit: all familiars have an at_mage at creation. --- scripts/tests/e2/spells.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/tests/e2/spells.lua b/scripts/tests/e2/spells.lua index 70d1bffb4..02699c0b8 100644 --- a/scripts/tests/e2/spells.lua +++ b/scripts/tests/e2/spells.lua @@ -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'))