-
Sweeping Blade Loop
-
Events
- Time - Every 0.02 seconds of game time
- Conditions
-
Actions
-
For each (Integer SweepingBladeLoop) from 1 to SweepingBladeInt, do (Actions)
-
Loop - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- SweepingBladeBoolean[SweepingBladeLoop] Equal to True
-
Then - Actions
- Animation - Play SweepingBladeCaster[SweepingBladeInt]'s stand animation
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- SweepingBladeDistance[SweepingBladeLoop] Less than or equal to SweepingBladeLim[SweepingBladeLoop]
-
Then - Actions
- Set SweepingBladeDistance[SweepingBladeLoop] = (SweepingBladeDistance[SweepingBladeLoop] + SweepingBladeDashSpeed[SweepingBladeLoop])
-
Unit Group - Pick every unit in SweepingBladeCastGroup[SweepingBladeLoop] and do (Actions)
-
Loop - Actions
- Hashtable - Save ((475.00 - SweepingBladeDistance[SweepingBladeLoop]) / (SweepingBladeDashSpeed[SweepingBladeLoop] x 50.00)) as (Key 3) of (Key (Picked unit)) in SweepingBladeTimerHash
-
Loop - Actions
- Set SweepingBladePoint[0] = (Position of SweepingBladeCaster[SweepingBladeLoop])
- Set SweepingBladePoint[1] = (Position of SweepingBladeTarget[SweepingBladeLoop])
- Set SweepingBladePoint[2] = (SweepingBladePoint[0] offset by SweepingBladeDashSpeed[SweepingBladeLoop] towards SweepingBladeAngle[SweepingBladeLoop] degrees)
- Custom script: call SetUnitX(udg_SweepingBladeCaster[udg_SweepingBladeLoop], GetLocationX(udg_SweepingBladePoint[2]))
- Custom script: call SetUnitY(udg_SweepingBladeCaster[udg_SweepingBladeLoop], GetLocationY(udg_SweepingBladePoint[2]))
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Unit-type of SweepingBladeCaster[SweepingBladeLoop]) Not equal to R Effect 3
-
Then - Actions
- Animation - Play SweepingBladeCaster[SweepingBladeInt]'s Spell Channel animation
- Animation - Change SweepingBladeCaster[SweepingBladeInt]'s animation speed to 300.00% of its original speed
-
Else - Actions
- Animation - Change SweepingBladeCaster[SweepingBladeLoop] flying height to (Current flying height of SweepingBladeTarget[SweepingBladeLoop]) at 0.00
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Distance between SweepingBladePoint[0] and SweepingBladePoint[1]) Less than or equal to 175.00
-
Then - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (SweepingBladeTarget[SweepingBladeLoop] is in SweepingBladeMarkGroup[SweepingBladeLoop]) Equal to False
-
Then - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Unit-type of SweepingBladeCaster[SweepingBladeLoop]) Not equal to R Effect 3
-
Then - Actions
- Custom script: call SetUnitX(udg_SweepingBladeCaster[udg_SweepingBladeLoop], GetLocationX(udg_SweepingBladePoint[2]))
- Custom script: call SetUnitY(udg_SweepingBladeCaster[udg_SweepingBladeLoop], GetLocationY(udg_SweepingBladePoint[2]))
- Selection - Select SweepingBladeCaster[SweepingBladeLoop] for (Owner of SweepingBladeCaster[SweepingBladeLoop])
- Sound - Play SBSoundsImpact[(Random integer number between 1 and 4)] at 100.00% volume, skipping the first 0.00 seconds
- Unit - Add Spell Detection to SweepingBladeCaster[SweepingBladeLoop]
- Unit - Cause SweepingBladeCaster[SweepingBladeLoop] to damage SweepingBladeTarget[SweepingBladeLoop], dealing (SweepingBladeDamage[SweepingBladeLoop] x (1.00 + (0.25 x (Real(SweepingBladeTime[SweepingBladeLoop]))))) damage of attack type Spells and damage type Magic
- Unit - Remove Spell Detection from SweepingBladeCaster[SweepingBladeLoop]
- Unit Group - Add SweepingBladeTarget[SweepingBladeLoop] to SweepingBladeMarkGroup[SweepingBladeLoop]
- Unit - Create 1 Sweeping Blade Effect 2 for (Owner of SweepingBladeCaster[SweepingBladeLoop]) at SweepingBladePoint[1] facing Default building facing degrees
- Unit - Add a 0.65 second Generic expiration timer to (Last created unit)
- Animation - Change (Last created unit)'s animation speed to 200.00% of its original speed
- Unit - Add Wind Mark to (Last created unit)
- Unit - Set level of Wind Mark for (Last created unit) to (Level of Sweeping Blade for SweepingBladeCaster[SweepingBladeLoop])
- Unit - Order (Last created unit) to Human Sorceress - Slow SweepingBladeTarget[SweepingBladeLoop]
-
Else - Actions
- Custom script: call SetUnitX(udg_SweepingBladeCaster[udg_SweepingBladeLoop], GetLocationX(udg_SweepingBladePoint[2]))
- Custom script: call SetUnitY(udg_SweepingBladeCaster[udg_SweepingBladeLoop], GetLocationY(udg_SweepingBladePoint[2]))
- Unit Group - Add SweepingBladeTarget[SweepingBladeLoop] to SweepingBladeMarkGroup[SweepingBladeLoop]
- Unit - Create 1 R Effect for (Owner of SweepingBladeCaster[SweepingBladeLoop]) at SweepingBladePoint[1] facing (Random angle) degrees
- Animation - Change (Last created unit) flying height to (Current flying height of SweepingBladeTarget[SweepingBladeLoop]) at 0.00
- Unit - Add a 0.50 second Generic expiration timer to (Last created unit)
- Animation - Change (Last created unit)'s vertex coloring to (20.00%, 20.00%, 100.00%) with 0.00% transparency
- Animation - Change (Last created unit)'s animation speed to 200.00% of its original speed
- Animation - Change (Last created unit)'s size to (40.00%, 40.00%, 40.00%) of its original size
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- Else - Actions
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- Else - Actions
-
If - Conditions
- Custom script: call RemoveLocation(udg_SweepingBladePoint[0])
- Custom script: call RemoveLocation(udg_SweepingBladePoint[1])
- Custom script: call RemoveLocation(udg_SweepingBladePoint[2])
-
Else - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Unit-type of SweepingBladeCaster[SweepingBladeLoop]) Equal to R Effect 3
-
Then - Actions
- Unit - Kill SweepingBladeCaster[SweepingBladeLoop]
- Else - Actions
-
If - Conditions
- Unit - Turn collision for SweepingBladeCaster[SweepingBladeLoop] On
- Animation - Change SweepingBladeCaster[SweepingBladeInt]'s animation speed to 100.00% of its original speed
- Animation - Reset SweepingBladeCaster[SweepingBladeLoop]'s animation
- Animation - Reset SweepingBladeCaster[SweepingBladeLoop]'s body-part facing
- Custom script: call UnitRemoveAbility( udg_SweepingBladeCaster[udg_SweepingBladeLoop], 'Abun' )
- Set SweepingBladeDistance[SweepingBladeLoop] = 0.00
- Set SweepingBladeBoolean[SweepingBladeLoop] = False
- Set SweepingBladeIndex = (SweepingBladeIndex - 1)
- Unit - Remove E Detection from SweepingBladeCaster[SweepingBladeLoop]
- Unit Group - Remove all units from SweepingBladeMarkGroup[SweepingBladeLoop]
- Unit Group - Remove all units from SweepingBladeCastGroup[SweepingBladeLoop]
- Custom script: call DestroyGroup(udg_SweepingBladeMarkGroup[udg_SweepingBladeLoop])
- Custom script: call DestroyGroup(udg_SweepingBladeCastGroup[udg_SweepingBladeLoop])
- Custom script: call RemoveLocation(udg_SweepingBladePoint[0])
- Custom script: call RemoveLocation(udg_SweepingBladePoint[1])
- Custom script: call RemoveLocation(udg_SweepingBladePoint[2])
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- SweepingBladeIndex Equal to 0
-
Then - Actions
- Set SweepingBladeInt = 0
- Trigger - Turn off (This trigger)
- Else - Actions
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- Else - Actions
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
Loop - Actions
-
For each (Integer SweepingBladeLoop) from 1 to SweepingBladeInt, do (Actions)
-
Events
Custom script: call SetUnitX(udg_SweepingBladeCaster[udg_SweepingBladeLoop], GetLocationX(udg_SweepingBladePoint[2]))
and
Custom script: call SetUnitY(udg_SweepingBladeCaster[udg_SweepingBladeLoop], GetLocationY(udg_SweepingBladePoint[2]))
but Yasuo still dash on boundary, anyone know how to fix it?