From 2c655278a22af74d63a809af0dcc162deeb83c6f Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Mon, 5 Jul 2021 16:50:08 -0300 Subject: Reintroduce the Underworld Key. I did destroy Wushin's plans for the crypt but the shards are still around. It might be possible to pierce them again into something coherent. --- npc/099-7/boss.txt | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) diff --git a/npc/099-7/boss.txt b/npc/099-7/boss.txt index 70caac1c..6afbf37c 100644 --- a/npc/099-7/boss.txt +++ b/npc/099-7/boss.txt @@ -570,8 +570,20 @@ OnDeath: OnBoss: initnpctimer; - // If a player is attached, give them 20 Treasure Keys - getitem TreasureKey, 20; + if (playerattached()) { + // If a player is attached, give them 20 Treasure Keys + getitem TreasureKey, 20; + BOSS_POINTS+=10; + if (getq(Quest_Reapercry) < 3) { + dispbottom l("Somehow, it does not feel *right* - Maybe you need to perform some sort of ritual before defeating the Grim Reaper?"); + } else if (getq(Quest_Reapercry) == 3) { + getitembound UnderworldKey, 1, 4; + setq Quest_Reapercry, 4; + dispbottom l("The Reaper drops a key - It might be valuable, so you keep it."); + } else { + dispbottom l("Somehow, it does not feel *right* - We already defeated the Grim Reaper before anyway, didn't we?"); + } + } end; OnTimer150000: @@ -634,7 +646,7 @@ L_FlawedLens: L_Rare: getexp 10000000, 0; FLAGS = FLAGS | FLAG_KESHLAM_RAREDROP; - if (rand(4) == 1) goto L_Amulet; // 25% chance + if (rand2(4) == 1) goto L_Amulet; // 25% chance goto L_Ring; // 75% chance L_Amulet: -- cgit v1.2.3-60-g2f50