twisterghost
New Member
- Reaction score
- 3
Code:
Field of Fire
Events
Unit - A unit Starts the effect of an ability
Conditions
(Unit-type of (Triggering unit)) Equal to Mystic
(Ability being cast) Equal to Field of Fire
Actions
Set FieldofFireUnit = (Triggering unit)
Region - Center FieldOfFire <gen> on ((Position of (Triggering unit)) offset by 10.00 towards (Facing of (Triggering unit)) degrees)
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Level of Field of Fire for (Triggering unit)) Equal to 4
Then - Actions
For each (Integer A) from 1 to 7, do (Actions)
Loop - Actions
Special Effect - Create a special effect at (Random point in FieldOfFire <gen>) using Abilities\Spells\Other\BreathOfFire\BreathOfFireDamage.mdl
Special Effect - Destroy (Last created special effect)
Unit - Cause FieldofFireUnit to damage circular area after 0.00 seconds of radius 300.00 at (Center of (Playable map area)), dealing 50.00 damage of attack type Spells and damage type Normal
Wait 1.00 seconds
Else - Actions
For each (Integer A) from 1 to 5, do (Actions)
Loop - Actions
Special Effect - Create a special effect at (Random point in FieldOfFire <gen>) using Abilities\Spells\Other\BreathOfFire\BreathOfFireDamage.mdl
Special Effect - Destroy (Last created special effect)
Unit - Cause FieldofFireUnit to damage circular area after 0.00 seconds of radius 300.00 at (Center of (Playable map area)), dealing 50.00 damage of attack type Spells and damage type Normal
Wait 1.00 seconds
It's supposed to deal damage in the field as well as make the fire animations, but nothing happens. The region does exist, but when I use the skill, nothing happens.