summaryrefslogtreecommitdiff
path: root/npc/functions/siege.txt
diff options
context:
space:
mode:
Diffstat (limited to 'npc/functions/siege.txt')
-rw-r--r--npc/functions/siege.txt10
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);