FhelZone
Have a drink of a nice cold mellowberry juice!
- Reaction score
- 103
I want to detect the kind of damage dealt to the unit. If you think it is not possible, how will I make it so that when a unit attacks (deals damage) it does not interfere with the skills.
The explanation above is a bit weird, let me clarify it. I made a skill wherein when a unit deals damage to an enemy (Attacks) it causes a dummy to cast a skill on the damaged unit. The problem is, even if the unit only casts an ability, it is still considered that the unit has dealt a damage on the enemy.
Now to limit this I thought that if I detect the damage was hero, that is the time where the trigger fires. Because skills has spell type damage.
The explanation above is a bit weird, let me clarify it. I made a skill wherein when a unit deals damage to an enemy (Attacks) it causes a dummy to cast a skill on the damaged unit. The problem is, even if the unit only casts an ability, it is still considered that the unit has dealt a damage on the enemy.
Now to limit this I thought that if I detect the damage was hero, that is the time where the trigger fires. Because skills has spell type damage.