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