Hello guys I just wanna ask if there is a leak that needed to be cleared.
Events
Unit - A unit Starts the effect of an ability
Conditions
(Ability being cast) Equal to |cffadff2fBinding Shot|r
Actions
-------- ------------------------------------------------------------------------------------------------- --------
-------- Getting the Spell constants --------
-------- ------------------------------------------------------------------------------------------------- --------
Set Temp_Unit = (Triggering unit)
Set Temp_Target = (Target unit of ability being cast)
Set Temp_Ability_Level = (Level of (Ability being cast) for Temp_Unit)
-------- ------------------------------------------------------------------------------------------------- --------
-------- Setting the Spell values --------
-------- ------------------------------------------------------------------------------------------------- --------
Set Temp_Base_Damage = 10.00
Set Temp_Total_Damage = (Temp_Base_Damage x (Real(Temp_Ability_Level)))
-------- ------------------------------------------------------------------------------------------------- --------
Unit - Cause Temp_Unit to damage Temp_Target, dealing Temp_Total_Damage damage of attack type Pierce and damage type Normal
-------- ------------------------------------------------------------------------------------------------- --------
-------- Clearing leaks --------
The trigger is simple, its just an ensnare ability with damage. The damage is kinda faster than the missile, so the unit receives damage before the missile hits him. Any idea to fix that without making the missile speed faster?
Events
Unit - A unit Starts the effect of an ability
Conditions
(Ability being cast) Equal to |cffadff2fBinding Shot|r
Actions
-------- ------------------------------------------------------------------------------------------------- --------
-------- Getting the Spell constants --------
-------- ------------------------------------------------------------------------------------------------- --------
Set Temp_Unit = (Triggering unit)
Set Temp_Target = (Target unit of ability being cast)
Set Temp_Ability_Level = (Level of (Ability being cast) for Temp_Unit)
-------- ------------------------------------------------------------------------------------------------- --------
-------- Setting the Spell values --------
-------- ------------------------------------------------------------------------------------------------- --------
Set Temp_Base_Damage = 10.00
Set Temp_Total_Damage = (Temp_Base_Damage x (Real(Temp_Ability_Level)))
-------- ------------------------------------------------------------------------------------------------- --------
Unit - Cause Temp_Unit to damage Temp_Target, dealing Temp_Total_Damage damage of attack type Pierce and damage type Normal
-------- ------------------------------------------------------------------------------------------------- --------
-------- Clearing leaks --------
The trigger is simple, its just an ensnare ability with damage. The damage is kinda faster than the missile, so the unit receives damage before the missile hits him. Any idea to fix that without making the missile speed faster?