Jump to content
  • 0

Reduce damage of skill to player wearing it


xienne15

Question


  • Group:  Members
  • Topic Count:  44
  • Topics Per Day:  0.01
  • Content Count:  226
  • Reputation:   11
  • Joined:  01/09/12
  • Last Seen:  

How to make a script for item that reduces the skill damage by percent?

 

For example i have 

 

happy_card on my armor and the description is reduce final strike/asura/certain skills damage to you by 50%, i am not referring to elements.

Link to comment
Share on other sites

4 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  9
  • Topics Per Day:  0.00
  • Content Count:  105
  • Reputation:   67
  • Joined:  04/05/13
  • Last Seen:  

Will most likely require a source mod as I do not know of any built-in statuses that you can set that would reduce damage from specific skills.

Link to comment
Share on other sites


  • Group:  Forum Moderator
  • Topic Count:  93
  • Topics Per Day:  0.02
  • Content Count:  10013
  • Reputation:   2346
  • Joined:  10/28/11
  • Last Seen:  

this doc/item_bonus.txt#L194???

bonus2 bSkillAtk,n,x;			Increase damage of skill n by x% (supports skill names)

by using negative value ...??

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  9
  • Topics Per Day:  0.00
  • Content Count:  105
  • Reputation:   67
  • Joined:  04/05/13
  • Last Seen:  

That's applied to the person using the skill, not the person getting hit by said skill. I don't think we have an equivalent item bonus that reduces damage from a certain skill as I can't think of any official item that has that kind of an effect.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  37
  • Topics Per Day:  0.01
  • Content Count:  177
  • Reputation:   9
  • Joined:  06/25/12
  • Last Seen:  

this doc/item_bonus.txt#L194???

bonus2 bSkillAtk,n,x;			Increase damage of skill n by x% (supports skill names)

by using negative value ...??

xienne15: Maybe you can revert the src codes of this bonus^. As helvetica mentioned it is applied to the person using the skill. Maybe reverting may come up to the bonus that you need.
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...