the skill where every few attacks storm would store up energy and then purge and damage in an area of the attacked unit.
except, i don't want purge and i don't want an aoe. i just want increased damage. i thought i had it figured out today, but i was wrong. i got this far.
event
a unit is attacked
condition
ability of attacking unit equal to Rage is greater than 0
action
set rage_build = rage_build + 1
if then else multiple functions
if
rage_build is equal to 5
then
create special effect of incinerate target overhead attacking unit
but then i don't know how to boost damage, and then remove the buff, and reset the variable back to zero and finally how to remove that special effect after the attack.
also another ability question. i created a spell based off evasion where there's a 10 % chance when the hero is attacked that a dummy is spawned and casts a spell similar to thunderclap. but for some reason, (even though ownership belongs to attacked unit) it damages allies and the hero that's attacked. how can i prevent that?
should i modify that in targets allowed only to air and enemy?
oh yeah, another question. i have another ability (a healing ability) that is triggered due to the fact that it heals based on your intelligence. but whenever the spell is self-cast on the hero portrait it doesn't have a cooldown or a mana cost, but when a unit is targeted, my own hero included it then uses a cooldown and manacost. how do i fix that?
except, i don't want purge and i don't want an aoe. i just want increased damage. i thought i had it figured out today, but i was wrong. i got this far.
event
a unit is attacked
condition
ability of attacking unit equal to Rage is greater than 0
action
set rage_build = rage_build + 1
if then else multiple functions
if
rage_build is equal to 5
then
create special effect of incinerate target overhead attacking unit
but then i don't know how to boost damage, and then remove the buff, and reset the variable back to zero and finally how to remove that special effect after the attack.
also another ability question. i created a spell based off evasion where there's a 10 % chance when the hero is attacked that a dummy is spawned and casts a spell similar to thunderclap. but for some reason, (even though ownership belongs to attacked unit) it damages allies and the hero that's attacked. how can i prevent that?
should i modify that in targets allowed only to air and enemy?
oh yeah, another question. i have another ability (a healing ability) that is triggered due to the fact that it heals based on your intelligence. but whenever the spell is self-cast on the hero portrait it doesn't have a cooldown or a mana cost, but when a unit is targeted, my own hero included it then uses a cooldown and manacost. how do i fix that?