diff --git a/scripts/tests/e3/rules.lua b/scripts/tests/e3/rules.lua index 4f44bc3a4..0888aa0b9 100644 --- a/scripts/tests/e3/rules.lua +++ b/scripts/tests/e3/rules.lua @@ -1011,6 +1011,7 @@ end function test_demons_using_mallornlance() -- bug 2392 set_rule("skillchange.demon.up", "0") + set_rule("NewbieImmunity", "0") local r = region.create(0, 0, "plain") local f = faction.create('goblin') local u = unit.create(f, r, 1, 'demon') @@ -1019,5 +1020,9 @@ function test_demons_using_mallornlance() u:add_item('mallornlance', 1) u:add_order('BEWACHE') process_orders() + if not u.guard then + init_reports() + write_report(f) + end assert_true(u.guard) end