summaryrefslogtreecommitdiff
path: root/npc/functions
diff options
context:
space:
mode:
Diffstat (limited to 'npc/functions')
-rw-r--r--npc/functions/refine.txt8
1 files 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;