diff options
author | Jesusaves <cpntb1@ymail.com> | 2018-12-28 20:42:36 -0200 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2018-12-28 20:42:36 -0200 |
commit | 896c8b6b5aba5c5f4b3992b818aedc0a281b4006 (patch) | |
tree | 86c7bce00e0537e4a7fdf593f15fa26bb0e2cb5d /npc/functions | |
parent | 879ab73690447609a96e82e3303f725752a9aa28 (diff) | |
download | serverdata-896c8b6b5aba5c5f4b3992b818aedc0a281b4006.tar.gz serverdata-896c8b6b5aba5c5f4b3992b818aedc0a281b4006.tar.bz2 serverdata-896c8b6b5aba5c5f4b3992b818aedc0a281b4006.tar.xz serverdata-896c8b6b5aba5c5f4b3992b818aedc0a281b4006.zip |
Halinarzo now have a reputation mechanism (it is a major city)
This affects party price
Diffstat (limited to 'npc/functions')
-rw-r--r-- | npc/functions/util.txt | 42 |
1 files changed, 42 insertions, 0 deletions
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 } |