diff options
author | Jesusaves <cpntb1@ymail.com> | 2019-07-17 16:06:39 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2019-07-17 16:06:39 -0300 |
commit | 92a18562896a2266497b4819b2bb842e77679e8d (patch) | |
tree | 9ec262b0b5e36b90fc2bf6af3e0c3ac0455d03a7 /npc | |
parent | 4034e0f747d86b8e07b9e5d7049bfafcc81af4ec (diff) | |
download | serverdata-92a18562896a2266497b4819b2bb842e77679e8d.tar.gz serverdata-92a18562896a2266497b4819b2bb842e77679e8d.tar.bz2 serverdata-92a18562896a2266497b4819b2bb842e77679e8d.tar.xz serverdata-92a18562896a2266497b4819b2bb842e77679e8d.zip |
Rewrite how monster king siege score is reported. Also, report how imminent a new
siege is (based on MK Aggro)
Diffstat (limited to 'npc')
-rw-r--r-- | npc/functions/news.txt | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/npc/functions/news.txt b/npc/functions/news.txt index eb2a9c5b8..254619931 100644 --- a/npc/functions/news.txt +++ b/npc/functions/news.txt @@ -396,7 +396,19 @@ function script Journalman { mesc l("The Monster King Army left the cities! What will happen next? Anxiety grows!"); break; case 2: - mesc l("The Monster King Army is attacking towns at random! Players already caused a loss of about @@ officers!", ($MK_TEMPVAR+rand2(-1,1))/5); + .@def=100-(($MK_TEMPVAR+rand2(-1,1))/5); + if ($@MK_AGGRO >= 300) + .@st$=col(b(l("very mad")), 1); + else if ($@MK_AGGRO >= 200) + .@st$=col(b(l("very angry")), 6); + else if ($@MK_AGGRO >= 100) + .@st$=col(b(l("furious")), 7); + if ($@MK_AGGRO >= 50) + .@st$=col(b(l("angry")), 4); + else + .@st$=col(b(l("discontent")), 9); + mesc l("The Monster King Army is attacking towns at random, but players already reduced their organization to @@ %%!", .@def); + mesc l("With recent player activity, the Monster king is @@!", .@st$); break; default: Exception(l("I do now know what this means: GS-@@-ICXN-@@", $GAME_STORYLINE, $@MK_TEMPVAR), RB_DEFAULT|RB_SPEECH); break; |