summaryrefslogtreecommitdiff
path: root/src/map/skill.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/map/skill.c')
-rw-r--r--src/map/skill.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/skill.c b/src/map/skill.c
index 4ec69ac49..0c1d042d0 100644
--- a/src/map/skill.c
+++ b/src/map/skill.c
@@ -12480,7 +12480,7 @@ void skill_weaponrefine (struct map_session_data *sd, int idx)
return;
}
- per = percentrefinery [ditem->wlv][(int)item->refine];
+ per = status_get_refine_chance(ditem->wlv, (int)item->refine);
per += (((signed int)sd->status.job_level)-50)/2; //Updated per the new kro descriptions. [Skotlex]
pc_delitem(sd, i, 1, 0, 0, LOG_TYPE_OTHER);