diff options
author | smokexyz <sagunkho@hotmail.com> | 2017-05-23 00:34:45 +0800 |
---|---|---|
committer | smokexyz <sagunkho@hotmail.com> | 2017-05-23 00:34:45 +0800 |
commit | 6f2827cbf9282981a29abaa06236fb0cd6300057 (patch) | |
tree | 48a2d9e2b9f9e9353bb341b63963a884e574b48b /src/plugins/HPMHooking/HPMHooking_map.Hooks.inc | |
parent | 1570d3abbbc999ebc3242d99f87a5bd3b283e479 (diff) | |
download | hercules-6f2827cbf9282981a29abaa06236fb0cd6300057.tar.gz hercules-6f2827cbf9282981a29abaa06236fb0cd6300057.tar.bz2 hercules-6f2827cbf9282981a29abaa06236fb0cd6300057.tar.xz hercules-6f2827cbf9282981a29abaa06236fb0cd6300057.zip |
HPM Hook Update - followup 1570d3abbbc999ebc3242d99f87a5bd3b283e479
Diffstat (limited to 'src/plugins/HPMHooking/HPMHooking_map.Hooks.inc')
-rw-r--r-- | src/plugins/HPMHooking/HPMHooking_map.Hooks.inc | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/plugins/HPMHooking/HPMHooking_map.Hooks.inc b/src/plugins/HPMHooking/HPMHooking_map.Hooks.inc index 884e1e920..bcff2cd79 100644 --- a/src/plugins/HPMHooking/HPMHooking_map.Hooks.inc +++ b/src/plugins/HPMHooking/HPMHooking_map.Hooks.inc @@ -74256,15 +74256,15 @@ void HP_status_final(void) { } return; } -int HP_status_get_refine_chance(enum refine_type wlv, int refine) { +int HP_status_get_refine_chance(enum refine_type wlv, int refine, enum refine_chance_type type) { int hIndex = 0; int retVal___ = 0; if (HPMHooks.count.HP_status_get_refine_chance_pre > 0) { - int (*preHookFunc) (enum refine_type *wlv, int *refine); + int (*preHookFunc) (enum refine_type *wlv, int *refine, enum refine_chance_type *type); *HPMforce_return = false; for (hIndex = 0; hIndex < HPMHooks.count.HP_status_get_refine_chance_pre; hIndex++) { preHookFunc = HPMHooks.list.HP_status_get_refine_chance_pre[hIndex].func; - retVal___ = preHookFunc(&wlv, &refine); + retVal___ = preHookFunc(&wlv, &refine, &type); } if (*HPMforce_return) { *HPMforce_return = false; @@ -74272,13 +74272,13 @@ int HP_status_get_refine_chance(enum refine_type wlv, int refine) { } } { - retVal___ = HPMHooks.source.status.get_refine_chance(wlv, refine); + retVal___ = HPMHooks.source.status.get_refine_chance(wlv, refine, type); } if (HPMHooks.count.HP_status_get_refine_chance_post > 0) { - int (*postHookFunc) (int retVal___, enum refine_type wlv, int refine); + int (*postHookFunc) (int retVal___, enum refine_type wlv, int refine, enum refine_chance_type type); for (hIndex = 0; hIndex < HPMHooks.count.HP_status_get_refine_chance_post; hIndex++) { postHookFunc = HPMHooks.list.HP_status_get_refine_chance_post[hIndex].func; - retVal___ = postHookFunc(retVal___, wlv, refine); + retVal___ = postHookFunc(retVal___, wlv, refine, type); } } return retVal___; |