From 896c8b6b5aba5c5f4b3992b818aedc0a281b4006 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Fri, 28 Dec 2018 20:42:36 -0200 Subject: Halinarzo now have a reputation mechanism (it is a major city) This affects party price --- npc/functions/util.txt | 42 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) (limited to 'npc/functions/util.txt') diff --git a/npc/functions/util.txt b/npc/functions/util.txt index 01a436a94..dfa178db5 100644 --- a/npc/functions/util.txt +++ b/npc/functions/util.txt @@ -214,6 +214,11 @@ function script reputation { .@nr=.@nr*100/15; + + + + + // Hurnscald Quests (7 points) } else if (getarg(0) == "Hurns") { @@ -249,6 +254,11 @@ function script reputation { .@nr=.@nr*100/7; + + + + + // Land Of Fire Quests (5 points) } else if (getarg(0) == "LoF") { @@ -295,6 +305,38 @@ function script reputation { .@nr=.@nr*100/2; + + + + + + // Halinarzo Quests (5 points) + } else if (getarg(0) == "Halin") { + + // Foxhound Famine Quest (+1 rep) + if (getq(HalinarzoQuest_Foxhound) >= 6) + .@nr=.@nr+1; + + // Charles Quest (+1 rep) + if (getq(HalinarzoQuest_TraderKing) >= 2) + .@nr=.@nr+1; + + // Joaquim & Yumi Quest (+1 rep) + if (getq(HalinarzoQuest_SickWife) >= 5) + .@nr=.@nr+1; + + // Life Delight Quest (+1 rep) + if (getq(HalinarzoQuest_LifeDelight) >= 2) + .@nr=.@nr+1; + + // Sawis Quest (+1 rep) + if (getq(HalinarzoQuest_Sawis) >= 2) + .@nr=.@nr+1; + + // HALINARZO Magical Forumula + .@nr=.@nr*100/5; + + // Final } -- cgit v1.2.3-70-g09d2