change_level_check=function()localp=game.party:findMember{main=true}ifp:attr("has_arcane_knowledge")orp:attr("undead")thenrequire("engine.ui.Dialog"):simplePopup("Zigur","Somehow as magic user you feel this place is not safe for you.")returntrueendreturnfalseend,