- Joined
- Aug 12, 2005
- Messages
- 205
I Have in my map a spell based in breath of frost that causes no damage in the default spell, the damage is triggered because is a percentage of the hit point!
The trigger is:
Event:
:arrow: A unit starts the effect of an ability
Condition:
:arrow: Ability being cast equal to Terrify
Actions:
:arrow: Set TerrifyCaster = Casting Unit
:arrow: Wait 0.75 second
:arrow: Pick every units in playable map area matching (matching unit has buff Terrify equal to true) and do:
Cause TerrifyCaster to damage picked unit by Agility of Picked unit x 2 dealing attack type spell and damage type enhanced.
The distance of the wave is 800 and the missile speed is 4000, then, the missile reachs everyone before these 0,75 seconds of the wait action in the trigger and the buff lasts 1.5 second.
The problem is that sometimes this spell not causes damage, 90% of the times it works perfectly, but the others 10% don't cause damage, the missile passes through the unit but the unit takes no damage. Someone know why? :?:
The trigger is:
Event:
:arrow: A unit starts the effect of an ability
Condition:
:arrow: Ability being cast equal to Terrify
Actions:
:arrow: Set TerrifyCaster = Casting Unit
:arrow: Wait 0.75 second
:arrow: Pick every units in playable map area matching (matching unit has buff Terrify equal to true) and do:
Cause TerrifyCaster to damage picked unit by Agility of Picked unit x 2 dealing attack type spell and damage type enhanced.
The distance of the wave is 800 and the missile speed is 4000, then, the missile reachs everyone before these 0,75 seconds of the wait action in the trigger and the buff lasts 1.5 second.
The problem is that sometimes this spell not causes damage, 90% of the times it works perfectly, but the others 10% don't cause damage, the missile passes through the unit but the unit takes no damage. Someone know why? :?: