btw how to set a cell as basilica?Yes, it is. See db/const.txt
I don't see why not. Give it a try.can you use cell_basilica on a pvp or gvg room?
if ( map->getcell( src->m, src->x, src->y, CELL_CHKBASILICA ) || map->getcell( target->m, target->x, target->y, CELL_CHKBASILICA ) || map->getcell( s_bl->m, s_bl->x, s_bl->y, CELL_CHKBASILICA ) || map->getcell( t_bl->m, t_bl->x, t_bl->y, CELL_CHKBASILICA ) ) state &= ~BCT_ENEMY;
thought so.. why is it removed? anyways thanks for this.As I remember , cell_basilica no longer functions since 13106 , instead of it was sc_basilica
you can add it back by manual
battle.c
inside function int battle_check_target
find
//Alliance state takes precedence over enemy one. else if( state&BCT_ENEMY && strip_enemy && state&(BCT_SELF|BCT_PARTY|BCT_GUILD) ) state&=~BCT_ENEMY;
and add after
if ( map->getcell( src->m, src->x, src->y, CELL_CHKBASILICA ) || map->getcell( target->m, target->x, target->y, CELL_CHKBASILICA ) || map->getcell( s_bl->m, s_bl->x, s_bl->y, CELL_CHKBASILICA ) || map->getcell( t_bl->m, t_bl->x, t_bl->y, CELL_CHKBASILICA ) ) state &= ~BCT_ENEMY;
We use essential cookies to make this site work, and optional cookies to enhance your experience.