diff options
author | Haru <haru@dotalux.com> | 2019-05-06 00:19:06 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-05-06 00:19:06 +0200 |
commit | 574801d93c55b5ac41f9bdbd660f747f1c5aaa76 (patch) | |
tree | 473c9ada31454ae62f73215ade30687cd61a3b4e /src/map/skill.c | |
parent | 31f47be4b26e69d2880e12530d021ce6c8c802ea (diff) | |
parent | 86a3d6ce9b259baf29d7cc05a8e75aa2b1e3ac24 (diff) | |
download | hercules-574801d93c55b5ac41f9bdbd660f747f1c5aaa76.tar.gz hercules-574801d93c55b5ac41f9bdbd660f747f1c5aaa76.tar.bz2 hercules-574801d93c55b5ac41f9bdbd660f747f1c5aaa76.tar.xz hercules-574801d93c55b5ac41f9bdbd660f747f1c5aaa76.zip |
Merge pull request #2446 from hemagx/refinery_ui_update
Implement Refinery ui and Refine code refactor
Diffstat (limited to 'src/map/skill.c')
-rw-r--r-- | src/map/skill.c | 3 |
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) |