diff options
author | Jesusaves <cpntb1@ymail.com> | 2019-08-26 21:44:41 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2019-08-26 21:44:41 -0300 |
commit | 115cfb7d351e47034da7ea736e706d82d6a08ece (patch) | |
tree | 96bbd50079b46b3cb648973b21b49d40bb9b5502 /npc | |
parent | 0ef56764dc2796cb43e90f10c5eb380c9f94406a (diff) | |
download | serverdata-115cfb7d351e47034da7ea736e706d82d6a08ece.tar.gz serverdata-115cfb7d351e47034da7ea736e706d82d6a08ece.tar.bz2 serverdata-115cfb7d351e47034da7ea736e706d82d6a08ece.tar.xz serverdata-115cfb7d351e47034da7ea736e706d82d6a08ece.zip |
Status reset without result will not be charged
Diffstat (limited to 'npc')
-rw-r--r-- | npc/functions/resetstatus.txt | 5 |
1 files changed, 3 insertions, 2 deletions
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."), |