From 68fc023f056bc6827bd57db88d3792c3723a84de Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Sat, 2 May 2020 09:46:58 -0300 Subject: Reward for non-guild representatives --- npc/042-0/arthur.txt | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) 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); -- cgit v1.2.3-60-g2f50