summaryrefslogtreecommitdiff
path: root/npc
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2024-05-27 11:11:36 -0300
committerJesusaves <cpntb1@ymail.com>2024-05-27 11:11:36 -0300
commit084f016fc1bc3d1cee8e1eb096ff2a22489f9bc8 (patch)
treeccb8e36c8ab97100f08487f8a8e6ed0a714f276e /npc
parent179b353f1641bfe5c62131b6a30b65ba7ee42c00 (diff)
downloadserverdata-084f016fc1bc3d1cee8e1eb096ff2a22489f9bc8.tar.gz
serverdata-084f016fc1bc3d1cee8e1eb096ff2a22489f9bc8.tar.bz2
serverdata-084f016fc1bc3d1cee8e1eb096ff2a22489f9bc8.tar.xz
serverdata-084f016fc1bc3d1cee8e1eb096ff2a22489f9bc8.zip
Boss Raid: After Lv 12, first skill casting gets faster (maxes at Lv 72)
Reduces console spam.
Diffstat (limited to 'npc')
-rw-r--r--npc/001-13/main.txt6
1 files changed, 4 insertions, 2 deletions
diff --git a/npc/001-13/main.txt b/npc/001-13/main.txt
index 312cec131..3f4ecad59 100644
--- a/npc/001-13/main.txt
+++ b/npc/001-13/main.txt
@@ -114,8 +114,9 @@ function script FYRaid_Select {
instance_set_timeout(190, 190, .@inst);
instance_init(.@inst);
warp .@mp$, 47, 52;
+ .@tski = limit(10000, 46000-(.@lv*500), 40000);
addtimer 180000, "sBossRaid::OnTimeout";
- addtimer 40000, "sBossRaid::OnPump";
+ addtimer .@tski, "sBossRaid::OnPump";
dispbottom l("Time left: %s", FuzzyTime(@tm));
closeclientdialog;
// TODO: Spawn an auxiliar every 10 levels
@@ -212,7 +213,8 @@ OnClose:
// Update boss parameters
.@old = $FYRAID_HP[@id];
.@dmg = .@old - .@new;
- debugmes "Old %d New %d Damage %d", .@old, .@new, .@dmg;
+ if ($@GM_OVERRIDE)
+ debugmes "Old %d New %d Damage %d", .@old, .@new, .@dmg;
// Damage Bonus
if (.@dmg / 2000 > 1)
getitem EventNaftalin, .@dmg / 2000;