Buenas Noches, acabo de crear este spell por mero aburrimiento y espero les guste.
Nombre: Voluntad Inquebrantable
Activa: Durante 3s. Te vuelves inmune al aturdimiento, Ralentizacion y Adormecer, además aumentas tu velocidad de ataque y movimiento un 25%.
La habilidad se trata de un "Berserk" con nombre, duración y buff cambiados, al usarse dicha habilidad otorga el buff "Tenacidad" y aumenta tu velocidad de ataque y movimiento durante 3s. El resto viene dado por el trigger.
Trigger:
[gui]Unidades con Tenacidad
Acontecimientos
Tiempo - Every 0.01 seconds of game time
Condiciones
Acciones
-------- Este grupo engloba a las unidades que tengan el buff "tenacidad" otorgado por la habilidad Voluntad Inquebrantable --------
Set GrupoTenaces = (Units in (Playable map area) matching (((Matching unit) has buff Tenacidad ) Igual a (==) True))
Grupo de unidad - Pick every unit in GrupoTenaces and do (Actions)
Bucle: Acciones
-------- Si una de las unidades con el buff "Tenacidad" sufre de aturdimiento,ralentización o está dormida... --------
Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions)
Si: Condiciones
Multiple ConditionsOr - Any (Conditions) are true
Condiciones
((Picked unit) has buff Ralentizar) Igual a (==) True
((Picked unit) has buff Ralentizado) Igual a (==) True
((Picked unit) has buff Dormir) Igual a (==) True
((Picked unit) has buff Dormir (Activar pausa)) Igual a (==) True
((Picked unit) has buff Dormir (Aturdir)) Igual a (==) True
((Picked unit) has buff Aturdido) Igual a (==) True
((Picked unit) has buff Aturdido (Activar pausa)) Igual a (==) True
Entonces: Acciones
-------- ...lo saca de ese estado, removiendole el debuff que le ocasiona el aturdimiento,ralentizacón o dormir. --------
Unidad - Remove Ralentizar buff from (Picked unit)
Unidad - Remove Ralentizado buff from (Picked unit)
Unidad - Remove Dormir buff from (Picked unit)
Unidad - Remove Dormir (Activar pausa) buff from (Picked unit)
Unidad - Remove Dormir (Activar pausa) buff from (Picked unit)
Unidad - Remove Aturdido buff from (Picked unit)
Unidad - Remove Aturdido (Activar pausa) buff from (Picked unit)
Otros: Acciones
Do nothing
-------- Esto es para remover posibles leaks que cause el trigger --------
Custom script: call DestroyGroup(udg_GrupoTenaces)
[/gui]
Para importarlo a su mapa deben crear una habilidad "Berserk",crear un buff de "Berserk",
y luego configurar el trigger con su habilidad y buff creados, no creo que se les haga dificil :b. Cualquier duda será respondida (no importa lo obvia que sea la respuesta)
Comenta para descargar

"Noblesse Oblige, Aquellos que se proclamen Nobles, deben actuar como tal y usar su poder por el bien de los que no lo tienen"
