Ive got an ability that makes units attack one another. It works well, except for when they kill eachother, they dont continue to attack themselves for the remainder of the buff duration. How I am handling this is to have a damage response to fatal effect reduce dmg fraction to 0. This is not working... Here is my dmg response in xml;
<Kind index="Spell" value="0"/>
<Kind index="Ranged" value="0"/>
<Kind index="Splash" value="0"/>
here is the suicide2 effect;
<Flags index="Kill" value="1"/>
<Flags index="NoKillCredit" value="1"/>
So the main buff that starts all this has an initial effect that order units to attack one another, the expire effect is to order the units to stop attacking one another. so this dmg response is in the same main buff and the dmg response isnt working for me. I know the suicide will kill the unit and i want it to just not kill it, but at this point im just trying to debug / get it to fire.
I have used dmg response many times and it works easy enough usually.... This time i can get it to fire. I've tried switching attacker -> defender etc... chance is 1 (100%).
it is currently set up to use 'handled' and 'exauster' but ive tried each by themself as well. any1 know what may be the/an issue?
If life's a bitch, better make everyday your wife!!
Fatal responses can only be handled by the defender. Get the response on attacker to add a second buff.
Also what damage type do your units do?
Contribute to the wiki (Wiki button at top of page)
Considered easy altering of the unit textures?
For my public assets look here!
You must login to post a comment. Don't have an account? Register to get one!