summaryrefslogtreecommitdiff
path: root/npc
diff options
context:
space:
mode:
Diffstat (limited to 'npc')
-rw-r--r--npc/functions/siege.txt10
1 files changed, 5 insertions, 5 deletions
diff --git a/npc/functions/siege.txt b/npc/functions/siege.txt
index 06a250267..f99fca5f1 100644
--- a/npc/functions/siege.txt
+++ b/npc/functions/siege.txt
@@ -218,10 +218,6 @@ function script siege_boss {
.@m$=getarg(0);
.@s=getarg(1,0);
- // If Difficulty is 0: There is no boss
- if (!.@s)
- return;
-
/* Uncomment this to use common monsters as staff
// We will now prepare the boss
// It must be stronger than players in at least 15 levels, so the mob group
@@ -261,7 +257,7 @@ function script siege_boss {
// Nobody is on map: Be TRULY random
if (.@val < 10) {
- .@val=rand(20,97);
+ .@val=rand(20,97)+.@s;
}
// Switch an adequate boss, almost always stronger
@@ -327,6 +323,10 @@ function script siege_cast {
.@d=getarg(2,0);
.@tp=getarg(3,0);
+ // Difficulty doesn't applies to Tulimshar
+ if (.@mz == "003-1")
+ .@d=0;
+
siege_selectmob(siege_calcdiff(.@mz$), .@d, .@tp);
// How many monsters? This value is multiplied by 3;