diff options
Diffstat (limited to 'npc')
-rw-r--r-- | npc/functions/siege.txt | 34 |
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; |