diff options
author | Jesusaves <cpntb1@ymail.com> | 2019-01-05 20:12:22 -0200 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2019-01-05 20:12:22 -0200 |
commit | a5794cd2f6ed5dfc95b4ad541ad7c0bcf73bdacb (patch) | |
tree | 1dceb6cce5bb1fd5d499fc716040188d4f15d9c2 /npc/functions | |
parent | 7d36b506506e35d1061f09a8af4d037559032e55 (diff) | |
download | serverdata-a5794cd2f6ed5dfc95b4ad541ad7c0bcf73bdacb.tar.gz serverdata-a5794cd2f6ed5dfc95b4ad541ad7c0bcf73bdacb.tar.bz2 serverdata-a5794cd2f6ed5dfc95b4ad541ad7c0bcf73bdacb.tar.xz serverdata-a5794cd2f6ed5dfc95b4ad541ad7c0bcf73bdacb.zip |
Prepare the next main storyline stage. Still incomplete.
Diffstat (limited to 'npc/functions')
-rw-r--r-- | npc/functions/util.txt | 22 |
1 files changed, 21 insertions, 1 deletions
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 } |