Jump to content
  • 0

Barricade no friendly fire in KOE


jmsngls

Question


  • Group:  Members
  • Topic Count:  9
  • Topics Per Day:  0.00
  • Content Count:  43
  • Reputation:   2
  • Joined:  01/15/17
  • Last Seen:  

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

0 answers to this question

Recommended Posts

There have been no answers to this question yet

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...