summaryrefslogtreecommitdiff
path: root/npc/functions
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2022-01-05 14:21:00 -0300
committerJesusaves <cpntb1@ymail.com>2022-01-05 14:21:00 -0300
commit72599e615cfc3f4df4b9c502c8fd91fcebfe3250 (patch)
tree498b524394e45ee9462ffac9c86eb97e9b0140d7 /npc/functions
parentea428820c96402613a8b8c6c88328b8bf34db1be (diff)
downloadserverdata-72599e615cfc3f4df4b9c502c8fd91fcebfe3250.tar.gz
serverdata-72599e615cfc3f4df4b9c502c8fd91fcebfe3250.tar.bz2
serverdata-72599e615cfc3f4df4b9c502c8fd91fcebfe3250.tar.xz
serverdata-72599e615cfc3f4df4b9c502c8fd91fcebfe3250.zip
Add Jhon H's Quest
Diffstat (limited to 'npc/functions')
-rw-r--r--npc/functions/random-talk.txt3
-rw-r--r--npc/functions/util.txt6
2 files changed, 7 insertions, 2 deletions
diff --git a/npc/functions/random-talk.txt b/npc/functions/random-talk.txt
index 4040b0fae..44fa9b255 100644
--- a/npc/functions/random-talk.txt
+++ b/npc/functions/random-talk.txt
@@ -182,11 +182,12 @@ function script legiontalk {
}
function script asleep {
- switch(rand2(5)) {
+ switch(rand2(6)) {
case 0: npctalkonce(l("Zzzzzzzzz...")); break;
case 1: npctalkonce(l("Rrrr... Pchhhh...")); break;
case 2: npctalkonce(l("Ggrmm... Grmmmm...")); break;
case 3: npctalkonce(l("Hm... Shhhh...")); break;
+ case 4: npctalkonce(l("ZZZzzzz...")); break;
default: emotion(E_SLEEPY);
}
end;
diff --git a/npc/functions/util.txt b/npc/functions/util.txt
index 5f2cfac2d..67d14bbea 100644
--- a/npc/functions/util.txt
+++ b/npc/functions/util.txt
@@ -503,8 +503,12 @@ function script reputation {
if (getq(FrostiaQuest_Saevel) >= 2)
.@nr=.@nr+1;
+ // Jhon H's Quest (+1 rep)
+ if (getq(FrostiaQuest_JohnH) >= 1)
+ .@nr=.@nr+1;
+
// FROSTIA Magical Forumula
- .@nr=.@nr*100/10;
+ .@nr=.@nr*100/11;