summaryrefslogtreecommitdiff
path: root/npc/003-1/ishi.txt
diff options
context:
space:
mode:
Diffstat (limited to 'npc/003-1/ishi.txt')
-rw-r--r--npc/003-1/ishi.txt11
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)