summaryrefslogtreecommitdiff
path: root/world/map
diff options
context:
space:
mode:
Diffstat (limited to 'world/map')
-rw-r--r--world/map/npc/009-2/alan.txt3
-rw-r--r--world/map/npc/020-2/furquest.txt5
-rw-r--r--world/map/npc/027-2/golbenez.txt5
3 files changed, 12 insertions, 1 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.\"";
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!\"";
diff --git a/world/map/npc/027-2/golbenez.txt b/world/map/npc/027-2/golbenez.txt
index f23a6f71..95f1c459 100644
--- a/world/map/npc/027-2/golbenez.txt
+++ b/world/map/npc/027-2/golbenez.txt
@@ -6,7 +6,7 @@
// state 3: shows hamonds memory if the player brings @UNDEADEAR_AMOUNT undead ears and a chocolate cake
// state 4: shows savarics memory if the player brings @UNDEADEYE_AMOUNT undead eyes and an apple cake
// state 5: shows all memories again if asked for them. if @lover == 6, player can ask for savarics soul
-// state 6: wants jackOsouls, random chance of 1/50 to success
+// state 6: wants jackOsouls, random chance of 1/50 to success, small amount of exp for fail
// state 7: done
027-2.gat,39,91,0|script|Golbenez|307,{
@@ -37,6 +37,7 @@
set @UNDEADEAR_EXP, 150000;
set @UNDEADEYE_AMOUNT, 20;
set @UNDEADEYE_EXP, 150000;
+ set @JACKOSOUL_EXP, 1000;
if (@state >= 7) goto L_Done;
if (@state == 6) goto L_Soul;
@@ -287,6 +288,7 @@ L_Soul_Try:
goto L_Soul_Success;
mes "[Golbenez]";
mes "\"No, this one isn't as powerful as the mage. Bring me another one of them.\"";
+ getexp @JACKOSOUL_EXP, 0;
goto L_Soul_Try;
L_Soul_Success:
@@ -368,6 +370,7 @@ L_Close:
set @UNDEADEAR_EXP, 0;
set @UNDEADEYE_AMOUNT, 0;
set @UNDEADEYE_EXP, 0;
+ set @JACKOSOUL_EXP, 0;
set @soul, 0;
close;