diff options
author | Jesusaves <cpntb1@ymail.com> | 2019-06-01 22:01:13 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2019-06-01 22:01:13 -0300 |
commit | fd734fbffd906fff7cc3c3fb1794631c2d3f3231 (patch) | |
tree | 4479ba8e32ed29a9fba29cc277e70cecf90d9336 /npc/003-1/ishi.txt | |
parent | 65823d4443318a87c4c1684a3c02ffa53fe37a46 (diff) | |
download | serverdata-fd734fbffd906fff7cc3c3fb1794631c2d3f3231.tar.gz serverdata-fd734fbffd906fff7cc3c3fb1794631c2d3f3231.tar.bz2 serverdata-fd734fbffd906fff7cc3c3fb1794631c2d3f3231.tar.xz serverdata-fd734fbffd906fff7cc3c3fb1794631c2d3f3231.zip |
Change Ishi formula for cost when level exceeds 50.
This should bring him back to play.
Diffstat (limited to 'npc/003-1/ishi.txt')
-rw-r--r-- | npc/003-1/ishi.txt | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/npc/003-1/ishi.txt b/npc/003-1/ishi.txt index 275845c93..e989b0f88 100644 --- a/npc/003-1/ishi.txt +++ b/npc/003-1/ishi.txt @@ -21,8 +21,17 @@ if (BaseLevel < 37) { @mpq_cost=((BaseLevel*2/3) ** 2); - } else { // From level 37 onwards, we will notice a small drop on price increase factor + } else if (BaseLevel <= 50) { + // From level 37 onwards, we will notice a small drop on price increase factor (until level 50) @mpq_cost=((BaseLevel*2/3) ** 2)-(BaseLevel*2); + } else { + // After level 50, the formula changes. We don't have exponential anymore. + // Previous increase reached 67 and will stop at this value. + @mpq_cost=((50*2/3) ** 2)-(50*2); + @mpq_cost+=(BaseLevel)*67; + // Of course... We still need to act as if exponent was still there... + // So we raise it a bit each 3 levels + @mpq_cost+=(BaseLevel/3)*3; } if (Mobpt < @mpq_cost) |