"Field of Fire" skill not damaging nor special effect...ing

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.
 

Naminator

Coming Back To Life
Reaction score
76
Code:
Unit - Cause (Triggering unit) to damage circular area after 0.00 seconds of radius 300.00 at [B](Center of (Playable map area))[/B], dealing 50.00 damage of attack type Spells and damage type Normal

(Center of (Playable map area))?

Fix that.
 

twisterghost

New Member
Reaction score
3
OH yeaaah, I forgot triggering unit screws up with waits.
Ok, fixing playable map area

EDIT:
Still doesnt show the effect.

EDIT2:
Nevermind, I got it to work.
 

Ghostwind

o________o
Reaction score
172
Triggering unit... doesn't... screw up with waits... I don't think?
I use it in my spell and it works :p
 

vypur85

Hibernate
Reaction score
803
Yeah I think it doesn't get screwed up with waits. But it's still good to add it into variables. His problem should be the loop.

Code:
For each (Integer A) from 1 to 7, do (Actions)
    Loop - Actions
Maybe he got it to work by using custom integers.
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Members online

      No members online now.

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top