diff options
author | Jesusaves <cpntb1@ymail.com> | 2021-09-23 19:03:48 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2021-09-23 19:03:48 -0300 |
commit | 6afbb9507dea2dc891a0a750abb6fd06805d22c1 (patch) | |
tree | dd397fd0ea41ab5608697592251b10c47425b026 /npc | |
parent | 8c6b6ab8860faebed92f629761f17f751faad6bb (diff) | |
download | serverdata-6afbb9507dea2dc891a0a750abb6fd06805d22c1.tar.gz serverdata-6afbb9507dea2dc891a0a750abb6fd06805d22c1.tar.bz2 serverdata-6afbb9507dea2dc891a0a750abb6fd06805d22c1.tar.xz serverdata-6afbb9507dea2dc891a0a750abb6fd06805d22c1.zip |
Bump siege boss stats (atk and speed), and make higher level ones appear more seldomly
Diffstat (limited to 'npc')
-rw-r--r-- | npc/functions/siege.txt | 10 |
1 files changed, 6 insertions, 4 deletions
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); |