diff options
author | Jesusaves <cpntb1@ymail.com> | 2019-01-14 16:43:41 -0200 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2019-01-14 16:43:41 -0200 |
commit | f9fb71a9d6ac0f8d1993434dee0051cfb1a95e40 (patch) | |
tree | b6f81caeb13673874a608fb18768cc0a591cfaff | |
parent | d63867c07a31cd8bd3078f3458f9031f53249497 (diff) | |
download | serverdata-f9fb71a9d6ac0f8d1993434dee0051cfb1a95e40.tar.gz serverdata-f9fb71a9d6ac0f8d1993434dee0051cfb1a95e40.tar.bz2 serverdata-f9fb71a9d6ac0f8d1993434dee0051cfb1a95e40.tar.xz serverdata-f9fb71a9d6ac0f8d1993434dee0051cfb1a95e40.zip |
reputation('Candor'), disregards Nard's ship and Tulimshar quests.
This is needed for Milly.
-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 } |