jmsngls Posted October 4, 2021 Share Posted October 4, 2021 Hello, how can I set my Barricade in KOE map no friendly fire by emp holder, can be cast skill like normal barri in woe. I current use this as no friendly fire but cannot use skill on it just normal attack by enemy guild if ( s_bl->type == BL_PC && t_bl->type == BL_MOB ) { struct map_session_data *sd = BL_CAST( BL_PC, s_bl ); if ( ( ( (TBL_MOB*)target )->mob_id == 1905 && !strcmp( mapindex_id2name(sd->mapindex), "ra_koe" ) ) && ( sd->status.guild_id == mapreg_readreg( add_str("$koegid") ) || battle_getcurrentskill(src) > 0 ) ) return 0; } I get it from annieruru KOE patch used in emperium so can't be attacked by emp holder. Quote Link to comment Share on other sites More sharing options...
Hello, how can I set my Barricade in KOE map no friendly fire by emp holder, can be cast skill like normal barri in woe.
I current use this as no friendly fire but cannot use skill on it just normal attack by enemy guild
if ( s_bl->type == BL_PC && t_bl->type == BL_MOB ) { struct map_session_data *sd = BL_CAST( BL_PC, s_bl ); if ( ( ( (TBL_MOB*)target )->mob_id == 1905 && !strcmp( mapindex_id2name(sd->mapindex), "ra_koe" ) ) && ( sd->status.guild_id == mapreg_readreg( add_str("$koegid") ) || battle_getcurrentskill(src) > 0 ) ) return 0; }I get it from annieruru KOE patch used in emperium so can't be attacked by emp holder.
Link to comment
Share on other sites