diff options
author | Jesusaves <cpntb1@ymail.com> | 2020-05-02 09:41:18 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2020-05-02 09:41:18 -0300 |
commit | 41d379f07621dc9411412865455a33947579501b (patch) | |
tree | 90b90511544e3f90584bfa2dda826eb7ad31f5d3 /npc/042-0 | |
parent | 50a657a11664992503b71eea5b8d127245e645d2 (diff) | |
download | serverdata-41d379f07621dc9411412865455a33947579501b.tar.gz serverdata-41d379f07621dc9411412865455a33947579501b.tar.bz2 serverdata-41d379f07621dc9411412865455a33947579501b.tar.xz serverdata-41d379f07621dc9411412865455a33947579501b.zip |
Arthur now gives a reward to the guild representative.
Diffstat (limited to 'npc/042-0')
-rw-r--r-- | npc/042-0/arthur.txt | 24 |
1 files changed, 22 insertions, 2 deletions
diff --git a/npc/042-0/arthur.txt b/npc/042-0/arthur.txt index f8b1a8f91..798343aeb 100644 --- a/npc/042-0/arthur.txt +++ b/npc/042-0/arthur.txt @@ -13,7 +13,6 @@ if (.@pos > GPOS_VICELEADER) goto L_Refusal; if (!$KAMELOT_COOLDOWN[.@g]) goto L_Tutorial; if ($KAMELOT_QUEST[.@g] & 1) goto L_Progress; - // TODO: Curse lifted scene until next week goto L_Prologue; L_Prologue: @@ -117,13 +116,34 @@ OnSmash: ////////////////////////////////////////////////////////////////////////// L_Progress: - // TODO: Victory Reward + if ($KAMELOT_QUEST[.@g] & 64) goto L_Reward; npctalk l("What are you still doing here?! GO!!"); mes l("Read tutorial again?"); next; if (askyesno() == ASK_YES) goto L_Tutorial; close; +L_Reward: + .@cn=$KAMELOT_MX[.@g]/3; + mesn; + mesq l("Thanks for vanishing the source of the curse."); + next; + mesn; + mesq l("Since Merlin left in an expedition with Morgan, strange things have been happening in Kamelot."); + next; + mesn; + mesq l("Please accept this reward from my part. And if anything else happens again, I'll leave the doors open for you and your guild."); + next; + warp "014-4", 67, 27; + if ($KAMELOT_QUEST[.@g] & 128) + close; + $KAMELOT_QUEST[.@g]=$KAMELOT_QUEST[.@g]|128; + getitem GuildCoin, .@cn; + guildgetexp(.@cn*1000); + // TODO: Make this a decent reward + getitembound any(SilverRing, GoldenRing), 1, 2; + close; + ////////////////////////////////////////////////////////////////////////// L_Tutorial: // Update variable |