From a5794cd2f6ed5dfc95b4ad541ad7c0bcf73bdacb Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Sat, 5 Jan 2019 20:12:22 -0200 Subject: Prepare the next main storyline stage. Still incomplete. --- npc/functions/util.txt | 22 +++++++++++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-) (limited to 'npc/functions') diff --git a/npc/functions/util.txt b/npc/functions/util.txt index 05482b2c6..72eb8b68c 100644 --- a/npc/functions/util.txt +++ b/npc/functions/util.txt @@ -297,7 +297,7 @@ function script reputation { if (getq(NivalisQuest_Well) >= 2) .@nr=.@nr+1; - // Nivalis Well Quest (+1 rep) + // Nivalis Cindy Quest (+1 rep) if (getq(NivalisQuest_Cindy) >= 5) .@nr=.@nr+1; @@ -337,6 +337,26 @@ function script reputation { .@nr=.@nr*100/5; + + + + + + // Frostia Quests (2 points) + } else if (getarg(0) == "Frostia") { + + // Rescue Yeti Quest (+1 rep) + if (getq(NivalisQuest_Well) >= 2) + .@nr=.@nr+1; + + // Rescue Cindy Quest (+1 rep) + if (getq(NivalisQuest_Cindy) >= 5) + .@nr=.@nr+1; + + // FROSTIA Magical Forumula + .@nr=.@nr*100/2; + + // Final } -- cgit v1.2.3-70-g09d2