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/status.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/status.c')
-rw-r--r-- | src/map/status.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/status.c b/src/map/status.c index 63e71c9dc..e9636e214 100644 --- a/src/map/status.c +++ b/src/map/status.c @@ -9070,7 +9070,7 @@ static int status_change_start(struct block_list *src, struct block_list *bl, en if (sd->status.pet_id > 0) pet->menu(sd, 3); if (homun_alive(sd->hd)) - homun->vaporize(sd,HOM_ST_REST); + homun->vaporize(sd, HOM_ST_REST, true); if (sd->md) mercenary->delete(sd->md,3); } |