summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2024-12-19 23:05:47 -0300
committerJesusaves <cpntb1@ymail.com>2024-12-19 23:05:47 -0300
commit60156d4e4f2b733f16298c160da356ed7a85d7bf (patch)
tree89074a3daffaa6c96d17b9ca787f57b34134ef04
parent3e5be575118627ec3b87ebccd2d965ac1dc0d8e1 (diff)
downloadserverdata-60156d4e4f2b733f16298c160da356ed7a85d7bf.tar.gz
serverdata-60156d4e4f2b733f16298c160da356ed7a85d7bf.tar.bz2
serverdata-60156d4e4f2b733f16298c160da356ed7a85d7bf.tar.xz
serverdata-60156d4e4f2b733f16298c160da356ed7a85d7bf.zip
Prevent division by zero on Golbarez.
-rw-r--r--npc/functions/event.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/npc/functions/event.txt b/npc/functions/event.txt
index cf05d2cf2..4bddb9568 100644
--- a/npc/functions/event.txt
+++ b/npc/functions/event.txt
@@ -973,6 +973,7 @@ OnClock0000:
if ($EVENT$ != "")
FYStopEvent();
$EVENT$="Christmas";
+ $XMAS_MONEY += TOP3AVERAGELVL() * 10 + GETUSERSAVG();
DelQuestFromEveryPlayer(SQuest_Christmas);
sChristmas();
}