Jump to content
  • 0

SharpShooting (Friendly Fire)


CenturyGothic

Question


  • Group:  Members
  • Topic Count:  7
  • Topics Per Day:  0.00
  • Content Count:  37
  • Reputation:   0
  • Joined:  09/26/19
  • Last Seen:  

Hello everyone,

I was just wondering if anyone knows how to make this work.

I need to allow a sniper's Sharp Shoot skill to friendly fire his/her teammate without dealing damage onto his teammates but deal damage to the targeted enemies within the cells where the arrow bounces

Been trying to look for answer across the board and found none. Hope someone can help. Appreciate it in advance, thanks!

Link to comment
Share on other sites

2 answers to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  20
  • Topics Per Day:  0.01
  • Content Count:  416
  • Reputation:   73
  • Joined:  05/16/19
  • Last Seen:  

what?

in battle.c during damage calculation

if BL_MOB {

ratio += 100 * Skilllvl

}

else if BL_PC {

ratio == 0  ( idr how it works -99 or += -99 -= 99 something will work )

}

 

just seperate damage and turn on the friendly fire in the db 

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  7
  • Topics Per Day:  0.00
  • Content Count:  37
  • Reputation:   0
  • Joined:  09/26/19
  • Last Seen:  

Thanks but tried both suggestions and it's not working 

UP! Anyone can help with this?

Anyone?

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