summaryrefslogtreecommitdiff
path: root/npc/functions/siege.txt
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2019-05-26 22:05:57 -0300
committerJesusaves <cpntb1@ymail.com>2019-05-26 22:05:57 -0300
commit77379bd3353dfbac1b056bf250b21d3a5d0710a3 (patch)
treed6d6a3d21579d33e09845b105b6030eb089897f7 /npc/functions/siege.txt
parent117d05c3f9fc7774c2dd2a219053eb02cfd372bb (diff)
downloadserverdata-77379bd3353dfbac1b056bf250b21d3a5d0710a3.tar.gz
serverdata-77379bd3353dfbac1b056bf250b21d3a5d0710a3.tar.bz2
serverdata-77379bd3353dfbac1b056bf250b21d3a5d0710a3.tar.xz
serverdata-77379bd3353dfbac1b056bf250b21d3a5d0710a3.zip
Cleanup
Diffstat (limited to 'npc/functions/siege.txt')
-rw-r--r--npc/functions/siege.txt34
1 files changed, 0 insertions, 34 deletions
diff --git a/npc/functions/siege.txt b/npc/functions/siege.txt
index f99fca5f1..02d204be6 100644
--- a/npc/functions/siege.txt
+++ b/npc/functions/siege.txt
@@ -218,40 +218,6 @@ function script siege_boss {
.@m$=getarg(0);
.@s=getarg(1,0);
- /* 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
- // is different. The siege difficulty, as usual, gives an extra level to them.
- .@val=siege_calcdiff(.@m$)+15;
- .@val+=.@s;
-
- // We must cap this at 100 to prevent running out of monsters
- // Also, .@val can NEVER be less than 50, to prevent cheating :<
- if (.@val > 100)
- .@val=100;
- else if (.@val < 50)
- .@val=50;
-
- // Get their event/designation
- if (.@val >= 80)
- .@ts$="Colonel";
- else
- .@ts$="Lieutenant";
-
- // Select a type for them (saved as .@mobId)
- siege_selectmob(siege_calcdiff(.@m$, .@val), .@s);
- array_remove($@SIEGE_TMPMOBS, Bif);
- array_remove($@SIEGE_TMPMOBS, CandiedSlime);
- array_remove($@SIEGE_TMPMOBS, ManaGhost);
- array_remove($@SIEGE_TMPMOBS, SlimeBlast);
- if (array_entries($@SIEGE_TMPMOBS) > 0) {
- .@mobId=any_of($@SIEGE_TMPMOBS);
- } else {
- .@mobId=Yetifly;
- Exception("[WARNING] Insufficient monsters in database: Highlight @jesusalva - Broken reference: "+siege_calcdiff(.@m$, .@val), RB_DEBUGMES|RB_IRCBROADCAST);
- }
- */
-
// We now select based on player average level and a seed of randomness
.@val=siege_calcdiff(.@m$)+.@s;