Skip to content

Commit

Permalink
Fixed cell basilica
Browse files Browse the repository at this point in the history
which was broken 5 years ago in 13106, special Thanks to karazu, Angelmelody and kyeme.

Signed-off-by: shennetsind <ind@henn.et>
  • Loading branch information
shennetsind committed Dec 8, 2013
1 parent 53b2d77 commit 813908c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/map/battle.c
Original file line number Diff line number Diff line change
Expand Up @@ -5815,6 +5815,10 @@ int battle_check_target( struct block_list *src, struct block_list *target,int f

m = target->m;

if (flag&BCT_ENEMY && ( map->getcell(m,src->x,src->y,CELL_CHKBASILICA) || map->getcell(m,target->x,target->y,CELL_CHKBASILICA) ) ) {
return -1;
}

//t_bl/s_bl hold the 'master' of the attack, while src/target are the actual
//objects involved.
if( (t_bl = battle->get_master(target)) == NULL )
Expand Down

0 comments on commit 813908c

Please sign in to comment.