diff options
author | Jesusaves <cpntb1@ymail.com> | 2022-01-29 16:43:26 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2022-01-29 16:43:26 -0300 |
commit | d46563e8cad9e53d344d0383b90c342796fb70ce (patch) | |
tree | c47487981308e56a63050463e34fec2eed69ac6e /npc/annuals | |
parent | d6005e66fb67dab7d15304bb0e9f2921242f7e8b (diff) | |
download | serverdata-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.txt | 2 |
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 + "."; |