diff options
author | Jesusaves <cpntb1@ymail.com> | 2021-04-04 16:55:47 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2021-04-04 16:55:47 -0300 |
commit | 56ac02e00bda3bb7883ee64681675b402d012c4f (patch) | |
tree | 5b0e36b496907d7b3e77027f0bc369cd2de296af /npc/functions | |
parent | 03dcb5c1f2703d8f05170634fc127c06f994999c (diff) | |
download | serverdata-56ac02e00bda3bb7883ee64681675b402d012c4f.tar.gz serverdata-56ac02e00bda3bb7883ee64681675b402d012c4f.tar.bz2 serverdata-56ac02e00bda3bb7883ee64681675b402d012c4f.tar.xz serverdata-56ac02e00bda3bb7883ee64681675b402d012c4f.zip |
Change Act 3 duration from a fixed 500 to a 'flexible' 1000
Can be easily changed on constant files
Diffstat (limited to 'npc/functions')
-rw-r--r-- | npc/functions/mkbot.txt | 2 | ||||
-rw-r--r-- | npc/functions/news.txt | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/npc/functions/mkbot.txt b/npc/functions/mkbot.txt index 4f1037488..019c60ca5 100644 --- a/npc/functions/mkbot.txt +++ b/npc/functions/mkbot.txt @@ -233,7 +233,7 @@ OnTimer90000: $MK_TEMPVAR=0; } if ($GAME_STORYLINE == 2 && - $MK_TEMPVAR >= 500) { + $MK_TEMPVAR >= MK_SIEGE_TOTALPOWER) { kamibroadcast("##1##BThe Monster King army is in total disarray and disorder!", "Saulc"); sleep(2500); kamibroadcast("##1##BIt's our chance to strike back!", "Saulc"); diff --git a/npc/functions/news.txt b/npc/functions/news.txt index 7f7152d41..877dc323c 100644 --- a/npc/functions/news.txt +++ b/npc/functions/news.txt @@ -304,7 +304,7 @@ function script Journalman { mesc l("The Monster King Army left the cities! What will happen next? Anxiety grows!"); break; case 2: - .@def=100-(($MK_TEMPVAR+rand2(-1,1))/5); + .@def=100-(($MK_TEMPVAR+rand2(-1,1))*100/MK_SIEGE_TOTALPOWER); if ($@MK_AGGRO >= 300) .@st$=col(b(l("very mad")), 1); else if ($@MK_AGGRO >= 200) |