From ef4128360d2c5c5798e4ece52fbf3d0f290d07bd Mon Sep 17 00:00:00 2001 From: skyleo Date: Thu, 10 Oct 2019 00:11:28 +0200 Subject: Fix Homunculus skill requirements being put on owner as well This fixes not being able to use Homunculus skills when having 90% overweight. This also fixes not being able to use Homunculus skills when the owner has low HP or SP, even though the Homunculus has enough HP or SP to use the skill. --- src/map/unit.c | 7 ------- 1 file changed, 7 deletions(-) (limited to 'src') diff --git a/src/map/unit.c b/src/map/unit.c index 45cb7dffd..9cbef3091 100644 --- a/src/map/unit.c +++ b/src/map/unit.c @@ -1410,13 +1410,6 @@ static int unit_skilluse_id2(struct block_list *src, int target_id, uint16 skill } } - if (src->type == BL_HOM) { - // In case of homunuculus, set the sd to the homunculus' master, as needed below - struct block_list *master = battle->get_master(src); - if (master) - sd = map->id2sd(master->id); - } - if (sd) { /* temporarily disabled, awaiting for kenpachi to detail this so we can make it work properly */ #if 0 -- cgit v1.2.3-70-g09d2