summaryrefslogtreecommitdiff
path: root/npc/005-4
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2020-06-25 23:27:26 -0300
committerJesusaves <cpntb1@ymail.com>2020-06-25 23:27:26 -0300
commitc077586a37fa9a28d460a4f4b4ae1ff85fa61fb5 (patch)
tree44666872a8a9c5c9a0bd5e10c6cd6d2950d9f2d4 /npc/005-4
parent38645fbaa5914cb27953e2e3ed9ec8e180ed177e (diff)
downloadserverdata-c077586a37fa9a28d460a4f4b4ae1ff85fa61fb5.tar.gz
serverdata-c077586a37fa9a28d460a4f4b4ae1ff85fa61fb5.tar.bz2
serverdata-c077586a37fa9a28d460a4f4b4ae1ff85fa61fb5.tar.xz
serverdata-c077586a37fa9a28d460a4f4b4ae1ff85fa61fb5.zip
The 100% chance EXP Bonus from Tolchi only applies if top3 players already reached
level 50. This is to prevent an early imbalance at ML Stable
Diffstat (limited to 'npc/005-4')
-rw-r--r--npc/005-4/tolchi.txt8
1 files changed, 5 insertions, 3 deletions
diff --git a/npc/005-4/tolchi.txt b/npc/005-4/tolchi.txt
index 6e64c054d..0ff4b791b 100644
--- a/npc/005-4/tolchi.txt
+++ b/npc/005-4/tolchi.txt
@@ -327,9 +327,11 @@ function tolchi_tweaks {
// First time item bonus
if (!#FIRST_TIME) {
- .@vartp=IOPT_EXPGAIN;
- .@bonus=csys_Multiplier(.@lv);
- setitemoptionbyindex(.@id, 1, .@vartp, .@bonus);
+ if (TOP3AVERAGELVL() > 50) {
+ .@vartp=IOPT_EXPGAIN;
+ .@bonus=csys_Multiplier(.@lv);
+ setitemoptionbyindex(.@id, 1, .@vartp, .@bonus);
+ }
#FIRST_TIME=true;
}