diff options
-rw-r--r-- | npc/functions/util.txt | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/npc/functions/util.txt b/npc/functions/util.txt index 46f5bce83..1fa01d375 100644 --- a/npc/functions/util.txt +++ b/npc/functions/util.txt @@ -361,6 +361,54 @@ function script reputation { .@nr=.@nr*100/2; + + + + + + // Candor Quests (9 points) + } else if (getarg(0) == "Candor") { + + // Valon Quest (+1 rep) + if (getq(CandorQuest_Trainer) >= 14) + .@nr=.@nr+1; + + // Zegas Quest (+1 rep) + if (getq(CandorQuest_Barrel) >= 4) + .@nr=.@nr+1; + + // Hide And Seek Quest (+1 rep) + if (getq(CandorQuest_HAS) >= 4) + .@nr=.@nr+1; + + // Sailors Quest (+1 rep) + if (getq(CandorQuest_Sailors) >= 3) + .@nr=.@nr+1; + + // Sailors Quest, part 2 (+1 rep) + if (getq(CandorQuest_SailorCure) >= 3) + .@nr=.@nr+1; + + // Vincent Quest (+1 rep) + if (getq(CandorQuest_Vincent) >= 2) + .@nr=.@nr+1; + + // Tolchi Quest (+1 rep) + if (getq(CandorQuest_Tolchi) >= 4) + .@nr=.@nr+1; + + // Maya Quest (+1 rep) + if (getq(CandorQuest_Maya) >= 4) + .@nr=.@nr+1; + + // Rosen Quest (+1 rep) + if (getq(CandorQuest_Rosen) >= 3) + .@nr=.@nr+1; + + // CANDOR Magical Forumula + .@nr=.@nr*100/9; + + // Final } |