From 630c8f6e73f509efcae5bf3274619ceb65cabeb2 Mon Sep 17 00:00:00 2001 From: Stefan Beller Date: Sat, 1 Jan 2011 17:16:42 +0100 Subject: bug fix in scripting language you should not write if(!getskilllv(FOO)) please write if(!(getskilllv(FOO))) instead. gwendolin only: fix to the right const. (there is a difference in const_db and in skill_db) --- npc/013-2_Magic_house/wizard.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'npc/013-2_Magic_house') diff --git a/npc/013-2_Magic_house/wizard.txt b/npc/013-2_Magic_house/wizard.txt index 616c5da1..f3964cc0 100644 --- a/npc/013-2_Magic_house/wizard.txt +++ b/npc/013-2_Magic_house/wizard.txt @@ -45,7 +45,7 @@ L_new_student: next; // check if the player has the knowledge of any skill - if (!getskilllv(SKILL_POOL)) + if (!(getskilllv(SKILL_POOL))) menu "That would be very kind of you!", L_teachspell, "No, but thank you!", nothx; -- cgit v1.2.3-60-g2f50