summaryrefslogtreecommitdiff
path: root/npc/annuals
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/annuals
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/annuals')
-rw-r--r--npc/annuals/xmas/core.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/npc/annuals/xmas/core.txt b/npc/annuals/xmas/core.txt
index 2abeefce..d1ba0b19 100644
--- a/npc/annuals/xmas/core.txt
+++ b/npc/annuals/xmas/core.txt
@@ -130,6 +130,8 @@ function script XmasMainXpBpReward {
goto L_LevelingReward;
L_EndGameReward:
+ if (checkidle() > MAX_IDLE)
+ return;
@xmas_bp_reward = 100 + rand(@xmas_reward, 2 * @xmas_reward);
BOSS_POINTS = BOSS_POINTS + @xmas_bp_reward;
message strcharinfo(0), "You gain " + @xmas_bp_reward + " Bosspoints, giving you a total of " + BOSS_POINTS + ".";