diff options
Diffstat (limited to 'npc/001-13')
-rw-r--r-- | npc/001-13/main.txt | 11 |
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; |