summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2022-02-04 14:24:05 -0300
committerJesusaves <cpntb1@ymail.com>2022-02-04 14:24:05 -0300
commit9b0c308e14579f392af742473319d1c16169e54c (patch)
treefc070db70c90d97ef35cf8ab5d64f99f09b502ba
parent8ee240152b7e805b1a9b318b3dc70a8816b2b084 (diff)
downloadserverdata-9b0c308e14579f392af742473319d1c16169e54c.tar.gz
serverdata-9b0c308e14579f392af742473319d1c16169e54c.tar.bz2
serverdata-9b0c308e14579f392af742473319d1c16169e54c.tar.xz
serverdata-9b0c308e14579f392af742473319d1c16169e54c.zip
Change how Halinarzo Reputation is computed.
Forest Bow now affects, and Alvasus, while simple, affects as well
-rw-r--r--db/quest_db.conf4
-rw-r--r--npc/functions/util.txt14
2 files changed, 17 insertions, 1 deletions
diff --git a/db/quest_db.conf b/db/quest_db.conf
index 76cfcdac5..56db1cd4f 100644
--- a/db/quest_db.conf
+++ b/db/quest_db.conf
@@ -275,6 +275,10 @@ quest_db: (
Id: 78
Name: "HalinarzoQuest_Kevin"
},
+{
+ Id: 79
+ Name: "HalinarzoQuest_Speed"
+},
// ID 91 to 110: Hurnscald Quests
{
diff --git a/npc/functions/util.txt b/npc/functions/util.txt
index 0cc280f09..bd6b20172 100644
--- a/npc/functions/util.txt
+++ b/npc/functions/util.txt
@@ -447,12 +447,24 @@ function script reputation {
if (getq(HalinarzoQuest_LifeDelight) >= 2)
.@nr=.@nr+1;
+ // Fisherman Quest (crossover) (+1 rep)
+ if (getq(HurnscaldQuest_ForestBow) >= 2)
+ .@nr=.@nr+1;
+
+ // Alvasus Quest (weekly) (+1 rep)
+ if (getq(HalinarzoQuest_Alvasus) >= 1)
+ .@nr=.@nr+1;
+
// Sawis Quest (+1 rep)
if (getq(HalinarzoQuest_Sawis) >= 2)
.@nr=.@nr+1;
+ // Mirio Quest (+1 rep)
+ //if (getq(HalinarzoQuest_Speed) >= 2)
+ // .@nr=.@nr+1;
+
// HALINARZO Magical Forumula
- .@nr=.@nr*100/5;
+ .@nr=.@nr*100/7;