micolord
You can change this now in User CP.
- Reaction score
- 0
I've made a skill called "Hellfire" it's more like a skill from DOTA, it suppose to do is to hit the enemy target and then burn it after 2 seconds. My problem is when you first use "Hellfire" on your target enemy/unit it will not cause any burn to the target enemy/unit you must use it 1 time first and then the second time or third or 4th time you use it, it will now work, please help me fix it so that in the first place it will affect, here is the trigger:
Trigger One:
Events
Unit - A unit Learns a skill
Conditions
((Unit-type of (Learning Hero)) Equal to Skeleton King) and ((Learned Hero Skill) Equal to Hellfire )
Actions
If (Hellfire Equal to 0) then do (Set Hellfire = 1) else do (If (Hellfire Equal to 1) then do (Set Hellfire = 2) else do (If (Hellfire Equal to 2) then do (Set Hellfire = 3) else do (If (Hellfire Equal to 3) then do (Set Hellfire = 4) else do (Do nothing))))
Trigger Two:
Events
Unit - A unit Starts the effect of an ability
Conditions
((Unit-type of (Casting unit)) Equal to Skeleton King) and ((Ability being cast) Equal to Hellfire )
Actions
If (Hellfire Equal to 1) then do (Set HellfireConfirm = True) else do (Do nothing)
If (HellfireConfirm Equal to True) then do (Unit - Cause (Casting unit) to damage circular area after 1.00 seconds of radius 1.00 at (Position of (Target unit of ability being cast)), dealing 15.00 damage of attack type Spells and damage type Normal) else do (Do nothing)
If (HellfireConfirm Equal to True) then do (Unit - Cause (Casting unit) to damage circular area after 2.00 seconds of radius 1.00 at (Position of (Target unit of ability being cast)), dealing 15.00 damage of attack type Spells and damage type Normal) else do (Do nothing)
If (HellfireConfirm Equal to True) then do (Set HellfireConfirm = False) else do (Do nothing)
Trigger One:
Events
Unit - A unit Learns a skill
Conditions
((Unit-type of (Learning Hero)) Equal to Skeleton King) and ((Learned Hero Skill) Equal to Hellfire )
Actions
If (Hellfire Equal to 0) then do (Set Hellfire = 1) else do (If (Hellfire Equal to 1) then do (Set Hellfire = 2) else do (If (Hellfire Equal to 2) then do (Set Hellfire = 3) else do (If (Hellfire Equal to 3) then do (Set Hellfire = 4) else do (Do nothing))))
Trigger Two:
Events
Unit - A unit Starts the effect of an ability
Conditions
((Unit-type of (Casting unit)) Equal to Skeleton King) and ((Ability being cast) Equal to Hellfire )
Actions
If (Hellfire Equal to 1) then do (Set HellfireConfirm = True) else do (Do nothing)
If (HellfireConfirm Equal to True) then do (Unit - Cause (Casting unit) to damage circular area after 1.00 seconds of radius 1.00 at (Position of (Target unit of ability being cast)), dealing 15.00 damage of attack type Spells and damage type Normal) else do (Do nothing)
If (HellfireConfirm Equal to True) then do (Unit - Cause (Casting unit) to damage circular area after 2.00 seconds of radius 1.00 at (Position of (Target unit of ability being cast)), dealing 15.00 damage of attack type Spells and damage type Normal) else do (Do nothing)
If (HellfireConfirm Equal to True) then do (Set HellfireConfirm = False) else do (Do nothing)