This is based off an AoM spell, however my spell is simpler and does different things but all in all it looks the same.
In AoM, the bats bring to life any units it kills for your army and the arrow does not stun.
This is not MUI.
Tooltip:
Screenshot:
First:
Then:
(The little ripple in the water was where the Black Arrow landed)
(Also take note: It looks way better ingame)
Code:
More Code:
In AoM, the bats bring to life any units it kills for your army and the arrow does not stun.
This is not MUI.
Tooltip:
Shoots out a black arrow, which when it reaches the target point, it stuns the units hit and, bats fly out in all directions dealing damage to all units in range. Damage increases the higher the level is.
Screenshot:
First:

Then:

(The little ripple in the water was where the Black Arrow landed)
(Also take note: It looks way better ingame)
Code:
Code:
Black Arrow
Events
Unit - A unit Starts the effect of an ability
Conditions
(Ability being cast) Equal to Black Arrow
Actions
Set BA_Points[21] = (Position of (Triggering unit))
Set BA_Points[22] = (Target point of ability being cast)
Set BA_Level = (Level of Black Arrow for (Triggering unit))
Unit - Create 1 Dummy Unit for (Owner of (Triggering unit)) at BA_Points[21] facing (Facing of (Triggering unit)) degrees
Unit - Order (Last created unit) to Neutral Tinker - Cluster Rockets BA_Points[22]
Unit - Add a 5.00 second Generic expiration timer to (Last created unit)
Custom script: call RemoveLocation(udg_BA_Points[21])
Wait 0.80 seconds
Trigger - Run Bats <gen> (ignoring conditions)
More Code:
Code:
Bats
Events
Conditions
Actions
For each (Integer A) from 1 to 20, do (Actions)
Loop - Actions
Set BA_Points[(Integer A)] = (BA_Points[22] offset by 10.00 towards (18.00 x (Real((Integer A)))) degrees)
Unit - Create 1 Dummy Unit for (Owner of (Triggering unit)) at BA_Points[22] facing (18.00 x (Real((Integer A)))) degrees
Unit - Set level of Black Arrow Dummy for (Last created unit) to BA_Level
Unit - Add a 3.00 second Generic expiration timer to (Last created unit)
Unit - Order (Last created unit) to Undead Dreadlord - Carrion Swarm BA_Points[(Integer A)]
Custom script: call RemoveLocation(udg_BA_Points[bj_forLoopAIndex])
Custom script: call RemoveLocation(udg_BA_Points[22])
Attachments
-
56.9 KB Views: 617