summaryrefslogtreecommitdiff
path: root/npc/042-0
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2020-05-15 11:47:52 -0300
committerJesusaves <cpntb1@ymail.com>2020-05-15 11:47:52 -0300
commit56365ae8cfae8463e534062cb1a9d05a96308a30 (patch)
tree39e7b484a16bcb3d154e86338044b9887af1ce72 /npc/042-0
parent9798c92ccd84dcfc3815f1470e2f4c5877502451 (diff)
downloadserverdata-56365ae8cfae8463e534062cb1a9d05a96308a30.tar.gz
serverdata-56365ae8cfae8463e534062cb1a9d05a96308a30.tar.bz2
serverdata-56365ae8cfae8463e534062cb1a9d05a96308a30.tar.xz
serverdata-56365ae8cfae8463e534062cb1a9d05a96308a30.zip
Use guild average level to determine rewards, because MX might have changed
Diffstat (limited to 'npc/042-0')
-rw-r--r--npc/042-0/arthur.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/npc/042-0/arthur.txt b/npc/042-0/arthur.txt
index 28f5bbcbb..d497df25a 100644
--- a/npc/042-0/arthur.txt
+++ b/npc/042-0/arthur.txt
@@ -225,10 +225,10 @@ L_DoReward2:
warp "014-4", 67, 27;
.@cn=$KAMELOT_MX[.@g]/10;
// Penalty if you dragged the guild down
- if (BaseLevel < $KAMELOT_MX[.@g]*5/10)
+ if (BaseLevel < getguildavg(.@g)*5/10)
.@cn=.@cn*5/10;
// Penalty if you carried the guild
- if (BaseLevel > $KAMELOT_MX[.@g]*15/10)
+ if (BaseLevel > getguildavg(.@g)*15/10)
.@cn=.@cn*5/10;
// Your reward
.@cn+=1;