summaryrefslogtreecommitdiff
path: root/world/map/npc/020-2
diff options
context:
space:
mode:
authorJessica Tölke <jtoelke@mail.upb.de>2011-10-14 14:16:41 +0200
committerJessica Tölke <jtoelke@mail.upb.de>2011-10-14 16:35:39 +0200
commitf57f80f517033f2d245461b547a324100d6428a1 (patch)
tree836a8034870fc5d1d14f63df39127b2891c7832c /world/map/npc/020-2
parenta5cc84660484054451ab8c912ec6fc4652eac1a0 (diff)
downloadserverdata-f57f80f517033f2d245461b547a324100d6428a1.tar.gz
serverdata-f57f80f517033f2d245461b547a324100d6428a1.tar.bz2
serverdata-f57f80f517033f2d245461b547a324100d6428a1.tar.xz
serverdata-f57f80f517033f2d245461b547a324100d6428a1.zip
Give small experience reward for fails in quests that need random amount of items.
Diffstat (limited to 'world/map/npc/020-2')
-rw-r--r--world/map/npc/020-2/furquest.txt5
1 files changed, 5 insertions, 0 deletions
diff --git a/world/map/npc/020-2/furquest.txt b/world/map/npc/020-2/furquest.txt
index ef5403e6..1420d2d7 100644
--- a/world/map/npc/020-2/furquest.txt
+++ b/world/map/npc/020-2/furquest.txt
@@ -4,6 +4,9 @@
// Tulimshar Crafting Workshop - Agostine, The Legendary Tailor
020-2.gat,27,26,0|script|Agostine|137,{
+
+ set @CUTFUR_EXP, 10;
+
if (QUEST_WG_state == 1) goto L_State_0_3;
if (QUEST_WG_state == 2) goto L_State_1;
if (QUEST_WG_state == 3) goto L_State_2;
@@ -188,6 +191,7 @@ L_State_4_try:
set @Temp1,rand(30);
if (@Temp1 == 0) goto L_State_4_success;
mes "Agostine throws away the white fur.";
+ getexp @CUTFUR_EXP, 0;
next;
mes "[Agostine, The Legendary Tailor]";
mes "\"It was awfully cut! You should pay more attention when you kill fluffies!\"";
@@ -274,6 +278,7 @@ L_State_11_try:
set @Temp2,rand(30);
if (@Temp2 == 0) goto L_State_11_success;
mes "Agostine rips the white fur.";
+ getexp @CUTFUR_EXP, 0;
next;
mes "[Agostine, The Legendary Tailor]";
mes "\"That fur was terrible. I won't work with it!\"";