diff options
author | skyleo <skyleo@skyleo.de> | 2020-01-16 19:14:29 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-01-16 19:14:29 +0100 |
commit | 755edf380613992cc05e38afcd2e9ae5eff6fd6d (patch) | |
tree | ca57f825165e1b5f6da090bc0995502a6c9d0793 /src | |
parent | 6cbe270b3c5bdb09c62da09fa87f6f3336fa2740 (diff) | |
download | hercules-755edf380613992cc05e38afcd2e9ae5eff6fd6d.tar.gz hercules-755edf380613992cc05e38afcd2e9ae5eff6fd6d.tar.bz2 hercules-755edf380613992cc05e38afcd2e9ae5eff6fd6d.tar.xz hercules-755edf380613992cc05e38afcd2e9ae5eff6fd6d.zip |
Update src/map/battle.c
Co-Authored-By: Kenpachi2k13 <Kenpachi.Developer@gmx.de>
Diffstat (limited to 'src')
-rw-r--r-- | src/map/battle.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/battle.c b/src/map/battle.c index e93ba6e91..b9112fe26 100644 --- a/src/map/battle.c +++ b/src/map/battle.c @@ -6608,7 +6608,7 @@ static int battle_check_target(struct block_list *src, struct block_list *target if( (s_bl = battle->get_master(src)) == NULL ) s_bl = src; - if ((flag & BCT_ENEMY) != 0 && (status_get_mode(s_bl) & MD_BOSS) == 0 && (map->getcell(m, src, src->x, src->y, CELL_CHKBASILICA) + if ((flag & BCT_ENEMY) != 0 && (status_get_mode(s_bl) & MD_BOSS) == 0 && (map->getcell(m, src, src->x, src->y, CELL_CHKBASILICA) != 0 || map->getcell(m, src, target->x, target->y, CELL_CHKBASILICA))) { return -1; } |