From 9f8ea22b6f813ac68820beac411d378a829744f9 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Sat, 27 Jul 2019 20:35:06 -0300 Subject: Give an EXP reward by completing Mercury's quest. --- npc/021-1/yeti.txt | 1 + npc/functions/clientversion.txt | 13 +++++++++---- 2 files changed, 10 insertions(+), 4 deletions(-) (limited to 'npc') diff --git a/npc/021-1/yeti.txt b/npc/021-1/yeti.txt index 7bdebcbab..a24c83d6d 100644 --- a/npc/021-1/yeti.txt +++ b/npc/021-1/yeti.txt @@ -108,6 +108,7 @@ L_Report: close; } delitem MoubooSteak, 60; + getexp 120000, 0; // roughly 30% from needed EXP. This quest IS boring. setq NivalisQuest_Cindy, 3; mesn; mesq l("Great. I hereby task you to kill the rogue Yetis on the Yeti King Throne Room. Of course, you won't be able to leave until all of them are dead."); diff --git a/npc/functions/clientversion.txt b/npc/functions/clientversion.txt index 5507ce75f..bd33a48ee 100644 --- a/npc/functions/clientversion.txt +++ b/npc/functions/clientversion.txt @@ -286,15 +286,20 @@ function script clientupdater { CRAFTQUEST=1; mesc l("You got a blueprint as reward for Blue Sage Slimes Quest completion."), 3; } + // If you have TMW2_CRAFT skill, you need the bonus recipe + if (getskilllv(TMW2_CRAFT)) { + RECIPES_EQUIPMENT[CraftDagger]=true; + mesc l("Dagger Crafting recipe learnt."), 2; + } // Bounty Hunter Helmet if (MERCENARY_DAILYQUEST > 100) { getitem BountyHunterHelmet, 1; mesc l("You got a @@ for completing 100+ daily bountyhunter quests!", getitemlink(BountyHunterHelmet)), 2; } - // If you have TMW2_CRAFT skill, you need the bonus recipe - if (getskilllv(TMW2_CRAFT)) { - RECIPES_EQUIPMENT[CraftDagger]=true; - mesc l("Dagger Crafting recipe learnt."), 2; + // Cindy quest new rewards + if (getq(NivalisQuest_Cindy) >= 3) { + getexp 120000, 0; + mesc l("You got 120,000 XP for completing Mercury's quest."), 2; } // Mercenary Rank removed if (MERC_RANK) { -- cgit v1.2.3-70-g09d2