Jump to content
  • 0

@pk..


letstry

Question


  • Group:  Members
  • Topic Count:  87
  • Topics Per Day:  0.02
  • Content Count:  219
  • Reputation:   0
  • Joined:  05/03/12
  • Last Seen:  

Can someone help me with my source edit..

I want to allow the use of supportive skills like devotion, sanctuary on players with @pkoff..

Need help with it.. Thank you..

  if( (sd->pk_enable == true && map[sd->bl.m].flag.town == 0) && s_bl->type == BL_PC && ((TBL_PC*)s_bl)->pk_enable == true )
   state |= BCT_ENEMY;
  if( (sd->pk_enable == false && map[sd->bl.m].flag.gvg == 0) && s_bl->type == BL_PC && ((TBL_PC*)s_bl)->pk_enable == false )
   return 0;
  if( (sd->pk_enable == false && map[sd->bl.m].flag.gvg == 0) && s_bl->type == BL_PC && ((TBL_PC*)s_bl)->pk_enable == false )
   return 0;
  if( (sd->pk_enable == false && map[sd->bl.m].flag.gvg == 0) && s_bl->type == BL_PC && ((TBL_PC*)s_bl)->pk_enable == true )
   return 0;
  if( (sd->pk_enable == true && map[sd->bl.m].flag.gvg == 0) && s_bl->type == BL_PC && ((TBL_PC*)s_bl)->pk_enable == false )
   return 0;

Link to comment
Share on other sites

2 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  87
  • Topics Per Day:  0.02
  • Content Count:  219
  • Reputation:   0
  • Joined:  05/03/12
  • Last Seen:  

Bump -.-

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  87
  • Topics Per Day:  0.02
  • Content Count:  219
  • Reputation:   0
  • Joined:  05/03/12
  • Last Seen:  

BUMP

BUMP

Bump

Link to comment
Share on other sites

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...