summaryrefslogtreecommitdiff
path: root/src/plugins/HPMHooking/HPMHooking_map.Hooks.inc
diff options
context:
space:
mode:
authorHercules.ws <dev@herc.ws>2016-08-14 17:54:09 +0200
committerHerculesWSAPI <dev@herc.ws>2016-08-14 17:54:09 +0200
commit4693faa69c40fb3f202351558ed5fce2866496ae (patch)
tree49434320004c81c714801e0b982f55f444a50cb8 /src/plugins/HPMHooking/HPMHooking_map.Hooks.inc
parent26f1241ca5e58d95845aba101d7026759fa15e4b (diff)
downloadhercules-4693faa69c40fb3f202351558ed5fce2866496ae.tar.gz
hercules-4693faa69c40fb3f202351558ed5fce2866496ae.tar.bz2
hercules-4693faa69c40fb3f202351558ed5fce2866496ae.tar.xz
hercules-4693faa69c40fb3f202351558ed5fce2866496ae.zip
HPM Hooks Update
Signed-off-by: HerculesWSAPI <dev@herc.ws>
Diffstat (limited to 'src/plugins/HPMHooking/HPMHooking_map.Hooks.inc')
-rw-r--r--src/plugins/HPMHooking/HPMHooking_map.Hooks.inc12
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 8a343473c..9ef56800f 100644
--- a/src/plugins/HPMHooking/HPMHooking_map.Hooks.inc
+++ b/src/plugins/HPMHooking/HPMHooking_map.Hooks.inc
@@ -54767,15 +54767,15 @@ int HP_pc_steal_item(struct map_session_data *sd, struct block_list *bl, uint16
}
return retVal___;
}
-int HP_pc_steal_coin(struct map_session_data *sd, struct block_list *bl) {
+int HP_pc_steal_coin(struct map_session_data *sd, struct block_list *bl, uint16 skill_lv) {
int hIndex = 0;
int retVal___ = 0;
if( HPMHooks.count.HP_pc_steal_coin_pre ) {
- int (*preHookFunc) (struct map_session_data **sd, struct block_list **bl);
+ int (*preHookFunc) (struct map_session_data **sd, struct block_list **bl, uint16 *skill_lv);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_pc_steal_coin_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_pc_steal_coin_pre[hIndex].func;
- retVal___ = preHookFunc(&sd, &bl);
+ retVal___ = preHookFunc(&sd, &bl, &skill_lv);
}
if( *HPMforce_return ) {
*HPMforce_return = false;
@@ -54783,13 +54783,13 @@ int HP_pc_steal_coin(struct map_session_data *sd, struct block_list *bl) {
}
}
{
- retVal___ = HPMHooks.source.pc.steal_coin(sd, bl);
+ retVal___ = HPMHooks.source.pc.steal_coin(sd, bl, skill_lv);
}
if( HPMHooks.count.HP_pc_steal_coin_post ) {
- int (*postHookFunc) (int retVal___, struct map_session_data *sd, struct block_list *bl);
+ int (*postHookFunc) (int retVal___, struct map_session_data *sd, struct block_list *bl, uint16 skill_lv);
for(hIndex = 0; hIndex < HPMHooks.count.HP_pc_steal_coin_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_pc_steal_coin_post[hIndex].func;
- retVal___ = postHookFunc(retVal___, sd, bl);
+ retVal___ = postHookFunc(retVal___, sd, bl, skill_lv);
}
}
return retVal___;