summaryrefslogtreecommitdiff
path: root/src/map/skill.c
diff options
context:
space:
mode:
authorIbrahim Zidan <brahem@aotsw.com>2019-04-13 21:11:09 +0200
committerIbrahim Zidan <brahem@aotsw.com>2019-05-05 23:27:59 +0200
commitbd1c1bb39b3d69fba175bda94af4e9d1149fbbb5 (patch)
tree5e8e804a3f8e3ef8d0f580bc2763b23b84682edb /src/map/skill.c
parent31f47be4b26e69d2880e12530d021ce6c8c802ea (diff)
downloadhercules-bd1c1bb39b3d69fba175bda94af4e9d1149fbbb5.tar.gz
hercules-bd1c1bb39b3d69fba175bda94af4e9d1149fbbb5.tar.bz2
hercules-bd1c1bb39b3d69fba175bda94af4e9d1149fbbb5.tar.xz
hercules-bd1c1bb39b3d69fba175bda94af4e9d1149fbbb5.zip
Removal of refine database code from status.c and moving it respectfully to its own files
Signed-off-by: Ibrahim Zidan <brahem@aotsw.com>
Diffstat (limited to 'src/map/skill.c')
-rw-r--r--src/map/skill.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/map/skill.c b/src/map/skill.c
index 633a73d67..2b2c2b6f1 100644
--- a/src/map/skill.c
+++ b/src/map/skill.c
@@ -44,6 +44,7 @@
#include "map/path.h"
#include "map/pc.h"
#include "map/pet.h"
+#include "map/refine.h"
#include "map/script.h"
#include "map/status.h"
#include "map/unit.h"
@@ -16204,7 +16205,7 @@ static void skill_weaponrefine(struct map_session_data *sd, int idx)
return;
}
- per = status->get_refine_chance(ditem->wlv, (int)item->refine, REFINE_CHANCE_TYPE_NORMAL) * 10;
+ per = refine->get_refine_chance(ditem->wlv, (int)item->refine, REFINE_CHANCE_TYPE_NORMAL) * 10;
// Aegis leaked formula. [malufett]
if (sd->status.class == JOB_MECHANIC_T)