From 117d05c3f9fc7774c2dd2a219053eb02cfd372bb Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Sun, 26 May 2019 22:05:32 -0300 Subject: In Tulimshar, difficulty should be done ineffective --- npc/functions/siege.txt | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'npc/functions/siege.txt') 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; -- cgit v1.2.3-60-g2f50