summaryrefslogtreecommitdiff
path: root/npc/001-13/main.txt
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2022-01-25 23:29:43 -0300
committerJesusaves <cpntb1@ymail.com>2022-01-25 23:29:43 -0300
commit6735fc7b8b39796a20d4c811890a25f9e14a92dd (patch)
treee5fc800badd8abfe18cf2dca9dff2004fd668ec3 /npc/001-13/main.txt
parentf026a8d2065d398cdd3b6878e89ec1dcc852de10 (diff)
downloadserverdata-6735fc7b8b39796a20d4c811890a25f9e14a92dd.tar.gz
serverdata-6735fc7b8b39796a20d4c811890a25f9e14a92dd.tar.bz2
serverdata-6735fc7b8b39796a20d4c811890a25f9e14a92dd.tar.xz
serverdata-6735fc7b8b39796a20d4c811890a25f9e14a92dd.zip
Boss Raid: Boss' skill duration is now less predictable and safe.
(Previously, Benjamin Frost past level 50 could stunlock you forever)
Diffstat (limited to 'npc/001-13/main.txt')
-rw-r--r--npc/001-13/main.txt13
1 files changed, 7 insertions, 6 deletions
diff --git a/npc/001-13/main.txt b/npc/001-13/main.txt
index b96a59a48..ebdf97a16 100644
--- a/npc/001-13/main.txt
+++ b/npc/001-13/main.txt
@@ -127,6 +127,7 @@ OnPump:
if (@map$ != getmap()) end;
.@msg$=l("In all the mana worlds, I alone am feared.");
.@lv=$FYRAID_LV[@id];
+ .@t = min(45, 10+rand2(.@lv));
// Apply boss skill based on their name
if ($RAIDING_BOSS$ == "Xakabael the Dark") {
@@ -140,22 +141,22 @@ OnPump:
} else if ($RAIDING_BOSS$ == "Platyna the Red") {
.@msg$ = l("I, the rightful ruler, demand back this world! Tyranny!");
percentheal -1, -1;
- SC_Bonus(10+.@lv, any(SC_BLIND, SC_POISON), 1);
+ SC_Bonus(.@t, 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, SC_SLEEP, SC_SLEEP), 1);
+ SC_Bonus(.@t, 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);
+ SC_Bonus(.@t, SC_SILENCE, 1);
} else if ($RAIDING_BOSS$ == "Nu'Rem the Destroyer") {
.@msg$ = l("And then... There was a quake. And all life died. Bleed!");
- SC_Bonus(10+.@lv, SC_BLOODING, 1);
+ SC_Bonus(.@t, SC_BLOODING, 1);
} else if ($RAIDING_BOSS$ == "Golbenez the Cruel") {
.@msg$ = l("Puny mortal, do your best to entertain me! Curse!");
- SC_Bonus(10+.@lv, SC_CURSE, 1);
+ SC_Bonus(.@t, SC_CURSE, 1);
} else if ($RAIDING_BOSS$ == "King of Typos") {
.@msg$ = l("The problem with typos is - unpredictable side effects.");
- SC_Bonus(10+.@lv, any(SC_SILENCE, SC_CURSE, SC_FREEZE, SC_BLOODING, SC_BLIND, SC_POISON, SC_DPOISON, SC_POISON, SC_BURNING, SC_SLEEP), 1);
+ SC_Bonus(.@t, any(SC_SILENCE, SC_CURSE, SC_FREEZE, SC_BLOODING, SC_BLIND, SC_POISON, SC_DPOISON, SC_POISON, SC_BURNING, SC_SLEEP), 1);
} else {
consolewarn("Unknown raiding boss: %s. No skill will be used.", $RAIDING_BOSS$);
}