diff options
author | Jesusaves <cpntb1@ymail.com> | 2019-05-26 22:05:32 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2019-05-26 22:05:32 -0300 |
commit | 117d05c3f9fc7774c2dd2a219053eb02cfd372bb (patch) | |
tree | 70234fc36587e468aa1cd88c3e2645abbe76b4f8 /npc | |
parent | 39a9ea619a6ecd6e9d48fcd2e01ea1038cde9a4b (diff) | |
download | serverdata-117d05c3f9fc7774c2dd2a219053eb02cfd372bb.tar.gz serverdata-117d05c3f9fc7774c2dd2a219053eb02cfd372bb.tar.bz2 serverdata-117d05c3f9fc7774c2dd2a219053eb02cfd372bb.tar.xz serverdata-117d05c3f9fc7774c2dd2a219053eb02cfd372bb.zip |
In Tulimshar, difficulty should be done ineffective
Diffstat (limited to 'npc')
-rw-r--r-- | npc/functions/siege.txt | 10 |
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; |