summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;