From fad07c1780ed1dbee693ca2ac5dcb2d9dd1272c2 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Wed, 19 Dec 2018 03:33:25 -0200 Subject: Rewards if you complete the dungeon (currently impossible) --- npc/018-2-1/dustman.txt | 24 +++++++++++++++++++++++- npc/018-2-1/warps.txt | 2 +- 2 files changed, 24 insertions(+), 2 deletions(-) (limited to 'npc/018-2-1') diff --git a/npc/018-2-1/dustman.txt b/npc/018-2-1/dustman.txt index 4898fe852..a049cbe39 100644 --- a/npc/018-2-1/dustman.txt +++ b/npc/018-2-1/dustman.txt @@ -45,7 +45,29 @@ mesn; mesq l("So, let's return to the bussiness at hand. My men went down and haven't returned. That was long ago, by the way."); mesq l("I can send you to at least five from the seven cave levels this dungeon have. Don't worry with the scroll."); - if (.@hh == 0) { + if (.@hh > 0) { + next; + mesn; + mesq l("Hm, good job out there."); + if (getq2(LoFQuest_HH) & HH_MASTER)) { + mesn; + mesq l("I see you finished the Master Dungeon and didn't found my men. I'll think on something"); + mesq l("Unfortunately, the main reward of this quest is still a Work In Progress."); + mesq l("However, I can restart the Heroes Hold, if you want. You'll also get a reward. Are you ready?"); + inventoryplace SilverGift, 1, MercBoxA, 5, CasinoCoins, 3; + next; + if (askyesno() == ASK_YES) { + mes ""; + mesn; + mesc l("@@ hits himself in the head and forgot you ever went after his men.", .name$); + //setq2 LoFQuest_HH, HH_MASTER; + setq LoFQuest_HH, 0, 0; + getitem SilverGift, 1; + getitem MercBoxA, 5; + getitem CasinoCoins, 3; + } + } + } else if (.@hh == 0) { next; mesn; mesq l("Do you want to try to find them? Just search the first five floors: Novice, Intermediary, Advanced, Expert and Master."); diff --git a/npc/018-2-1/warps.txt b/npc/018-2-1/warps.txt index 25cdc3e6a..31e9bd309 100644 --- a/npc/018-2-1/warps.txt +++ b/npc/018-2-1/warps.txt @@ -37,7 +37,7 @@ OnTouch: rif(!(.@q & HH_INTERMEDIARY), l("Intermediary Dungeon")), // Level 21-60 rif(!(.@q & HH_ADVANCED), l("Advanced Dungeon")), // Level 41-80 rif(!(.@q & HH_EXPERT), l("Expert Dungeon")), // Level 61-100 - rif((.@q & HH_REQUISITE), l("Master Dungeon")), // Level 81+ + rif((.@q & HH_REQUISITE) && !(.@q & HH_MASTER), l("Master Dungeon")), // Boss Only l("None at the moment"); mes ""; switch (@menu) { -- cgit v1.2.3-60-g2f50