Phase Shift Problem

Blackrage

Ultra Cool Member
Reaction score
25
K, so i got phase shift to make the user invulnerable while using phase shift, but for some reason phase shift does NOT activate when attacked. +Rep to anyone that helps.
 

Nherwyziant

Be better than you were yesterday :D
Reaction score
96
Here's a trigger

--Map Initialization--
Events
Map initialization

Condition
None

Actions
Set Unit_Group[0] = (Units in (Entire map))
Unit Group - Pick every unit in Unit_Group[0] and do (Actions)
Loop - Actions
Set Unit[0] = (Picked unit)
Trigger - Add to Auto Phase Shift <gen> the event (Unit - Unit[0] Takes damage)
Set Unit[0] = No unit


--Add Unit--
Events
Unit - A unit enters (Entire map)
Condition
None
Action
Trigger - Add to Auto Phase Shift <gen> the event (Unit - (Entering unit) Takes damage)




--Auto Phase Shift--
Event
Don't put events

Condition
Multiple ConditionsOr - Any (Conditions) are true
Conditions
(Level of Your Phase Shift for (Attacked unit)) Equal to (==) 1
(Level of Your Phase Shift for (Attacked unit)) Equal to (==) 2
(Level of Your Phase Shift for (Attacked unit)) Equal to (==) 3
(Level of Your Phase Shift for (Attacked unit)) Equal to (==) 4
( Put the level of the Your Phase Shift to lvl 1 to max, to detect if the unit has phase shift.)

Actions
Set Unit[0] = (Attacked unit)
Unit - Order Unit[0] to Night Elf Faerie Dragon - Phase Shift
Set Unit[0] = No unit

Or you can try this one if you want the unit to cast phase shift when it's attacked

Events
Unit - A unit Is attacked

Conditions
Multiple ConditionsOr - Any (Conditions) are true
Conditions
(Level of Your Phase Shift for (Attacked unit)) Equal to (==) 1
(Level of Your Phase Shift for (Attacked unit)) Equal to (==) 2
(Level of Your Phase Shift for (Attacked unit)) Equal to (==) 3
(Level of Your Phase Shift for (Attacked unit)) Equal to (==) 4
( Put the level of the Your Phase Shift to lvl 1 to max, to detect if the unit has phase shift.)

Actions
Set Unit[0] = (Attacked unit)
Unit - Order Unit[0] to Night Elf Faerie Dragon - Phase Shift
Set Unit[0] = No unit


-Nherwyziant
 

bOb666777

Stand against the ugly world domination face!
Reaction score
117
--Auto Phase Shift--
Event
Don't put events

Condition
Multiple ConditionsOr - Any (Conditions) are true
Conditions
(Level of Your Phase Shift for (Attacked unit)) Equal to (==) 1
(Level of Your Phase Shift for (Attacked unit)) Equal to (==) 2
(Level of Your Phase Shift for (Attacked unit)) Equal to (==) 3
(Level of Your Phase Shift for (Attacked unit)) Equal to (==) 4
( Put the level of the Your Phase Shift to lvl 1 to max, to detect if the unit has phase shift.)

Actions
Set Unit[0] = (Attacked unit)
Unit - Order Unit[0] to Night Elf Faerie Dragon - Phase Shift
Set Unit[0] = No unit

It's Damage Source and Triggering Unit, not Attacking Unit and Attacked Unit
 
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