summaryrefslogtreecommitdiff
path: root/npc/functions
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2018-09-21 12:12:14 -0300
committerJesusaves <cpntb1@ymail.com>2018-09-21 12:12:14 -0300
commit912a10208c99165b171538ad52ef1e2a11f4603b (patch)
tree0636f7efb55052bcf0ebb88f7f36b28c9e70ccc4 /npc/functions
parentd780fef4937fae3dd359b0f3c679ae0b856ecead (diff)
downloadserverdata-912a10208c99165b171538ad52ef1e2a11f4603b.tar.gz
serverdata-912a10208c99165b171538ad52ef1e2a11f4603b.tar.bz2
serverdata-912a10208c99165b171538ad52ef1e2a11f4603b.tar.xz
serverdata-912a10208c99165b171538ad52ef1e2a11f4603b.zip
Take in account Caelum & Dracoula quests on To Tulimshar Travels.
Diffstat (limited to 'npc/functions')
-rw-r--r--npc/functions/util.txt42
1 files changed, 25 insertions, 17 deletions
diff --git a/npc/functions/util.txt b/npc/functions/util.txt
index 3eee8cac3..99d60da5d 100644
--- a/npc/functions/util.txt
+++ b/npc/functions/util.txt
@@ -87,30 +87,22 @@ function script nard_reputation {
function script reputation {
.@nr=0; // Base reputation
- // Tulimshar Quests (12 points)
+ // Tulimshar Quests (14 points)
if (getarg(0) == "Tulim") {
- // Swezanne Quest (+1 rep)
- if (getq(TulimsharQuest_Swezanne) >= 1)
- .@nr=.@nr+1;
-
- // Sailors Quest (+1 rep)
- if (getq(TulimsharQuest_Sailors) >= 2)
+ // Eugene Quest (+1 rep)
+ if (getq(TulimsharQuests_Fishman) >= 2)
.@nr=.@nr+1;
- // Hasan Quest (+1 rep)
- if (getq(TulimsharQuest_Hasan) >= 5)
+ // Sarah Quest (+1 rep)
+ if (getq(TulimsharQuest_Sarah) >= 1)
.@nr=.@nr+1;
// Dausen Quest (+1 rep)
if (getq(TulimsharQuest_WaterForGuard) >= 3)
.@nr=.@nr+1;
- // Eugene Quest (+1 rep)
- if (getq(TulimsharQuests_Fishman) >= 2)
- .@nr=.@nr+1;
-
- // Sarah Quest (+1 rep)
- if (getq(TulimsharQuest_Sarah) >= 1)
+ // Swezanne Quest (+1 rep)
+ if (getq(TulimsharQuest_Swezanne) >= 1)
.@nr=.@nr+1;
// Silvia Quest (+1 rep)
@@ -123,10 +115,18 @@ function script reputation {
.@nr=.@nr+1;
*/
+ // Hasan Quest (+1 rep)
+ if (getq(TulimsharQuest_Hasan) >= 5)
+ .@nr=.@nr+1;
+
// Devoir Quest (+1 rep)
if (getq(TulimsharQuest_Devoir) >= 1)
.@nr=.@nr+1;
+ // Sailors Quest (+1 rep)
+ if (getq(TulimsharQuest_Sailors) >= 2)
+ .@nr=.@nr+1;
+
// Zarkor Quest (+1 rep)
if (getq(TulimsharQuest_DarkInvocator) >= 7)
.@nr=.@nr+1;
@@ -135,12 +135,20 @@ function script reputation {
if (getq(TulimsharQuest_AnwarField) >= 10)
.@nr=.@nr+1;
+ // Neko Quest (+1 rep)
+ if (getq(TulimsharQuest_Neko) >= 2)
+ .@nr=.@nr+1;
+
// Tycoon Quest (+1 rep)
if (getq(MineQuest_Tycoon) >= 15)
.@nr=.@nr+1;
- // Neko Quest (+1 rep)
- if (getq(TulimsharQuest_Neko) >= 2)
+ // Dracoula Quest (+1 rep)
+ if (getq(MineQuest_Dracoula) >= 1)
+ .@nr=.@nr+1;
+
+ // Caelum Quest (+1 rep)
+ if (getq(MineQuest_Caelum) >= 2)
.@nr=.@nr+1;