From ac56788dd8335807fbda1342dc78bf2fc47a181f Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Sat, 22 Feb 2020 15:37:16 -0300 Subject: Add a new GP formula for stat reset if level > 15 Below the GP Table For the relevant changed levels Lv 15: 1050 -> 1120 Lv 17: 1470 -> 1136 Lv 20: 1050 -> 1160 Lv 22: 1260 -> 1176 Lv 25: 1575 -> 1200 Lv 27: 1785 -> 1216 Lv 30: 1400 -> 1240 Lv 32: 1540 -> 1256 Lv 35: 1750 -> 1280 Lv 37: 1890 -> 1296 Lv 40: 1575 -> 1320 Lv 42: 1680 -> 1336 Lv 45: 1837 -> 1360 Lv 47: 1942 -> 1376 Lv 50: 1680 -> 1400 Lv 52: 1764 -> 1416 Lv 55: 1890 -> 1440 Lv 57: 1974 -> 1456 Lv 60: 1750 -> 1480 Lv 62: 1820 -> 1496 Lv 65: 1925 -> 1520 Lv 67: 1995 -> 1536 Lv 70: 1800 -> 1560 Lv 72: 1860 -> 1576 Lv 75: 1950 -> 1600 Lv 77: 2010 -> 1616 Lv 80: 1837 -> 1640 Lv 82: 1890 -> 1656 Lv 85: 1968 -> 1680 Lv 87: 2021 -> 1696 Lv 90: 1866 -> 1720 Lv 92: 1913 -> 1736 Lv 95: 1983 -> 1760 Lv 97: 2030 -> 1776 Lv 100: 1890 -> 1800 --- npc/functions/resetstatus.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'npc/functions/resetstatus.txt') diff --git a/npc/functions/resetstatus.txt b/npc/functions/resetstatus.txt index 343774dca..71f724170 100644 --- a/npc/functions/resetstatus.txt +++ b/npc/functions/resetstatus.txt @@ -43,7 +43,9 @@ function script StatusResetReinvest { // Return wasSP on success, 0 on failure // ConfirmReset( {price} ) function script ConfirmStatusReset { - if (BaseLevel >= 10) + if (BaseLevel >= 15) + .@plush_count=(1000-BaseLevel*10+(BaseLevel*18)); + else if (BaseLevel >= 10) .@plush_count=(BaseLevel*210-(10*210))/(BaseLevel/10); else .@plush_count=1; -- cgit v1.2.3-70-g09d2