summaryrefslogtreecommitdiff
path: root/world/map/npc/009-2/alan.txt
diff options
context:
space:
mode:
Diffstat (limited to 'world/map/npc/009-2/alan.txt')
-rw-r--r--world/map/npc/009-2/alan.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/world/map/npc/009-2/alan.txt b/world/map/npc/009-2/alan.txt
index 1eeb51f0..0e9da6fd 100644
--- a/world/map/npc/009-2/alan.txt
+++ b/world/map/npc/009-2/alan.txt
@@ -14,6 +14,8 @@
set @Q_status, ((QUEST_Forestbow_state) & @Q_MASK) >> @Q_SHIFT;
+ set @BROKENLOG_EXP, 15;
+
if (@Q_status == 1) goto L_State_1;
if (@Q_status == 2) goto L_State_2;
if (@Q_status == 3) goto L_State_3;
@@ -136,6 +138,7 @@ L_State_3_try:
set @Temp1, rand(20);
if (@Temp1 == 0) goto L_State_3_success;
mes "The log breaks with a loud crack.";
+ getexp @BROKENLOG_EXP, 0;
next;
mes "[Alan]";
mes "\"Sorry, this log was too weak for one of my forest bows. Now it is junk. Give me another.\"";