diff options
author | Hercules.ws <Hercules@efficiently.awesome> | 2014-12-10 20:34:09 +0100 |
---|---|---|
committer | HerculesWSAPI <Hercules@efficiently.awesome> | 2014-12-10 20:34:09 +0100 |
commit | 0cd2a40617be96f38cc7d0b88e5ffa4217a47f83 (patch) | |
tree | b6f6832a53354a20d5d95e6f43d388ede9a58040 /src | |
parent | c5f3bd02ecb8e204f67a7343e6b0916a9267b744 (diff) | |
download | hercules-0cd2a40617be96f38cc7d0b88e5ffa4217a47f83.tar.gz hercules-0cd2a40617be96f38cc7d0b88e5ffa4217a47f83.tar.bz2 hercules-0cd2a40617be96f38cc7d0b88e5ffa4217a47f83.tar.xz hercules-0cd2a40617be96f38cc7d0b88e5ffa4217a47f83.zip |
HPM Hooks Update
Signed-off-by: HerculesWSAPI <Hercules@efficiently.awesome>
Diffstat (limited to 'src')
-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 6531492a3..0169d43c7 100644 --- a/src/plugins/HPMHooking/HPMHooking_map.Hooks.inc +++ b/src/plugins/HPMHooking/HPMHooking_map.Hooks.inc @@ -64851,15 +64851,15 @@ unsigned short HP_status_calc_batk(struct block_list *bl, struct status_change * } return retVal___; } -unsigned short HP_status_base_matk(const struct status_data *st, int level) { +unsigned short HP_status_base_matk(struct block_list *bl, const struct status_data *st, int level) { int hIndex = 0; unsigned short retVal___ = 0; if( HPMHooks.count.HP_status_base_matk_pre ) { - unsigned short (*preHookFunc) (const struct status_data *st, int *level); + unsigned short (*preHookFunc) (struct block_list *bl, const struct status_data *st, int *level); *HPMforce_return = false; for(hIndex = 0; hIndex < HPMHooks.count.HP_status_base_matk_pre; hIndex++ ) { preHookFunc = HPMHooks.list.HP_status_base_matk_pre[hIndex].func; - retVal___ = preHookFunc(st, &level); + retVal___ = preHookFunc(bl, st, &level); } if( *HPMforce_return ) { *HPMforce_return = false; @@ -64867,13 +64867,13 @@ unsigned short HP_status_base_matk(const struct status_data *st, int level) { } } { - retVal___ = HPMHooks.source.status.base_matk(st, level); + retVal___ = HPMHooks.source.status.base_matk(bl, st, level); } if( HPMHooks.count.HP_status_base_matk_post ) { - unsigned short (*postHookFunc) (unsigned short retVal___, const struct status_data *st, int *level); + unsigned short (*postHookFunc) (unsigned short retVal___, struct block_list *bl, const struct status_data *st, int *level); for(hIndex = 0; hIndex < HPMHooks.count.HP_status_base_matk_post; hIndex++ ) { postHookFunc = HPMHooks.list.HP_status_base_matk_post[hIndex].func; - retVal___ = postHookFunc(retVal___, st, &level); + retVal___ = postHookFunc(retVal___, bl, st, &level); } } return retVal___; |