summaryrefslogtreecommitdiff
path: root/npc
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2020-02-22 15:37:16 -0300
committerJesusaves <cpntb1@ymail.com>2020-02-22 15:37:16 -0300
commitac56788dd8335807fbda1342dc78bf2fc47a181f (patch)
tree0cd3b67dd6c2963df704ef31e495ed6d69ad846c /npc
parented8fc1d06806e35353ef1fa4a2a4648a480cc039 (diff)
downloadserverdata-ac56788dd8335807fbda1342dc78bf2fc47a181f.tar.gz
serverdata-ac56788dd8335807fbda1342dc78bf2fc47a181f.tar.bz2
serverdata-ac56788dd8335807fbda1342dc78bf2fc47a181f.tar.xz
serverdata-ac56788dd8335807fbda1342dc78bf2fc47a181f.zip
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
Diffstat (limited to 'npc')
-rw-r--r--npc/functions/resetstatus.txt4
1 files changed, 3 insertions, 1 deletions
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;