summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2021-09-23 19:03:48 -0300
committerJesusaves <cpntb1@ymail.com>2021-09-23 19:03:48 -0300
commit6afbb9507dea2dc891a0a750abb6fd06805d22c1 (patch)
treedd397fd0ea41ab5608697592251b10c47425b026
parent8c6b6ab8860faebed92f629761f17f751faad6bb (diff)
downloadserverdata-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
-rw-r--r--db/re/mob_db.conf16
-rw-r--r--npc/functions/siege.txt10
2 files changed, 14 insertions, 12 deletions
diff --git a/db/re/mob_db.conf b/db/re/mob_db.conf
index 16f458d84..2f13cfdfb 100644
--- a/db/re/mob_db.conf
+++ b/db/re/mob_db.conf
@@ -12044,8 +12044,8 @@ mob_db: (
ChangeChase: true
Boss: true
}
- MoveSpeed: 500
- AttackDelay: 1800
+ MoveSpeed: 490
+ AttackDelay: 1700
AttackMotion: 672
DamageMotion: 480
Drops: {
@@ -12092,8 +12092,8 @@ mob_db: (
ChangeChase: true
Boss: true
}
- MoveSpeed: 500
- AttackDelay: 1800
+ MoveSpeed: 480
+ AttackDelay: 1600
AttackMotion: 672
DamageMotion: 480
Drops: {
@@ -12140,8 +12140,8 @@ mob_db: (
ChangeChase: true
Boss: true
}
- MoveSpeed: 500
- AttackDelay: 1800
+ MoveSpeed: 470
+ AttackDelay: 1500
AttackMotion: 672
DamageMotion: 480
Drops: {
@@ -12189,8 +12189,8 @@ mob_db: (
ChangeChase: true
Boss: true
}
- MoveSpeed: 500
- AttackDelay: 1800
+ MoveSpeed: 450
+ AttackDelay: 1400
AttackMotion: 672
DamageMotion: 480
Drops: {
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);