DotA's Ice Shards block
im making the spell that can creates ice blocks the way, but the angles doesnt change
im making the spell that can creates ice blocks the way, but the angles doesnt change
-
Ice Wall
-
Events
-
Unit - A unit Starts the effect of an ability
-
-
Conditions
-
(Ability being cast) Equal to (==) Ice Wall
-
-
Actions
-
Set AALoc1 = (Position of (Triggering unit))
-
Set AALoc2 = (Target point of ability being cast)
-
Set AAReal = (252.50 + (Angle from AALoc1 to AALoc2))
-
Unit - Create 1 Craggy Exterior Dummy for (Owner of (Triggering unit)) at AALoc2 facing Default building facing (270.0) degrees
-
Unit - Add a 5.00 second Generic expiration timer to (Last created unit)
-
Unit - Add Ice Wall [Burn] to (Last created unit)
-
Unit - Set level of Ice Wall [Burn] for (Last created unit) to (Level of Ice Wall for (Triggering unit))
-
Do Multiple ActionsFor each (Integer A) from 1 to 5, do (Actions)
-
Loop - Actions
-
Destructible - Create a Freezing Wall at (AALoc2 offset by 225.00 towards ((36.00 x (Real((Integer A)))) + AAReal) degrees) facing (180.00 + (Angle from AALoc1 to AALoc2)) with scale 0.80 and variation 0
-
Set Wall_Count[(Integer A)] = (Last created destructible)
-
-
-
-
Custom script: call RemoveLocation (udg_AALoc1)
-
Custom script: call RemoveLocation(udg_AALoc2)
-
Wait 5.00 seconds
-
Do Multiple ActionsFor each (Integer A) from 1 to 5, do (Actions)
-
Loop - Actions
-
Destructible - Remove Wall_Count[(Integer A)]
-
-
-
-
-
Last edited: