Jump to content
  • 0

Auto-Casting a skill when being dealt damage.


Question

Posted

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?

3 answers to this question

Recommended Posts

Posted

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.

Posted

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

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.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...