Move Target
Events
Time - Every 0.03 seconds of game time
Conditions
Actions
Set FuutoTargetPoint[2] = (Position of FuutoTarget[1])
Unit - Move FuutoTarget[1] instantly to (FuutoTargetPoint[2] offset by 23.00 towards (Angle from FuutoCasterPoint[2] to FuutoTargetPoint[2]) degrees), facing Default building facing degrees
Unit - Cause FuutoCaster[1] to damage FuutoTarget[1], dealing 3.00 damage of attack type Spells and damage type Normal
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Integer((Distance between FuutoCasterPoint[2] and FuutoTargetPoint[2]))) Greater than or equal to 1000
Then - Actions
Trigger - Turn off (This trigger)
Set FuutoTargetPoint[3] = (Position of FuutoTarget[1])
Environment - Create a 2.00 second Permanent crater deformation at FuutoTargetPoint[3] with radius 512.00 and depth 200.00
Wait 0.50 seconds
Set PhaCay = (Region centered at FuutoTargetPoint[3] with size (525.00, 525.00))
Destructible - Pick every destructible in PhaCay and do (Actions)
Loop - Actions
Destructible - Kill (Picked destructible)
Custom script: call RemoveRect(udg_PhaCay)
Unit - Create 1 hiêu ung nô for (Owner of FuutoCaster[1]) at FuutoTargetPoint[3] facing Default building facing degrees
Set Dummy[4] = (Last created unit)
Unit - Add a 1.00 second Generic expiration timer to Dummy[4]
Unit - Cause FuutoCaster[1] to damage circular area after 0.00 seconds of radius 500.00 at FuutoTargetPoint[3], dealing (5000.00 x (Real((Level of Fuuto Rasen Shuriken for FuutoCaster[1])))) damage of attack type Spells and damage type Divine
Special Effect - Create a special effect attached to the chest of FuutoTarget[1] using Objects\Spawnmodels\Naga\NagaDeath\NagaDeath.mdl
Set Effect[5] = (Last created special effect)
Special Effect - Destroy Effect[5]
Wait 1.00 seconds
Unit - Create 1 hiêu ung nô for (Owner of FuutoCaster[1]) at FuutoTargetPoint[3] facing Default building facing degrees
Set Dummy[5] = (Last created unit)
Unit - Add a 1.00 second Generic expiration timer to Dummy[5]
Unit - Cause FuutoCaster[1] to damage circular area after 0.00 seconds of radius 500.00 at FuutoTargetPoint[3], dealing (5000.00 x (Real((Level of Fuuto Rasen Shuriken for FuutoCaster[1])))) damage of attack type Spells and damage type Divine
Special Effect - Create a special effect attached to the chest of FuutoTarget[1] using WaterMagicEnhanced.mdx
Set Effect[6] = (Last created special effect)
Special Effect - Destroy Effect[6]
Wait 1.00 seconds
Unit - Create 1 hiêu ung nô for (Owner of FuutoCaster[1]) at FuutoTargetPoint[3] facing Default building facing degrees
Set Dummy[6] = (Last created unit)
Unit - Add a 1.00 second Generic expiration timer to Dummy[6]
Unit - Cause FuutoCaster[1] to damage circular area after 0.00 seconds of radius 500.00 at FuutoTargetPoint[3], dealing (5000.00 x (Real((Level of Fuuto Rasen Shuriken for FuutoCaster[1])))) damage of attack type Spells and damage type Divine
Special Effect - Create a special effect at FuutoTargetPoint[3] using Objects\Spawnmodels\Other\NeutralBuildingExplosion\NeutralBuildingExplosion.mdl
Set Effect[7] = (Last created special effect)
Special Effect - Destroy Effect[7]
Wait 1.00 seconds
Special Effect - Destroy Effect[2]
Special Effect - Destroy Effect[3]
Wait 1.00 seconds
Animation - Change FuutoTarget[1] flying height to 0.00 at 250.00
Wait 3.00 seconds
Unit - Remove Crow Form from FuutoTarget[1]
Unit - Turn collision for FuutoTarget[1] On
Unit - Unpause FuutoTarget[1]
[B]Animation - Reset FuutoTarget[1]'s animation[/B]
Environment - Create a 2.00 second Permanent crater deformation at FuutoTargetPoint[3] with radius 512.00 and depth -200.00
Set FuutoCaster[1] = No unit
Custom script: call RemoveLocation(udg_FuutoCasterPoint[1])
Custom script: call RemoveLocation(udg_FuutoCasterPoint[2])
Custom script: set udg_FuutoCaster[1] = null
Custom script: call RemoveLocation(udg_FuutoTargetPoint[1])
Custom script: call RemoveLocation(udg_FuutoTargetPoint[2])
Custom script: call RemoveLocation(udg_FuutoTargetPoint[3])
Custom script: set udg_FuutoTarget[1] = null
Custom script: set udg_Dummy[4] = null
Custom script: set udg_Dummy[5] = null
Custom script: set udg_Dummy[6] = null
Else - Actions