summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2021-07-05 16:50:08 -0300
committerJesusaves <cpntb1@ymail.com>2021-07-05 16:50:08 -0300
commit2c655278a22af74d63a809af0dcc162deeb83c6f (patch)
tree76923f443b61b48ba107ccbbd151159fd00b7691
parent67f02bef162af9812c833075441fd9cd722727cd (diff)
downloadserverdata-2c655278a22af74d63a809af0dcc162deeb83c6f.tar.gz
serverdata-2c655278a22af74d63a809af0dcc162deeb83c6f.tar.bz2
serverdata-2c655278a22af74d63a809af0dcc162deeb83c6f.tar.xz
serverdata-2c655278a22af74d63a809af0dcc162deeb83c6f.zip
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.
-rw-r--r--npc/099-7/boss.txt18
1 files 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: