muchas gracias marcos creo q gracias a esos tuto y a otros q vi x hay pude hacer esta skill me le podrias hehcar un vistaso aparentemente funciona.[gui]Preordenar
Acontecimientos
Unidad - A unit Inicia el efecto de una habilidad
Condiciones
(Ability being cast) Igual a Preordenar
Acciones
Set PO_punto = (Target point of ability being cast)
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
Si: Condiciones
(Level of Preordenar for (Triggering unit)) Igual a 1
Entonces: Acciones
Set PO_target = (Units within 250.00 of PO_punto matching ((((Matching unit) is Una estructura) Igual a False) and ((((Matching unit) belongs to an enemy of (Owner of (Triggering unit))) Igual a True) and (((Matching unit) is Inmune a la magia) Igual a False))))
Grupo de unidad - Pick every unit in PO_target and do (Actions)
Bucle: Acciones
Unidad - Create 1 Dummy for (Owner of (Triggering unit)) at PO_punto facing (Position of (Triggering unit))
Unidad - Cause (Last created unit) to damage (Picked unit), dealing 120.00 damage of attack type Conjuros and damage type Normal
Unidad - Add a 0.20 second Genérico expiration timer to (Last created unit)
Unidad - Move (Picked unit) instantly to PO_punto
Otros: Acciones
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
Si: Condiciones
(Level of Preordenar for (Triggering unit)) Igual a 2
Entonces: Acciones
Set PO_target = (Units within 300.00 of PO_punto matching ((((Matching unit) is Una estructura) Igual a False) and ((((Matching unit) belongs to an enemy of (Owner of (Triggering unit))) Igual a True) and (((Matching unit) is Inmune a la magia) Igual a False))))
Grupo de unidad - Pick every unit in PO_target and do (Actions)
Bucle: Acciones
Unidad - Create 1 Dummy for (Owner of (Triggering unit)) at PO_punto facing (Position of (Triggering unit))
Unidad - Cause (Last created unit) to damage (Picked unit), dealing 180.00 damage of attack type Conjuros and damage type Normal
Unidad - Add a 0.20 second Genérico expiration timer to (Last created unit)
Unidad - Move (Picked unit) instantly to PO_punto
Otros: Acciones
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
Si: Condiciones
(Level of Preordenar for (Triggering unit)) Igual a 3
Entonces: Acciones
Set PO_target = (Units within 300.00 of PO_punto matching ((((Matching unit) is Una estructura) Igual a False) and ((((Matching unit) belongs to an enemy of (Owner of (Triggering unit))) Igual a True) and (((Matching unit) is Inmune a la magia) Igual a False))))
Grupo de unidad - Pick every unit in PO_target and do (Actions)
Bucle: Acciones
Unidad - Create 1 Dummy for (Owner of (Triggering unit)) at PO_punto facing (Position of (Triggering unit))
Unidad - Cause (Last created unit) to damage (Picked unit), dealing 260.00 damage of attack type Conjuros and damage type Normal
Unidad - Add a 0.20 second Genérico expiration timer to (Last created unit)
Unidad - Move (Picked unit) instantly to PO_punto
Otros: Acciones
Custom script: call DestroyGroup(udg_PO_target)
Custom script: call RemoveLocation(udg_PO_punto)
[/gui]