From d46563e8cad9e53d344d0383b90c342796fb70ce Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Sat, 29 Jan 2022 16:43:26 -0300 Subject: Add idle checks which exclude you from receiving boss points in all fights --- npc/annuals/xmas/core.txt | 2 ++ 1 file changed, 2 insertions(+) (limited to 'npc/annuals') 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 + "."; -- cgit v1.2.3-70-g09d2