Hey i'm trying to do an AoE magic HP drain ability.
Here is my action sequence code :
<setup action>
display action
wait for movement
</setup action>
<whole action>
motion spell: user
animation 144: target
wait for animation
action effect: target
death break
</whole action>
<finish action>
clear battle log
perform finish
wait for movement
</finish action>
and the damage formula is 200 + a.mat - b.mdf.
When i use this in game, it does the damage written in the formula twice to each enemy, and heal my character twice the total amount. I just want the ability to hit once and heal once per enemy. What's wrong with this one ?
I copied the ability from another "All enemies" magic ability with the exact same code and it works perfectly fine (deals damage only once per enemy)
Here is my action sequence code :
<setup action>
display action
wait for movement
</setup action>
<whole action>
motion spell: user
animation 144: target
wait for animation
action effect: target
death break
</whole action>
<finish action>
clear battle log
perform finish
wait for movement
</finish action>
and the damage formula is 200 + a.mat - b.mdf.
When i use this in game, it does the damage written in the formula twice to each enemy, and heal my character twice the total amount. I just want the ability to hit once and heal once per enemy. What's wrong with this one ?
I copied the ability from another "All enemies" magic ability with the exact same code and it works perfectly fine (deals damage only once per enemy)
