- Joined
- Feb 26, 2010
- Messages
- 15
I am creating a passive ability, which doesn't seem to be working. Here is the code(s) I have so far.
Basically, when a hero with 'Soul Alchemy' attacks a unit, it deals extra damage equal to a percent (Lv of ability x .10) of the damage inflicted and increases your gold by an equal amount. SA Caster trigger sets who the hero is, as well as defines the percentage of the damage it works off of. SA Detection 1 and 2 sets the units that will be damaged to increase gold/deal damage.
The problem is nothing happens, and I can't figure out why
(Also, if anyone knows how to check if damage source is an attack and not a skill, that would also help.)
Basically, when a hero with 'Soul Alchemy' attacks a unit, it deals extra damage equal to a percent (Lv of ability x .10) of the damage inflicted and increases your gold by an equal amount. SA Caster trigger sets who the hero is, as well as defines the percentage of the damage it works off of. SA Detection 1 and 2 sets the units that will be damaged to increase gold/deal damage.
The problem is nothing happens, and I can't figure out why
(Also, if anyone knows how to check if damage source is an attack and not a skill, that would also help.)





















