diff options
author | Stefan Beller <stefanbeller@googlemail.com> | 2011-01-01 17:16:42 +0100 |
---|---|---|
committer | Stefan Beller <stefanbeller@googlemail.com> | 2011-01-02 21:22:17 +0100 |
commit | 630c8f6e73f509efcae5bf3274619ceb65cabeb2 (patch) | |
tree | 2b2a9477b941d227fed53af1d7d8d46a6d94a614 /npc/013-2_Magic_house | |
parent | 6c7dbd1fb03fcd18dd33a3c8852084e677d4d278 (diff) | |
download | serverdata-630c8f6e73f509efcae5bf3274619ceb65cabeb2.tar.gz serverdata-630c8f6e73f509efcae5bf3274619ceb65cabeb2.tar.bz2 serverdata-630c8f6e73f509efcae5bf3274619ceb65cabeb2.tar.xz serverdata-630c8f6e73f509efcae5bf3274619ceb65cabeb2.zip |
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)
Diffstat (limited to 'npc/013-2_Magic_house')
-rw-r--r-- | npc/013-2_Magic_house/wizard.txt | 2 |
1 files changed, 1 insertions, 1 deletions
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; |