summaryrefslogtreecommitdiff
path: root/npc
diff options
context:
space:
mode:
Diffstat (limited to 'npc')
-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: