Skip to content

Commit

Permalink
@autopilot Call Homunculus
Browse files Browse the repository at this point in the history
  • Loading branch information
SeravySensei committed May 15, 2019
1 parent a127332 commit 9d88c7c
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions src/map/unit.cpp
Expand Up @@ -6258,6 +6258,16 @@ TIMER_FUNC(unit_autopilot_timer)
if (status_isdead(&sd->hd->bl)) unit_skilluse_ifable(&sd->bl, SELF, AM_RESURRECTHOMUN, pc_checkskill(sd, AM_RESURRECTHOMUN));
}
}
if (canskill(sd)) if (Dangerdistance >= 900) if (pc_checkskill(sd, AM_CALLHOMUN) > 0)
if (sd->status.hom_id && sd->hd && sd->hd->homunculus.vaporize) {
if (!sd->hd) intif_homunculus_requestload(sd->status.account_id, sd->status.hom_id); else
{
if (status_isdead(&sd->hd->bl)) unit_skilluse_ifable(&sd->bl, SELF, AM_CALLHOMUN, pc_checkskill(sd, AM_CALLHOMUN));
}
}




//
// Songs
Expand Down

0 comments on commit 9d88c7c

Please sign in to comment.