From 92a18562896a2266497b4819b2bb842e77679e8d Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Wed, 17 Jul 2019 16:06:39 -0300 Subject: Rewrite how monster king siege score is reported. Also, report how imminent a new siege is (based on MK Aggro) --- npc/functions/news.txt | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) (limited to 'npc/functions') 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; -- cgit v1.2.3-60-g2f50