summaryrefslogtreecommitdiff
path: root/npc/001-1_Tulimshar
diff options
context:
space:
mode:
authorJessica Tölke <jtoelke@mail.upb.de>2011-01-19 08:23:56 +0100
committerJessica Tölke <jtoelke@mail.upb.de>2011-01-19 08:23:56 +0100
commitf372b2ce62fd96f3e85d65589cc7c434543d537a (patch)
treeb8dd0de7d567d8aeee73960bfaf265d8957f7cd9 /npc/001-1_Tulimshar
parentb62862c2e4a47c5219e9542ae23c6ebc3dca0da9 (diff)
downloadserverdata-f372b2ce62fd96f3e85d65589cc7c434543d537a.tar.gz
serverdata-f372b2ce62fd96f3e85d65589cc7c434543d537a.tar.bz2
serverdata-f372b2ce62fd96f3e85d65589cc7c434543d537a.tar.xz
serverdata-f372b2ce62fd96f3e85d65589cc7c434543d537a.zip
fixing luca in tulimshar
now he only takes a dementia potion if a skill is choosen to unfocus
Diffstat (limited to 'npc/001-1_Tulimshar')
-rw-r--r--npc/001-1_Tulimshar/luca.txt6
1 files changed, 3 insertions, 3 deletions
diff --git a/npc/001-1_Tulimshar/luca.txt b/npc/001-1_Tulimshar/luca.txt
index e62ea576..1f574288 100644
--- a/npc/001-1_Tulimshar/luca.txt
+++ b/npc/001-1_Tulimshar/luca.txt
@@ -362,9 +362,6 @@ L_unfocus_menu:
next;
mes "\"What focus would you like to unfocus?\"";
- if (countitem("DementiaPotion") == 0) goto L_nopotion;
- delitem "DementiaPotion", 1;
-
getactivatedpoolskilllist;
set @skilllist_id[@skilllist_count], 0;
@@ -382,6 +379,9 @@ L_unfocus_menu:
set @menu, @menu - 1;
if (@skilllist_id[@menu] == 0)
goto L_teachmore2;
+
+ if (countitem("DementiaPotion") == 0) goto L_nopotion;
+ delitem "DementiaPotion", 1;
unpoolskill @skilllist_id[@menu];
close;