summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2022-01-25 23:28:20 -0300
committerJesusaves <cpntb1@ymail.com>2022-01-25 23:28:20 -0300
commitf026a8d2065d398cdd3b6878e89ec1dcc852de10 (patch)
treeaee2a5a69e4a8d3af823f9db5fbd2135d7a1223a
parent1112f54a00bcaff8606999623d730c8287517e3a (diff)
downloadserverdata-f026a8d2065d398cdd3b6878e89ec1dcc852de10.tar.gz
serverdata-f026a8d2065d398cdd3b6878e89ec1dcc852de10.tar.bz2
serverdata-f026a8d2065d398cdd3b6878e89ec1dcc852de10.tar.xz
serverdata-f026a8d2065d398cdd3b6878e89ec1dcc852de10.zip
Some edge case scenario, and make boss raid use more skills.
-rw-r--r--npc/001-13/main.txt11
1 files changed, 8 insertions, 3 deletions
diff --git a/npc/001-13/main.txt b/npc/001-13/main.txt
index ce5943b53..b96a59a48 100644
--- a/npc/001-13/main.txt
+++ b/npc/001-13/main.txt
@@ -67,6 +67,10 @@ function script FYRaid_Select {
mesc l("This bounty has expired.");
return;
}
+ if (ispcdead()) {
+ mesc l("You are dead.");
+ return;
+ }
// Prepare the room (time limit = 3 minutes)
.@inst = instance_create("Showdown "+getcharid(0), getcharid(3), IOT_CHAR);
// Failed
@@ -110,7 +114,7 @@ function script FYRaid_Select {
instance_init(.@inst);
warp .@mp$, 47, 52;
addtimer 180000, "sBossRaid::OnTimeout";
- addtimer 60000, "sBossRaid::OnPump";
+ addtimer 45000, "sBossRaid::OnPump";
dispbottom l("Time left: %s", FuzzyTime(@tm));
closeclientdialog;
return;
@@ -139,7 +143,7 @@ OnPump:
SC_Bonus(10+.@lv, any(SC_BLIND, SC_POISON), 1);
} else if ($RAIDING_BOSS$ == "Benjamin the Frost") {
.@msg$ = l("Stop on your tracks, unfair being! Freeze!");
- SC_Bonus(10+.@lv, any(SC_FREEZE, SC_SLEEP), 1);
+ SC_Bonus(10+.@lv, any(SC_FREEZE, SC_SLEEP, SC_SLEEP, SC_SLEEP), 1);
} else if ($RAIDING_BOSS$ == "Reid the Terrific") {
.@msg$ = l("There is no free speech. Censorship!");
SC_Bonus(10+.@lv, SC_SILENCE, 1);
@@ -159,7 +163,7 @@ OnPump:
unittalk(@mb, .@msg$);
dispbottom l("Time left: %s", FuzzyTime(@tm));
// TODO: Maybe flush the boss HP to upstream to prevent farming?
- addtimer 60000, "sBossRaid::OnPump";
+ addtimer 45000, "sBossRaid::OnPump";
end;
// Boss defeated
@@ -206,6 +210,7 @@ OnClose:
deltimer("sBossRaid::OnTimeout");
sleep2(500);
if (@aurora_map$ != "" && @aurora_x && @aurora_y) {
+ // TODO: Maybe not if you're dead...? (heal hack?)
warp @aurora_map$, @aurora_x, @aurora_y;
@aurora_map$="";
@aurora_x=0;