summaryrefslogtreecommitdiff
path: root/npc/042-0/arthur.txt
diff options
context:
space:
mode:
Diffstat (limited to 'npc/042-0/arthur.txt')
-rw-r--r--npc/042-0/arthur.txt23
1 files changed, 23 insertions, 0 deletions
diff --git a/npc/042-0/arthur.txt b/npc/042-0/arthur.txt
index 798343aeb..a6a863423 100644
--- a/npc/042-0/arthur.txt
+++ b/npc/042-0/arthur.txt
@@ -181,11 +181,34 @@ L_Tutorial:
//////////////////////////////////////////////////////////////////////////
L_Refusal:
+ if ($KAMELOT_QUEST[.@g] & 64) goto L_Reward2;
mesc l("This man is THE LEGENDARY KING ARTHUR!");
mes "";
mesc l("I better leave talking to him to the guild Vice Leaders and Master.");
close;
+L_Reward2:
+ mesn;
+ mesq l("Thanks for your services, knight. One day, you might even deserve a seat at this castle.");
+ next;
+ mesn;
+ mesq l("Farewell, until the next time. Shall we met again, and may the light guide our paths.");
+ warp "014-4", 67, 27;
+ .@cn=$KAMELOT_MX[.@g]/10;
+ // Penalty if you dragged the guild down
+ if (BaseLevel < $KAMELOT_MX[.@g]*5/10)
+ .@cn=.@cn*5/10;
+ // Penalty if you carried the guild
+ if (BaseLevel > $KAMELOT_MX[.@g]*15/10)
+ .@cn=.@cn*5/10;
+ // Your reward
+ .@cn+=1;
+ getitem GuildCoin, .@cn;
+ guildgetexp(.@cn*300);
+ getexp BaseLevel*10, .@cn*35;
+ Zeny+=.@cn*1000;
+ close;
+
OnKillMob:
if (!playerattached()) end;
.@g=getcharid(2);