From 9ba1952838a97be125b73f95694779ad196c81d2 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Mon, 26 Aug 2019 13:46:40 -0300 Subject: Refine: Break chance: 0.01%, Downgrade chance: 1% per refine level. In usual, nothing happens when you fail, except reagent loss. --- npc/functions/refine.txt | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/npc/functions/refine.txt b/npc/functions/refine.txt index 0c9985c3a..c23739d07 100644 --- a/npc/functions/refine.txt +++ b/npc/functions/refine.txt @@ -54,7 +54,7 @@ function script refineMaster { // Not all items are refinable if (!getequipisenableref(.@it)) { mesn; - mesq l("Well, sorry, but only weapons and body armor can be refined."); + mesq l("Well, sorry, but only some items can be refined."); mesq l("There may be some exceptions. Anyway, this item clearly cannot be refined."); next; return; @@ -152,8 +152,8 @@ function script refineMaster { mesc l("Weapons: +8 attack, +8 magic attack"); mesc l("Armors: +3~5 defense"); next; - // Perhaps the item has broken? - } else if (rand2(100) < .@rlv) { + // Perhaps the item has broken? (~0.01% chance) + } else if (rand2(10000) <= 1) { failedrefitem .@it; mesc l("*CRASH*"); next; @@ -163,7 +163,7 @@ function script refineMaster { mesn; mesq l("Well, you were warned. Do you have any other stuff for me?"); next; - // Item is weakened. + // Item is weakened. (1% per refine level) } else if (rand2(100) < .@rlv) { downrefitem .@it, 1; mesn; -- cgit v1.2.3-60-g2f50