diff options
author | Jesusaves <cpntb1@ymail.com> | 2020-06-25 23:27:26 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2020-06-25 23:27:26 -0300 |
commit | c077586a37fa9a28d460a4f4b4ae1ff85fa61fb5 (patch) | |
tree | 44666872a8a9c5c9a0bd5e10c6cd6d2950d9f2d4 | |
parent | 38645fbaa5914cb27953e2e3ed9ec8e180ed177e (diff) | |
download | serverdata-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
-rw-r--r-- | npc/005-4/tolchi.txt | 8 | ||||
-rw-r--r-- | npc/functions/util.txt | 2 |
2 files changed, 6 insertions, 4 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; } diff --git a/npc/functions/util.txt b/npc/functions/util.txt index 98286a69c..a46f9b3ba 100644 --- a/npc/functions/util.txt +++ b/npc/functions/util.txt @@ -786,7 +786,7 @@ function script learn_magic { mesc l("%s %s will require:", .@learn$, getskillname(.@ski)); mes l("* %d/%d MSP (Magic Skill Points)", .@msp, sk_points()); //mes l("* %d/%d AP (???)", .@ap, MAGIC_AP); - mes l("% %d/%d %s", .@am, countitem(.@it), getitemlink(.@it)); + mes l("* %d/%d %s", .@am, countitem(.@it), getitemlink(.@it)); mes ""; mesc l("Really learn this skill?"); if (askyesno() == ASK_NO) |