summaryrefslogtreecommitdiff
path: root/npc/027-6/general_krukan.txt
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2022-01-29 16:43:26 -0300
committerJesusaves <cpntb1@ymail.com>2022-01-29 16:43:26 -0300
commitd46563e8cad9e53d344d0383b90c342796fb70ce (patch)
treec47487981308e56a63050463e34fec2eed69ac6e /npc/027-6/general_krukan.txt
parentd6005e66fb67dab7d15304bb0e9f2921242f7e8b (diff)
downloadserverdata-d46563e8cad9e53d344d0383b90c342796fb70ce.tar.gz
serverdata-d46563e8cad9e53d344d0383b90c342796fb70ce.tar.bz2
serverdata-d46563e8cad9e53d344d0383b90c342796fb70ce.tar.xz
serverdata-d46563e8cad9e53d344d0383b90c342796fb70ce.zip
Add idle checks which exclude you from receiving boss points in all fights
Diffstat (limited to 'npc/027-6/general_krukan.txt')
-rw-r--r--npc/027-6/general_krukan.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/npc/027-6/general_krukan.txt b/npc/027-6/general_krukan.txt
index 1491e80f..54d2b442 100644
--- a/npc/027-6/general_krukan.txt
+++ b/npc/027-6/general_krukan.txt
@@ -194,6 +194,8 @@ OnReward:
@bonus = (BaseLevel/4);
DailyQuestBonus = DailyQuestBonus + @bonus;
message strcharinfo(0), "You feel a temporary rush of power and zest for action. " + @bonus + " daily bonus gained." ;
+ if (checkidle() > MAX_IDLE)
+ goto L_End;
BOSS_POINTS = BOSS_POINTS + 25;
message strcharinfo(0), "You gain 25 Boss Points giving you a total of " + BOSS_POINTS + ".";
goto L_End;