Jump to content
  • 0

Auto-Casting a skill when being dealt damage.


IndieD

Question


  • Group:  Members
  • Topic Count:  11
  • Topics Per Day:  0.00
  • Content Count:  50
  • Reputation:   1
  • Joined:  06/13/12
  • Last Seen:  

Greetings;

 

     I'm trying to create a card that activates Defender upon being dealt any type of damage. So far, I'm only able to get it to work when being dealt physical damage, but can't seem to get it to work when being dealt spell damage. The item_bonus.txt has a detailed description on which to use, but it's failed me every time. What am I doing wrong?

Link to comment
Share on other sites

3 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  81
  • Topics Per Day:  0.02
  • Content Count:  1654
  • Reputation:   583
  • Joined:  08/09/12
  • Last Seen:  

Currently there is no way to auto cast skills when hit by magical attack.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  11
  • Topics Per Day:  0.00
  • Content Count:  50
  • Reputation:   1
  • Joined:  06/13/12
  • Last Seen:  

Does that include skills like SBK, or is it strictly magic attacks?

 

Anyway, thanks for the info. I spent nearly an hour trying to figure it out.

Link to comment
Share on other sites


  • Group:  Developer
  • Topic Count:  48
  • Topics Per Day:  0.01
  • Content Count:  1443
  • Reputation:   337
  • Joined:  10/17/12
  • Last Seen:  

Currently there is no way to auto cast skills when hit by magical attack.

 

Does that include skills like SBK, or is it strictly magic attacks?

 

Anyway, thanks for the info. I spent nearly an hour trying to figure it out.

 

 

try using

bonus5 bAutoSpellWhenHit,sk,y,n,bf,i;	Adds a n/10% chance to cast skill sk of level y when being hit by a direct attack with trigger criteria bf

it works fine when hit by anything, I'm using it in some of my items and it works fine when hit by magic

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