So here is something that doesn't work and i dont know why. This is first time i use distance between units trigger. So i want the actions to happen right when the missile collides with target. But it seems not to work. Here is trigger:
btw: 1150 is missilespeed of spell..
+rep for help
Code:
Axe
Events
Unit - A unit Starts the effect of an ability
Conditions
(Ability being cast) Equal to Axe
Actions
Wait (1150.00 / (Distance between (Position of (Triggering unit)) and (Position of (Target unit of ability being cast)))) seconds
Unit - Cause (Triggering unit) to damage (Target unit of ability being cast), dealing ((0.25 x (Real((Level of Daze (dummy) for (Triggering unit))))) + (Real((Strength of (Triggering unit) (Include bonuses))))) damage of attack type Spells and damage type Normal
Unit - Create 1 Dummy 2 for (Owner of (Triggering unit)) at (Position of (Target unit of ability being cast)) facing Default building facing degrees
Unit - Order (Last created unit) to Human Mountain King - Thunder Clap
Unit - Add a 2.00 second Generic expiration timer to (Last created unit)
btw: 1150 is missilespeed of spell..
+rep for help