summaryrefslogtreecommitdiff
path: root/npc/functions/util.txt
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2024-01-20 17:21:17 -0300
committerJesusaves <cpntb1@ymail.com>2024-01-20 17:21:17 -0300
commita3315ae304b9fc6d9ea73f3e9d1860989596ed52 (patch)
tree4adc300614519d3fd5c436880c9d1ce30f4bb65f /npc/functions/util.txt
parent4d160739ff81700c3c174dea2de61f02dd3a8868 (diff)
downloadserverdata-a3315ae304b9fc6d9ea73f3e9d1860989596ed52.tar.gz
serverdata-a3315ae304b9fc6d9ea73f3e9d1860989596ed52.tar.bz2
serverdata-a3315ae304b9fc6d9ea73f3e9d1860989596ed52.tar.xz
serverdata-a3315ae304b9fc6d9ea73f3e9d1860989596ed52.zip
Cooking Skill can now be obtainable (max legit value = 6)
Diffstat (limited to 'npc/functions/util.txt')
-rw-r--r--npc/functions/util.txt28
1 files changed, 28 insertions, 0 deletions
diff --git a/npc/functions/util.txt b/npc/functions/util.txt
index 2ecb72835..9f1ba71d3 100644
--- a/npc/functions/util.txt
+++ b/npc/functions/util.txt
@@ -544,6 +544,34 @@ function script reputation {
+ // Aethyr Quests (4 points)
+ } else if (getarg(0) == "Aethyr") {
+
+ // Light Green Diamond (+1 rep)
+ if (getq(AethyrQuest_Tyrca) >= 1)
+ .@nr=.@nr+1;
+
+ // Butterfly (+1 rep)
+ if (getq(AethyrQuest_Tametomo) & 1)
+ .@nr=.@nr+1;
+
+ // Lava Mana Pearl (+1 rep)
+ if (getq(AethyrQuest_Tametomo) & 2)
+ .@nr=.@nr+1;
+
+ // Petal (+1 rep)
+ if (getq(AethyrQuest_Tametomo) & 4)
+ .@nr=.@nr+1;
+
+ // AETHYR Magical Forumula
+ .@nr=.@nr*100/4;
+
+
+
+
+
+
+
// Candor Quests (10 points)
} else if (getarg(0) == "Candor") {