From 115cfb7d351e47034da7ea736e706d82d6a08ece Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Mon, 26 Aug 2019 21:44:41 -0300 Subject: Status reset without result will not be charged --- npc/functions/resetstatus.txt | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'npc/functions/resetstatus.txt') diff --git a/npc/functions/resetstatus.txt b/npc/functions/resetstatus.txt index 4d7d9e09a..e1d290499 100644 --- a/npc/functions/resetstatus.txt +++ b/npc/functions/resetstatus.txt @@ -78,13 +78,14 @@ function script ConfirmStatusReset { // Reset status have an inventorycheck, so we charge later. .@wasSP = StatusPoint; StatusResetReinvest(); - Zeny-=.@plush_count; + + // Nothing to do: Do not charge (eg. you just got the fruits back) if (StatusPoint == .@wasSP) { speech S_LAST_NEXT, l("It seems that you have no status points to reset!"), - l("But the money you brought was really awesome you know."), l("Come back when you will really need me."); } else { + Zeny-=.@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