diff options
Diffstat (limited to 'src/map/battle.c')
-rw-r--r-- | src/map/battle.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/map/battle.c b/src/map/battle.c index 6d000c46b..db50d4db4 100644 --- a/src/map/battle.c +++ b/src/map/battle.c @@ -3198,8 +3198,10 @@ int battle_check_target( struct block_list *src, struct block_list *target,int f return 0; } break; - //Valid targets with no special checks here. case BL_HOM: + //Except for the master/itself, hom can't be targetted with non-offensive skills. [Skotlex] + if (t_bl != s_bl && !(flag&BCT_ENEMY)) + return 0; break; //All else not specified is an invalid target. default: |