Assassinate Projectile Move
Events
Time - AssassinateTimer[2] expires
Conditions
Actions
Countdown Timer - Pause AssassinateTimer[2]
Set Temp_Point = (Position of AssassinateProjectile)
Set TempLoc = (Position of AssassinateVictim)
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Distance between Temp_Point and TempLoc) Less than or equal to 75.00
Then - Actions
Unit - Kill AssassinateProjectile
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(AssassinateVictim is A structure) Equal to False
(AssassinateVictim is Magic Immune) Equal to False
(AssassinateVictim is Mechanical) Equal to False
Then - Actions
Unit - Cause Pinstripe to damage AssassinateVictim, dealing (155.00 + (165.00 x (Real((Level of Assassinate for Pinstripe))))) damage of attack type Chaos and damage type Universal
Unit - Remove Assassinate buff from AssassinateVictim
Set TempInteger = (Random integer number between 1 and 4)
If (TempInteger Equal to 1) then do (Sound - Play Pinstripelaugh1 <gen> at 100.00% volume, attached to Pinstripe) else do (Do nothing)
If (TempInteger Equal to 2) then do (Sound - Play Pinstripelaugh2 <gen> at 100.00% volume, attached to Pinstripe) else do (Do nothing)
If (TempInteger Equal to 3) then do (Sound - Play Pinstripeyes <gen> at 100.00% volume, attached to Pinstripe) else do (Do nothing)
If (TempInteger Equal to 4) then do (Sound - Play Pinstripeoverthetop <gen> at 100.00% volume, attached to Pinstripe) else do (Do nothing)
Else - Actions
Else - Actions
Set TempLoc2 = (Temp_Point offset by 80.00 towards (Angle from Temp_Point to TempLoc) degrees)
Unit - Move AssassinateProjectile instantly to TempLoc2, facing TempLoc
Custom script: call RemoveLocation (udg_Temp_Point)
Custom script: call RemoveLocation (udg_TempLoc)
Custom script: call RemoveLocation (udg_TempLoc2)
Countdown Timer - Start AssassinateTimer[2] as a One-shot timer that will expire in 0.02 seconds