diff options
author | Haru <haru@dotalux.com> | 2019-08-25 19:37:22 +0200 |
---|---|---|
committer | Haru <haru@dotalux.com> | 2019-08-26 01:22:08 +0200 |
commit | 310b7dd9b8d2e862657d84cc72bb156e0d2ad226 (patch) | |
tree | 7c86b960608c6a8209d73fc8a25e7108c896059f /src/map/skill.c | |
parent | 7c25f7ea7c575cfdb025a688a635b89ef5fae1c1 (diff) | |
download | hercules-310b7dd9b8d2e862657d84cc72bb156e0d2ad226.tar.gz hercules-310b7dd9b8d2e862657d84cc72bb156e0d2ad226.tar.bz2 hercules-310b7dd9b8d2e862657d84cc72bb156e0d2ad226.tar.xz hercules-310b7dd9b8d2e862657d84cc72bb156e0d2ad226.zip |
Fix an issue that prevents homunculus auto-vaporize on death or skill reset
The >80% HP condition is now ignored in the cases the vaporization is
forced by the server
Signed-off-by: Haru <haru@dotalux.com>
Diffstat (limited to 'src/map/skill.c')
-rw-r--r-- | src/map/skill.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/skill.c b/src/map/skill.c index af61c887c..4b6ab7d0d 100644 --- a/src/map/skill.c +++ b/src/map/skill.c @@ -8710,7 +8710,7 @@ static int skill_castend_nodamage_id(struct block_list *src, struct block_list * case AM_REST: if (sd) { - if (homun->vaporize(sd,HOM_ST_REST)) + if (homun->vaporize(sd, HOM_ST_REST, false)) clif->skill_nodamage(src, bl, skill_id, skill_lv, 1); else clif->skill_fail(sd, skill_id, USESKILL_FAIL_LEVEL, 0, 0); |