How i do this?
invulnerable and natural passive.
Under what condition?
Hope some one helps.
invulnerable and natural passive.
Under what condition?
-
Hook
-
Events
-
Unit - A unit Starts the effect of an ability
-
-
Conditions
-
(Ability being cast) Equal to Sumo Meat Hook 1 (TSM)
-
-
Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
PH_Index[1] Equal to 0
-
-
Then - Actions
-
Trigger - Turn on Hook Loop <gen>
-
-
Else - Actions
-
-
Set PH_Index[1] = (PH_Index[1] + 1)
-
Set PH_Index[2] = (PH_Index[2] + 1)
-
Set PH_Counter[PH_Index[2]] = 0
-
Set PH_Cast_Point = (Position of (Triggering unit))
-
Set PH_Target_Point = (Target point of ability being cast)
-
Set PH_Caster[PH_Index[2]] = (Triggering unit)
-
Unit - Pause PH_Caster[PH_Index[2]]
-
Animation - Play PH_Caster[PH_Index[2]]'s attack animation
-
Set PH_Hook_Angle[PH_Index[2]] = (Angle from PH_Cast_Point to PH_Target_Point)
-
Set PH_Near_Point = (PH_Cast_Point offset by 100.00 towards PH_Hook_Angle[PH_Index[2]] degrees)
-
Unit - Create 1 Hook for (Owner of PH_Caster[PH_Index[2]]) at PH_Near_Point facing Default building facing degrees
-
Set PH_Dummy[PH_Index[2]] = (Last created unit)
-
Set PH_Hooked_Is[PH_Index[2]] = False
-
Set PH_Hooked_Unit[PH_Index[2]] = No unit
-
Custom script: call RemoveLocation(udg_PH_Near_Point)
-
Custom script: call RemoveLocation(udg_PH_Cast_Point)
-
Custom script: call RemoveLocation(udg_PH_Target_Point)
-
Set PH_Damage = (100 x (Level of (Ability being cast) for PH_Caster[PH_Index[2]]))
-
Set PH_Distance = (70 + (10 x (Level of (Ability being cast) for PH_Caster[PH_Index[2]])))
-
-
Hope some one helps.