dragonhord
Knowledge is true opinion. - Plato
- Reaction score
- 82
Spell: Barrage of the Forsaken
Coding: GUI
MUI/MPI: No
Leakless: I do believe so. Correct me if I am wrong.
Description:
Screen Shot:
Code:
Coding: GUI
MUI/MPI: No
Leakless: I do believe so. Correct me if I am wrong.
Description:
The hero fires an arrow at the target point, an arrow bewitched with the souls of the forsaken. This arrow upon impact with the ground releases these souls, sending them outwards. These souls then split into a larger series of souls emitting outward as well.
Screen Shot:
Code:
Trigger:
- Barrage of the Forsaken
- Events
- Unit - A unit Starts the effect of an ability
- Conditions
- (Ability being cast) Equal to Barrage of the Forsaken
- Actions
- Set QuiverCaster = (Casting unit)
- Set QuiverPt = (Target point of ability being cast)
- Set QuiverPoint[0] = (Position of (Triggering unit))
- Countdown Timer - Start QTimer[0] as a One-shot timer that will expire in ((Distance between QuiverPt and QuiverPoint[0]) / 1200.00) seconds
- Custom script: call RemoveLocation(udg_QuiverPoint[0])
- Events
Trigger:
- First Barrage
- Events
- Time - QTimer[0] expires
- Conditions
- Actions
- Countdown Timer - Start QTimer[1] as a One-shot timer that will expire in (928.00 / 1100.00) seconds
- For each (Integer A) from 0 to 12, do (Actions)
- Loop - Actions
- Unit - Create 1 Peasant for (Owner of QuiverCaster) at QuiverPt facing Default building facing degrees
- Unit - Add Sylvanis Arrow to (Last created unit)
- Unit - Set level of Sylvanis Arrow for (Last created unit) to (Level of Barrage of the Forsaken for QuiverCaster)
- Set QuiverPoint[(Integer A)] = (QuiverPt offset by 800.00 towards (28.00 x (Real((Integer A)))) degrees)
- Unit - Order (Last created unit) to Undead Dreadlord - Carrion Swarm QuiverPoint[(Integer A)]
- Unit - Add a 2.00 second Generic expiration timer to (Last created unit)
- Custom script: call RemoveLocation(udg_QuiverPoint[bj_forLoopAIndex])
- Loop - Actions
- Events
Trigger:
- Second Barrage
- Events
- Time - QTimer[1] expires
- Conditions
- Actions
- For each (Integer A) from 0 to 12, do (Actions)
- Loop - Actions
- Set QuiverPoint[(Integer A)] = (QuiverPt offset by 800.00 towards (28.00 x (Real((Integer A)))) degrees)
- For each (Integer B) from 0 to 4, do (Actions)
- Loop - Actions
- Set QPt = (QuiverPoint[(Integer A)] offset by 800.00 towards (72.00 x (Real((Integer B)))) degrees)
- Unit - Create 1 Peasant for (Owner of QuiverCaster) at QuiverPoint[(Integer A)] facing Default building facing degrees
- Unit - Add Sylvanis Arrow to (Last created unit)
- Unit - Set level of Sylvanis Arrow for (Last created unit) to (Level of Barrage of the Forsaken for QuiverCaster)
- Unit - Order (Last created unit) to Undead Dreadlord - Carrion Swarm QPt
- Unit - Add a 2.00 second Generic expiration timer to (Last created unit)
- Custom script: call RemoveLocation(udg_QPt)
- Loop - Actions
- Special Effect - Create a special effect at QuiverPoint[(Integer A)] using Abilities\Spells\Undead\AnimateDead\AnimateDeadTarget.mdl
- Special Effect - Destroy (Last created special effect)
- Custom script: call RemoveLocation(udg_QuiverPoint[bj_forLoopAIndex])
- Loop - Actions
- For each (Integer A) from 0 to 12, do (Actions)
- Events