diff options
Diffstat (limited to 'npc')
-rw-r--r-- | npc/functions/resetstatus.txt | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/npc/functions/resetstatus.txt b/npc/functions/resetstatus.txt index 0035196b8..c9744d901 100644 --- a/npc/functions/resetstatus.txt +++ b/npc/functions/resetstatus.txt @@ -8,7 +8,11 @@ // Return wasSP on success, 0 on failure // ConfirmReset( {price} ) function script ConfirmStatusReset { - .@plush_count=(BaseLevel*210-(10*210))/(BaseLevel/10); + if (BaseLevel >= 10) + .@plush_count=(BaseLevel*210-(10*210))/(BaseLevel/10); + else + .@plush_count=1; + if (getarg(0,-1) >= 0) .@plush_count=getarg(0,-1); |