Jump to content
  • 0

item bonus effect similar to Maya Card's "bMagicDamageReturn"


sizenine

Question


  • Group:  Members
  • Topic Count:  37
  • Topics Per Day:  0.01
  • Content Count:  149
  • Reputation:   12
  • Joined:  02/17/12
  • Last Seen:  

Can someone help me with modifying the source to make a custom item bonus that will nullify damages from all magic target skills? It would work like Maya Card's "bMagicDamageReturn,n;" where you can set the chance n to reflect magic damage except it should nullify the damage instead of reflecting. AoE magic skills should still always hit.

 

Thanks!  /ok

Edited by sizenine
Link to comment
Share on other sites

2 answers to this question

Recommended Posts


  • Group:  Developer
  • Topic Count:  153
  • Topics Per Day:  0.04
  • Content Count:  2285
  • Reputation:   745
  • Joined:  06/16/12
  • Last Seen:  

so sounds like modify bonus bNoMagicDamage,n; to bonus2 bNoMagicDamage,n,x;

which 'x' for magic type, maybe 1 for single target, 2 AoE.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  37
  • Topics Per Day:  0.01
  • Content Count:  149
  • Reputation:   12
  • Joined:  02/17/12
  • Last Seen:  

so sounds like modify bonus bNoMagicDamage,n; to bonus2 bNoMagicDamage,n,x;

which 'x' for magic type, maybe 1 for single target, 2 AoE.

 

Hm.. yes, except can you make it not be affected by the config "gtb_sc_immunity" ? I believe bNoMagicDamage,n; is affected by that.

Edited by sizenine
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...