Funciona casi como el del dota solo que en vez de destruir con 3 ataques de héroe o 6 de torre, se destruye con 5 ataques. Para lograr ese efecto que tiene DotA2 requiere algún sistema de daño cosa que depende de tu map
Utiliza este sistema:
http://www.hiveworkshop.com/forums/spells-569/mui-242000/
[gui]HM Init
Acontecimientos
Unidad - A unit Inicia el efecto de una habilidad
Condiciones
(Ability being cast) Igual a (==) Homing Bird
Acciones
-------- ------------------------------------------------------- --------
Set set_unit[1] = (Triggering unit)
Set set_unit[2] = (Target unit of ability being cast)
Set set_point[1] = (Position of (Triggering unit))
Set set_point[2] = (Position of (Target unit of ability being cast))
Set set_real[1] = (Angle from set_point[1] to set_point[2])
Set set_point[3] = (set_point[1] offset by 150.00 towards set_real[1] degrees)
Unidad - Create 1 Dummy Homing Missile for (Triggering player) at set_point[3] facing set_real[1] degrees
Set set_unit[3] = (Last created unit)
-------- ------------------------------------------------------- --------
-------- ------------------------------------------------------- --------
-------- Este de aquà es el daño de la habilidad --------
Set set_real[2] = (25.00 + (75.00 x (Real((Level of (Ability being cast) for (Triggering unit))))))
-------- ------------------------------------------------------- --------
-------- Este de aquà es el delay hasta que el misil comience a moverse --------
Set set_real[3] = 2.96
-------- ------------------------------------------------------- --------
-------- Este último es la velocidad --------
Set set_real[4] = (500.00 / 32.00)
-------- ------------------------------------------------------- --------
Set used_points = 3
Set used_reals = 4
Set used_units = 3
-------- ------------------------------------------------------- --------
Set trigger = HM Periodic
Set timeout = (1.00 / 32.00)
[/gui]
[gui]HM Periodic
Acontecimientos
Condiciones
Acciones
Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions)
Si: Condiciones
get_real[3] Mayor que (>) 0.00
Entonces: Acciones
Set get_real[3] = (get_real[3] - 0.03)
Otros: Acciones
Set get_point[1] = (Position of get_unit[3])
Set get_point[2] = (Position of get_unit[2])
Multiple FunctionsIf (All Conditions are True) then do (Then Actions) else do (Else Actions)
Si: Condiciones
(Distance between get_point[1] and get_point[2]) Menor que (<) get_real[4]
Entonces: Acciones
Unidad - Cause get_unit[1] to damage get_unit[2], dealing get_real[2] damage of attack type Conjuros and damage type Normal
Unidad - Create 1 DUMMY_CASTER_ID for (Owner of get_unit[1]) at get_point[1] facing Vista edificio predeterminada (270.0) degrees
Unidad - Add a 1.00 second GenÃ
rico expiration timer to (Last created unit)
Unidad - Add HomingDumm to (Last created unit)
Unidad - Set level of HomingDumm for (Last created unit) to (Level of Homing Bird for get_unit[1])
Unidad - Order (Last created unit) to Humano Rey de la Montaña: Rayo de tormenta get_unit[2]
Unidad - Kill get_unit[3]
Set finish = True
Set automaticClean = True
Otros: Acciones
Set get_real[1] = (Angle from get_point[1] to get_point[2])
Set get_point[3] = (get_point[1] offset by get_real[4] towards get_real[1] degrees)
-------- ------------------------------------------------------- --------
-------- Esta acción de aquà acelera el misil --------
Set get_real[4] = (get_real[4] + (6.25 / 10.00))
Unidad - Move get_unit[3] instantly to get_point[3], facing get_real[1] degrees
[/gui]
https://www.epicwar.com/maps/306190/