S
shadowvzs
Guest
noobish diablo spell (but not have perfect design the lightning wall)
this spells is only a ideea
Trigger:
The Demo Map
this spells is only a ideea
Trigger:
Code:
Fire Ring
Events
Unit - A unit Starts the effect of an ability
Conditions
(Ability being cast) Equal to Summon Water Elemental
Actions
Set DummyUnit = Phoenix
Set Point[0] = (Position of (Casting unit))
For each (Integer A) from 1 to 72, do (Actions)
Loop - Actions
Set DummyAngle = (DummyAngle + 5.00)
Set Point[1] = (Point[0] offset by 300.00 towards DummyAngle degrees)
Unit - Create 1 DummyUnit for (Owner of (Casting unit)) at Point[1] facing Default building facing degrees
Custom script: call RemoveLocation(udg_Point[1])
Custom script: call RemoveLocation(udg_Point[0])
Code:
Lightning Wall
Events
Unit - A unit Starts the effect of an ability
Conditions
(Ability being cast) Equal to Chain Lightning
Actions
Set DummyUnit = Lightning
Set Point[0] = (Position of (Casting unit))
Set Point[2] = (Position of (Target unit of ability being cast))
Set DummyAngle = ((Angle from Point[0] to Point[2]) + 90.00)
Unit - Create 1 DummyUnit for (Owner of (Casting unit)) at Point[2] facing DummyAngle degrees
Set DummyX = 0.00
For each (Integer A) from 1 to 30, do (Actions)
Loop - Actions
Set DummyX = (DummyX + 50.00)
Set Point[1] = (Point[2] offset by (DummyX - 750.00) towards DummyAngle degrees)
Unit - Create 1 DummyUnit for (Owner of (Casting unit)) at Point[1] facing DummyAngle degrees
Custom script: call RemoveLocation(udg_Point[1])
Custom script: call RemoveLocation(udg_Point[0])
Custom script: call RemoveLocation(udg_Point[2])
The Demo Map