summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--npc/craft/price.txt4
1 files changed, 3 insertions, 1 deletions
diff --git a/npc/craft/price.txt b/npc/craft/price.txt
index 74111b3cf..6e1474008 100644
--- a/npc/craft/price.txt
+++ b/npc/craft/price.txt
@@ -64,7 +64,6 @@ function script _fix_cPrice {
//debugmes("New Price for %s is now %d (%d) GP", getitemname(.@item), getiteminfo(.@item, ITEMINFO_BUYPRICE), getiteminfo(.@item, ITEMINFO_SELLPRICE));
}
}
- debugmes "\n\n-------------------------------------------------------";
return;
}
@@ -73,6 +72,8 @@ function script fix_cPrice {
if (debug) return;
// Otherwise...
+ freeloop(true);
+
// Fix potions prices
_fix_cPrice(AgiPotionA);
_fix_cPrice(AgiPotionB);
@@ -199,6 +200,7 @@ function script fix_cPrice {
// TODO: Rewrite meltdown forge to similar formula
// Giving 30%~50% instead of 50%~70%
// Max rounded down, Min rounded up
+ freeloop(false);
return;
}