[gui]Loop
Acontecimientos
Tiempo - Every 0.04 seconds of game time
Condiciones
Acciones
Do Multiple ActionsFor each (Integer EF[3]) from 1 to EF[2], do (Actions)
Bucle: Acciones
Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions)
Si: Condiciones
EF_Dummy[EF[3]] No igual a (!=) Ninguna unidad
Entonces: Acciones
Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions)
Si: Condiciones
EF_OFF[EF[3]] Igual a (==) True
Entonces: Acciones
Unidad - Remove EF_Dummy[EF[3]] from the game
Set EF_Caster[EF[3]] = Ninguna unidad
Set EF_Target[EF[3]] = Ninguna unidad
Set EF_Dummy[EF[3]] = Ninguna unidad
Set EF[1] = (EF[1] - 1)
Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions)
Si: Condiciones
EF[1] Igual a (==) 0
Entonces: Acciones
Detonador - Turn off (This trigger)
Set EF[2] = 0
Otros: Acciones
Otros: Acciones
Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions)
Si: Condiciones
(EF_Target[EF[3]] is Inmune a la magia) Igual a (==) True
Entonces: Acciones
Set EF_OFF[EF[3]] = True
Otros: Acciones
Set EF_Punto[0] = (Position of EF_Dummy[EF[3]])
Set EF_Punto[1] = (Position of EF_Target[EF[3]])
Set EF_Angle[EF[2]] = (Angle from EF_Punto[0] to EF_Punto[1])
Set EF_Punto[2] = (EF_Punto[0] offset by EF_Speed[EF[3]] towards EF_Angle[EF[3]] degrees)
Unidad - Move EF_Dummy[EF[3]] instantly to EF_Punto[2]
Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions)
Si: Condiciones
(Distance between EF_Punto[0] and EF_Punto[1]) Menor que (<) EF_Area[EF[3]]
Entonces: Acciones
Efecto especial - Create a special effect at EF_Punto[0] using Objects\Spawnmodels\Other\NeutralBuildingExplosion\NeutralBuildingExplosion.mdl
Efecto especial - Destroy (Last created special effect)
Unidad - Cause EF_Caster[EF[3]] to damage EF_Target[EF[3]], dealing (Real(EF_Damage[EF[3]])) damage of attack type Normal and damage type Fuego
Unidad - Create 1 Espiral de Fuego EFECTOOO for (Owner of EF_Caster[EF[3]]) at EF_Punto[0] facing Vista edificio predeterminada (270.0) degrees
Unidad - Add a 3.00 second GenÃ

rico expiration timer to (Last created unit)
Unidad - Set level of Aliento de fuego (DUMMYYYY) for (Last created unit) to (Level of Espiral de Fuego for EF_Caster[EF[3]])
Unidad - Order (Last created unit) to Alquimista pandaren neutral- Aliento de fuego EF_Punto[1]
Custom script: set bj_wantDestroyGroup = true
Grupo de unidad - Pick every unit in (Units within EF_Area[EF[3]] of EF_Punto[0] matching ((EF_Caster[EF[3]] belongs to an enemy of (Owner of (Matching unit))) Igual a (==) True)) and do (Actions)
Bucle: Acciones
Efecto especial - Create a special effect at EF_Punto[0] using Objects\Spawnmodels\Other\NeutralBuildingExplosion\NeutralBuildingExplosion.mdl
Efecto especial - Destroy (Last created special effect)
Unidad - Cause EF_Caster[EF[3]] to damage (Picked unit), dealing (Real(EF_Damage[EF[3]])) damage of attack type Normal and damage type Fuego
Set EF_OFF[EF[3]] = True
Set EF_OFF[EF[3]] = True
Otros: Acciones
Custom script: call RemoveLocation(udg_EF_Punto[0])
Custom script: call RemoveLocation(udg_EF_Punto[1])
Custom script: call RemoveLocation(udg_EF_Punto[2])
Otros: Acciones
[/gui]