summaryrefslogtreecommitdiff
path: root/npc/026-7
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2024-02-10 16:50:48 -0300
committerJesusaves <cpntb1@ymail.com>2024-02-10 16:50:48 -0300
commit621a44fddd387bbc3f69f5cace5cb8f3d65d3d43 (patch)
tree13d01ad592254cef08f63496b2295d8528cb5cb4 /npc/026-7
parent846458d41106d7e4b002f1b332a0099ede5e74e4 (diff)
downloadserverdata-621a44fddd387bbc3f69f5cace5cb8f3d65d3d43.tar.gz
serverdata-621a44fddd387bbc3f69f5cace5cb8f3d65d3d43.tar.bz2
serverdata-621a44fddd387bbc3f69f5cace5cb8f3d65d3d43.tar.xz
serverdata-621a44fddd387bbc3f69f5cace5cb8f3d65d3d43.zip
Restrict how often the MK Showdown can be attempted to avoid coins inflation
2 hours for victory (50 coins generated) and 30 minutes for defeat (-)
Diffstat (limited to 'npc/026-7')
-rw-r--r--npc/026-7/boss.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/npc/026-7/boss.txt b/npc/026-7/boss.txt
index 66a246168..10bd715af 100644
--- a/npc/026-7/boss.txt
+++ b/npc/026-7/boss.txt
@@ -209,6 +209,7 @@ OnTimer10000:
if (!.@end) {
// This is not due to full health! We actually won!
kamibroadcast("The MONSTER KING has been DEFEATED!", "WORLD HEART");
+ $@MK_COOLDOWN = gettimetick(2) + 7200;
if ($GAME_STORYLINE != 5)
goto L_NextAct;
// Will not be cast if L_NextAct is summoned
@@ -217,6 +218,7 @@ OnTimer10000:
} else {
// We actually lost?!
kamibroadcast("The MONSTER KING has WON the showdown!", "WORLD HEART");
+ $@MK_COOLDOWN = gettimetick(2) + 1800;
// Apply some kind of penalty, like lowering EXP rate in 5% for a hour
// (NLib was 50% for 24 hours...)
if ($GAME_STORYLINE >= 5) {