From c7f3f6c2ceae862866a019d0a438d8f965b042c2 Mon Sep 17 00:00:00 2001 From: shennetsind Date: Wed, 15 May 2013 21:56:21 -0300 Subject: Hercules Renewal Phase One: guild.c started http://hercules.ws/board/topic/237-hercules-renewal/ Signed-off-by: shennetsind --- src/map/skill.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/map/skill.c') diff --git a/src/map/skill.c b/src/map/skill.c index 2e8bc8b1c..bbc88d9d2 100644 --- a/src/map/skill.c +++ b/src/map/skill.c @@ -7194,7 +7194,7 @@ int skill_castend_nodamage_id (struct block_list *src, struct block_list *bl, ui src,skill_id,skill_lv,tick, flag|BCT_GUILD|1, skill->castend_nodamage_id); if (sd) - guild_block_skill(sd,skill->get_time2(skill_id,skill_lv)); + guild->block_skill(sd,skill->get_time2(skill_id,skill_lv)); } break; case GD_REGENERATION: @@ -7208,7 +7208,7 @@ int skill_castend_nodamage_id (struct block_list *src, struct block_list *bl, ui src,skill_id,skill_lv,tick, flag|BCT_GUILD|1, skill->castend_nodamage_id); if (sd) - guild_block_skill(sd,skill->get_time2(skill_id,skill_lv)); + guild->block_skill(sd,skill->get_time2(skill_id,skill_lv)); } break; case GD_RESTORE: @@ -7222,7 +7222,7 @@ int skill_castend_nodamage_id (struct block_list *src, struct block_list *bl, ui src,skill_id,skill_lv,tick, flag|BCT_GUILD|1, skill->castend_nodamage_id); if (sd) - guild_block_skill(sd,skill->get_time2(skill_id,skill_lv)); + guild->block_skill(sd,skill->get_time2(skill_id,skill_lv)); } break; case GD_EMERGENCYCALL: @@ -7232,7 +7232,7 @@ int skill_castend_nodamage_id (struct block_list *src, struct block_list *bl, ui int j = 0; struct guild *g; // i don't know if it actually summons in a circle, but oh well. ;P - g = sd?sd->state.gmaster_flag:guild_search(status_get_guild_id(src)); + g = sd?sd->state.gmaster_flag:guild->search(status_get_guild_id(src)); if (!g) break; clif->skill_nodamage(src,bl,skill_id,skill_lv,1); @@ -7247,7 +7247,7 @@ int skill_castend_nodamage_id (struct block_list *src, struct block_list *bl, ui } } if (sd) - guild_block_skill(sd,skill->get_time2(skill_id,skill_lv)); + guild->block_skill(sd,skill->get_time2(skill_id,skill_lv)); } break; -- cgit v1.2.3-70-g09d2