Capitán
Barra de Salud : 
Mensajes : 152
Reputación : 20 Monedas de oro : 495 Monedas de Platino : 0 ![Waveform por Napo [SPELL] - Página 2 Empty](https://2img.net/i/fa/empty.gif)
Inventario : ![Waveform por Napo [SPELL] - Página 2 Empysl10](https://i.servimg.com/u/f73/18/43/73/24/empysl10.png) ![Waveform por Napo [SPELL] - Página 2 Empysl10](https://i.servimg.com/u/f73/18/43/73/24/empysl10.png)
![Waveform por Napo [SPELL] - Página 2 Empty](https://2img.net/i/fa/empty.gif) | (#) Tema: Waveform por Napo [SPELL] Lun Sep 02, 2013 7:39 pm | |
| Recuerdo del primer mensaje : Bueno ahora les vengo a mostrar una spell basada en Waveform, la del Morphling del DotA. Vamos a la spell Esta spell hace que el héroe se lanza en una rafaga de agua y dañe a todas las undades que toca. Bueno aqui algunas imagenes para que entiendan mejor: - Imagenes:
-
Ahora les dejo los detonadores - Detonadores:
-
- Int:
-
[GUI]Int Acontecimientos Unidad - A unit Inicia el efecto de una habilidad Condiciones (Ability being cast) Igual a Waveform Acciones If (All Conditions are True) then do (Then Actions) else do (Else Actions) Si: Condiciones Enteros[1] Igual a 0 Entonces: Acciones Detonador - Turn on Loop Otros: Acciones Set Enteros[1] = (Enteros[1] + 1) Set Enteros[2] = (Enteros[2] + 1) Set ON_OFF[Enteros[2]] = True Set Distancia[Enteros[2]] = 0.00 Set Caster[Enteros[2]] = (Triggering unit) Set PuntoCaster[Enteros[2]] = (Position of Caster[Enteros[2]]) Set PuntoSpell = (Target point of ability being cast) Set Angle[Enteros[2]] = (Angle from PuntoCaster[Enteros[2]] to PuntoSpell) Set DistanciaMax[Enteros[2]] = (Distance between PuntoCaster[Enteros[2]] and PuntoSpell) Custom script: call RemoveLocation (udg_PuntoSpell) Animación - Change Caster[Enteros[2]]'s vertex coloring to (100.00%, 100.00%, 100.00%) with 100.00% transparency Unidad - Add Invulnerable (Neutral) to Caster[Enteros[2]] [/GUI]
- Loop:
-
[GUI]Loop Acontecimientos Tiempo - Every 0.07 seconds of game time Condiciones Acciones For each (Integer Enteros[3]) from 1 to Enteros[2], do (Actions) Bucle: Acciones If (All Conditions are True) then do (Then Actions) else do (Else Actions) Si: Condiciones ON_OFF[Enteros[3]] Igual a True Entonces: Acciones Set Distancia[Enteros[3]] = (Distancia[Enteros[3]] + 100.00) Set Punto[Enteros[3]] = (PuntoCaster[Enteros[3]] offset by Distancia[Enteros[3]] towards Angle[Enteros[3]] degrees) Unidad - Move Caster[Enteros[3]] instantly to Punto[Enteros[3]] Efecto especial - Create a special effect at Punto[Enteros[3]] using Objects\Spawnmodels\Naga\NagaDeath\NagaDeath.mdl Efecto especial - Destroy (Last created special effect) Set Grupo[Enteros[3]] = (Units within 100.00 of Punto[Enteros[3]] matching ((((Matching unit) is alive) Igual a True) and ((((Matching unit) belongs to an enemy of (Owner of Caster[Enteros[3]])) Igual a True) and (((Matching unit) is Inmune a la magia) Igual a False)))) Grupo de unidad - Pick every unit in Grupo[Enteros[3]] and do (Actions) Bucle: Acciones Unidad - Cause Caster[Enteros[3]] to damage (Picked unit), dealing 100.00 damage of attack type Conjuros and damage type Normal Custom script: call DestroyGroup (udg_Grupo[udg_Enteros[3]]) If (All Conditions are True) then do (Then Actions) else do (Else Actions) Si: Condiciones Distancia[Enteros[3]] Mayor que o igual a DistanciaMax[Enteros[3]] Entonces: Acciones Custom script: call RemoveLocation (udg_PuntoCaster[udg_Enteros[3]]) Animación - Change Caster[Enteros[3]]'s vertex coloring to (100.00%, 100.00%, 100.00%) with 0.00% transparency Unidad - Remove Invulnerable (Neutral) from Caster[Enteros[3]] Set ON_OFF[Enteros[3]] = False Set Distancia[Enteros[3]] = 0.00 Set Enteros[1] = (Enteros[1] - 1) If (All Conditions are True) then do (Then Actions) else do (Else Actions) Si: Condiciones Enteros[1] Igual a 0 Entonces: Acciones Set Enteros[2] = (Enteros[2] - 1) Detonador - Turn off (This trigger) Otros: Acciones Otros: Acciones Otros: Acciones[/GUI]
Sin nada mas que decir, aqui el mapa |
|