From da0d13ab2564d438875048ed8f5465a37bc64cca Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Sat, 9 Nov 2019 17:19:40 -0300 Subject: Status reset (all NPCs) and almost every crafter in LoF --- 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 6075749c8..343774dca 100644 --- a/npc/functions/resetstatus.txt +++ b/npc/functions/resetstatus.txt @@ -51,6 +51,8 @@ function script ConfirmStatusReset { if (getarg(0,-1) >= 0) .@plush_count=getarg(0,-1); + .@plush_count=POL_AdjustPrice(.@plush_count); + mesc l("WARNING: Permanent boosts will return to their fruit form."), 1; switch (select(lg("Yes, I am sure."), @@ -85,7 +87,7 @@ function script ConfirmStatusReset { l("It seems that you have no status points to reset!"), l("Come back when you will really need me."); } else { - Zeny-=.@plush_count; + POL_PlayerMoney(.@plush_count); speech S_LAST_NEXT, l("Let's see... @@ of your status points have just been reset!", StatusPoint - .@wasSP), l("Spend it wisely this time."), -- cgit v1.2.3-60-g2f50