summaryrefslogtreecommitdiff
path: root/src/map
diff options
context:
space:
mode:
Diffstat (limited to 'src/map')
-rw-r--r--src/map/mercenary.c1
-rw-r--r--src/map/skill.c2
2 files changed, 1 insertions, 2 deletions
diff --git a/src/map/mercenary.c b/src/map/mercenary.c
index 3e03da1de..2834f768e 100644
--- a/src/map/mercenary.c
+++ b/src/map/mercenary.c
@@ -643,6 +643,7 @@ void merc_hom_init_timers(struct homun_data * hd)
{
if (hd->hungry_timer == -1)
hd->hungry_timer = add_timer(gettick()+hd->homunculusDB->hungryDelay,merc_hom_hungry,hd->master->bl.id,0);
+ hd->ud.canact_tick = 0; //Reset can-act delay
hd->regen.state.block = 0; //Restore HP/SP block.
}
diff --git a/src/map/skill.c b/src/map/skill.c
index 1726285d1..ba55832a9 100644
--- a/src/map/skill.c
+++ b/src/map/skill.c
@@ -3329,8 +3329,6 @@ int skill_castend_nodamage_id (struct block_list *src, struct block_list *bl, in
sc_start2(bl,type,100,skilllv,skillid,skill_get_time(skillid,skilllv)));
break;
case HLIF_AVOID:
- if (hd)
- skill_blockmerc_start(hd, skillid, skill_get_time2(skillid,skilllv));
case HAMI_DEFENCE:
i = skill_get_time(skillid,skilllv);
clif_skill_nodamage(bl,bl,skillid,skilllv,sc_start(bl,type,100,skilllv,i)); // Master