From fd734fbffd906fff7cc3c3fb1794631c2d3f3231 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Sat, 1 Jun 2019 22:01:13 -0300 Subject: Change Ishi formula for cost when level exceeds 50. This should bring him back to play. --- npc/003-1/ishi.txt | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'npc/003-1/ishi.txt') 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) -- cgit v1.2.3-60-g2f50