From 6afbb9507dea2dc891a0a750abb6fd06805d22c1 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Thu, 23 Sep 2021 19:03:48 -0300 Subject: Bump siege boss stats (atk and speed), and make higher level ones appear more seldomly --- npc/functions/siege.txt | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'npc/functions/siege.txt') diff --git a/npc/functions/siege.txt b/npc/functions/siege.txt index 3e9367081..e76280bf0 100644 --- a/npc/functions/siege.txt +++ b/npc/functions/siege.txt @@ -249,16 +249,16 @@ function script siege_boss { } // Switch an adequate boss, almost always stronger - if (.@val <= 20) { + if (.@val <= 25) { .@mobId=MonsterSergeant; .@ts$="Sergeant"; - } else if (.@val <= 40) { + } else if (.@val <= 45) { .@mobId=MonsterLieutenant; .@ts$="Lieutenant"; - } else if (.@val <= 60) { + } else if (.@val <= 67) { .@mobId=MonsterCaptain; .@ts$="Captain"; - } else if (.@val <= 80) { + } else if (.@val <= 90) { .@mobId=MonsterColonel; .@ts$="Colonel"; } else { @@ -280,6 +280,7 @@ function script siege_boss { // Boost the boss stats based on difficulty and nÂș of players online .@bhp=getunitdata(.@mg, UDT_MAXHP); .@bat=getunitdata(.@mg, UDT_ATKMAX); + .@bai=getunitdata(.@mg, UDT_ATKMIN); .@bdf=getunitdata(.@mg, UDT_DEF); .@bcr=getunitdata(.@mg, UDT_CRIT); @@ -291,6 +292,7 @@ function script siege_boss { setunitdata(.@mg, UDT_ATKMAX, .@bat+(.@s*5)); setunitdata(.@mg, UDT_DEF, .@bdf+(.@s*4)); setunitdata(.@mg, UDT_CRIT, .@bcr+(.@s*3)); + setunitdata(.@mg, UDT_ATKMIN, .@bai+(.@s*2)); // Spawn some scouts areamonster(.@m$, .@xm-1, .@ym-1, .@xm+1, .@ym+1, "Scout", any(GreenSlime,RedSlime,AngryYellowSlime), 2); -- cgit v1.2.3-60-g2f50