I'm trying to create a skill like one of batrider in dota's skills called firefly.. It's pretty much like when you move, you leave a trail of flame behind you... here's my trigger.. the fire effect works okay but, it only does damage around my hero.. not the flame itself.. please help!
*Variables*
God of Fire = unit
BlazeFeetTimer = Timer
Dummy5 = Dummy that casts skill
BlazeFeetPoint = Where the damage occurs
BlazeFeetGroup = enemy units
-------------------------------------------------------------------------
(Blaze Feet Cast)
Events
Unit - A unit Begins casting an ability
Conditions
(Ability being cast) Equal to God of Fire - Blaze Feet
Actions
Set GodofFire = (Triggering unit)
Countdown Timer - Start BlazeFeetTimer as a One-shot timer that will expire in 10.00 seconds
Trigger - Turn on Blaze Feet Trigger <gen>
--------------------------------------------------------------------
(Blaze Feet Trigger)
Events
Time - Every 0.20 seconds of game time
Conditions
Actions
Unit - Create 1 Blaze Feet Dummy for (Owner of GodofFire) at ((Position of GodofFire) offset by 70.00 towards 270.00 degrees) facing Default building facing degrees
Set Dummy5 = (Last created unit)
Set BlazeFeetPoint = (Position of Dummy5)
Set BlazeFeetGroup = (Units within 250.00 of BlazeFeetPoint matching (((Owner of (Matching unit)) is an enemy of (Owner of GodofFire)) Equal to True))
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Level of God of Fire - Blaze Feet for GodofFire) Equal to 1
(GodofFire is alive) Equal to True
(GodofFire has buff Blaze Feet ) Equal to True
Then - Actions
Unit Group - Pick every unit in BlazeFeetGroup and do (Actions)
Loop - Actions
Unit - Cause Dummy5 to damage (Picked unit), dealing 20.00 damage of attack type Spells and damage type Unknown
Else - Actions
Do nothing
----------------------------------------------------------------
(Blaze Feet Stop)
Events
Time - BlazeFeetTimer expires
Conditions
Actions
Trigger - Turn off Blaze Feet Trigger <gen>
Please look at my trigger and help! thanks.
*Variables*
God of Fire = unit
BlazeFeetTimer = Timer
Dummy5 = Dummy that casts skill
BlazeFeetPoint = Where the damage occurs
BlazeFeetGroup = enemy units
-------------------------------------------------------------------------
(Blaze Feet Cast)
Events
Unit - A unit Begins casting an ability
Conditions
(Ability being cast) Equal to God of Fire - Blaze Feet
Actions
Set GodofFire = (Triggering unit)
Countdown Timer - Start BlazeFeetTimer as a One-shot timer that will expire in 10.00 seconds
Trigger - Turn on Blaze Feet Trigger <gen>
--------------------------------------------------------------------
(Blaze Feet Trigger)
Events
Time - Every 0.20 seconds of game time
Conditions
Actions
Unit - Create 1 Blaze Feet Dummy for (Owner of GodofFire) at ((Position of GodofFire) offset by 70.00 towards 270.00 degrees) facing Default building facing degrees
Set Dummy5 = (Last created unit)
Set BlazeFeetPoint = (Position of Dummy5)
Set BlazeFeetGroup = (Units within 250.00 of BlazeFeetPoint matching (((Owner of (Matching unit)) is an enemy of (Owner of GodofFire)) Equal to True))
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Level of God of Fire - Blaze Feet for GodofFire) Equal to 1
(GodofFire is alive) Equal to True
(GodofFire has buff Blaze Feet ) Equal to True
Then - Actions
Unit Group - Pick every unit in BlazeFeetGroup and do (Actions)
Loop - Actions
Unit - Cause Dummy5 to damage (Picked unit), dealing 20.00 damage of attack type Spells and damage type Unknown
Else - Actions
Do nothing
----------------------------------------------------------------
(Blaze Feet Stop)
Events
Time - BlazeFeetTimer expires
Conditions
Actions
Trigger - Turn off Blaze Feet Trigger <gen>
Please look at my trigger and help! thanks.