Hi,
for a couple of days i've been searching thehelper and other similar sites to find a spell damage system, with no success.
What i want is:
A way to find out if a unit has been damaged with a spell done by a hero (played by a user) and then deal additional damage based on the (intelligence of the hero (include bonuses) / 2).
My problem:
I have found a way to trigger when a unit is damaged, but i can't figure out how to make it only trigger if its a spell. I'll have over 200 spells in total and it would be a pain to have to trigger every spell to deal the damage including the intelligence bonus.
Thanks on forehand and +rep if someone comes up with a good solution.
Stringel
for a couple of days i've been searching thehelper and other similar sites to find a spell damage system, with no success.
What i want is:
A way to find out if a unit has been damaged with a spell done by a hero (played by a user) and then deal additional damage based on the (intelligence of the hero (include bonuses) / 2).
My problem:
I have found a way to trigger when a unit is damaged, but i can't figure out how to make it only trigger if its a spell. I'll have over 200 spells in total and it would be a pain to have to trigger every spell to deal the damage including the intelligence bonus.
Thanks on forehand and +rep if someone comes up with a good solution.
Stringel