Does this trigger have leaks or not?
-
FireWave Throw
-
Events
-
Unit - A unit Приводит способность в действие
-
-
Conditions
-
(Ability being cast) равно Fire Wave (throw)
-
-
Actions
-
Set FireWaveCaster = (Casting unit)
-
Set FireWavePoint = (Position of FireWaveCaster)
-
Set FireWaveTargetPoint = (Target point of ability being cast)
-
Set FireWaveDamage = (((Разум of FireWaveCaster (Включить bonuses)) x 3) x (Integer(FireEssence)))
-
Set FireWaveRange = 100.00
-
Set FireWaveDegrees = (Angle from FireWavePoint to FireWaveTargetPoint)
-
For each (Integer A) from 1 to 6, do (Actions)
-
Loop - Actions
-
Set FireWaveDegreesPoint = ((Position of FireWaveCaster) offset by FireWaveRange towards FireWaveDegrees degrees)
-
Unit - Create 1 FireWave for (Owner of FireWaveCaster) at FireWaveDegreesPoint facing 0.00 degrees
-
Unit Group - Add (Last created unit) to FireWaveDummyGroup
-
Set FireWaveRange = (FireWaveRange + 100.00)
-
Set FireWaveDummyPosition = (Position of (Last created unit))
-
Set FireWavePick = (Units within 125.00 of FireWaveDummyPosition matching (((Matching unit) belongs to an enemy of (Owner of FireWaveCaster)) равно Да))
-
Custom script: call RemoveLocation(udg_FireWaveDegreesPoint)
-
Custom script: call RemoveLocation(udg_FireWaveWaveDummyPosition)
-
Unit Group - Pick every unit in FireWavePick and do (Actions)
-
Loop - Actions
-
Unit Group - Add (Picked unit) to FireWaveGroup
-
-
-
-
-
Unit Group - Pick every unit in FireWaveGroup and do (Actions)
-
Loop - Actions
-
Unit - Cause FireWaveCaster to damage (Picked unit), dealing (Real(FireWaveDamage)) damage of attack type Заклинание and damage type Обычный
-
Unit Group - Remove all units of FireWaveGroup from FireWaveGroup
-
Unit Group - Remove all units of FireWavePick from FireWaveGroup
-
-
-
Countdown Timer - Start FireWaveTimer as a Однократный timer that will expire in 1.00 seconds
-
Custom script: call RemoveLocation(udg_FireWavePoint)
-
Custom script: call RemoveLocation(udg_FireWaveTargetPoint)
-
-
-
FireWaveDummyRemove
-
Events
-
Time - FireWaveTimer expires
-
-
Conditions
-
Actions
-
Unit Group - Pick every unit in FireWaveDummyGroup and do (Actions)
-
Loop - Actions
-
Unit - Remove (Picked unit) from the game
-
Unit Group - Remove all units of FireWaveDummyGroup from FireWaveDummyGroup
-
-
-
-