From 63bc3ad47f8dda031f8227cc15767063bf708c6a Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Wed, 13 Jan 2021 04:58:25 -0300 Subject: Prevent Salohcin from charging 0 GP due to memory --- npc/craft/tweak.txt | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/npc/craft/tweak.txt b/npc/craft/tweak.txt index bb9078a22..2c745a291 100644 --- a/npc/craft/tweak.txt +++ b/npc/craft/tweak.txt @@ -31,8 +31,9 @@ function script SmithTweakSystem { .@price=getarg(0, 600); .@retry=getarg(1, 1); - // Adjust price - .@price=POL_AdjustPrice(.@price); + // Adjust price (if relevant) + if (.@retry == 1) + .@price=POL_AdjustPrice(.@price); // How many times more can you tweak? // You get 1 action, capped to 6 -- cgit v1.2.3-70-g09d2