• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

Frozen wrath

Status
Not open for further replies.
Im working on new ability named FROZEN WRATH

PROBLEM: CASTER dies when casts ability-(but i cant see trigger that gives expiration timer or kills CASTER,so.........i need help!There is trigger...........


  • Spell
    • Events
      • Unit - A unit Starts the effect of an ability
    • Conditions
      • (Ability being cast) Equal to Frozen Wrath
    • Actions
      • For each (Integer A) from 1 to 6, do (Actions)
        • Loop - Actions
          • Unit - Create 1 Dummy Effect 1 for (Owner of (Triggering unit)) at ((Position of (Triggering unit)) offset by 250.00 towards (60.00 x (Real((Integer A)))) degrees) facing Default building facing (270.0) degrees
          • Unit - Order (Last created unit) to Human Blood Mage - Flame Strike (Position of (Last created unit))
      • Wait 0.40 seconds
      • For each (Integer A) from 1 to 12, do (Actions)
        • Loop - Actions
          • Unit - Create 1 Dummy Effect 1 for (Owner of (Triggering unit)) at ((Position of (Triggering unit)) offset by 400.00 towards (30.00 x (Real((Integer A)))) degrees) facing Default building facing (270.0) degrees
          • Unit - Order (Last created unit) to Human Blood Mage - Flame Strike (Position of (Last created unit))
          • Set Frozen_Wrath_Point = (Position of (Casting unit))
          • Set Caster = (Casting unit)
          • Unit - Create 1 Dummy Effect 2 for Player 1 (Red) at Frozen_Wrath_Point facing (Facing of Caster) degrees
          • Unit - Make Caster Invulnerable
          • Unit Group - Pick every unit in (Units within 400.00 of (Position of Caster)) and do (Actions)
            • Loop - Actions
              • Unit - Cause Caster to damage circular area after 0.00 seconds of radius 500.00 at (Center of (Playable map area)), dealing 10.00 damage of attack type Hero and damage type Universal
              • Unit - Make Caster Vulnerable
              • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                • If - Conditions
                  • (Level of Frozen Wrath for Caster) Equal to 2
                • Then - Actions
                  • Unit Group - Pick every unit in (Units within 600.00 of (Center of (Playable map area))) and do (Actions)
                    • Loop - Actions
                      • Unit - Make Caster Invulnerable
                      • Unit - Cause Caster to damage circular area after 0.00 seconds of radius 500.00 at (Position of Caster), dealing 30.00 damage of attack type Hero and damage type Universal
                      • Unit - Make Caster Vulnerable
                • Else - Actions
 
Level 33
Joined
Mar 27, 2008
Messages
8,035
Damage circular area function damages all units in the area.
His unit is already invulnerable



his caster is invulnerable. does "Damage Circular Area" also damage invulnerables?
Invulnerable is immune to Unit - Damage Area/Target function (tested)




I see you got a dummy to cast Flame Strike, 6 times
Does it has damage and can damage yourself ?

Also, try putting the action making your unit invulnerable to the top of the script and put the action making your unit vulnerable to the most bottom of the script.

If Flame Strike has damage too, why will he die if he's invulnerable...
 
Status
Not open for further replies.
Top