- Joined
- Jun 27, 2010
- Messages
- 2,710
This spell casts shield around the archmage and makes him untargetable for the duration, but I can't see why he does not become targetable again after the end?
-
Shield
-
Events
- Unit - A unit Starts the effect of an ability
-
Conditions
- (Ability being cast) Equal to Arcane Shield
-
Actions
- Unit - Create 1 Arcane Shield for (Owner of Archmage) at (Position of Archmage) facing 270.00 degrees
- Set ShieldBarrier = (Last created unit)
- Destructible - Create a Pathing Blocker (Both) (Large) at ((Position of Archmage) offset by 500.00 towards 15.00 degrees) facing 270.00 with scale 1.20 and variation 1
- Set POS_DES_SHIELD[1] = (Last created destructible)
- Destructible - Create a Pathing Blocker (Both) (Large) at ((Position of Archmage) offset by 500.00 towards 30.00 degrees) facing 270.00 with scale 1.20 and variation 1
- Set POS_DES_SHIELD[2] = (Last created destructible)
- Destructible - Create a Pathing Blocker (Both) (Large) at ((Position of Archmage) offset by 500.00 towards 45.00 degrees) facing 270.00 with scale 1.20 and variation 1
- Set POS_DES_SHIELD[3] = (Last created destructible)
- Destructible - Create a Pathing Blocker (Both) (Large) at ((Position of Archmage) offset by 500.00 towards 60.00 degrees) facing 270.00 with scale 1.20 and variation 1
- Set POS_DES_SHIELD[4] = (Last created destructible)
- Destructible - Create a Pathing Blocker (Both) (Large) at ((Position of Archmage) offset by 500.00 towards 75.00 degrees) facing 270.00 with scale 1.20 and variation 1
- Set POS_DES_SHIELD[5] = (Last created destructible)
- Destructible - Create a Pathing Blocker (Both) (Large) at ((Position of Archmage) offset by 500.00 towards 90.00 degrees) facing 270.00 with scale 1.20 and variation 1
- Set POS_DES_SHIELD[6] = (Last created destructible)
- Destructible - Create a Pathing Blocker (Both) (Large) at ((Position of Archmage) offset by 500.00 towards 105.00 degrees) facing 270.00 with scale 1.20 and variation 1
- Set POS_DES_SHIELD[7] = (Last created destructible)
- Destructible - Create a Pathing Blocker (Both) (Large) at ((Position of Archmage) offset by 500.00 towards 120.00 degrees) facing 270.00 with scale 1.20 and variation 1
- Set POS_DES_SHIELD[8] = (Last created destructible)
- Destructible - Create a Pathing Blocker (Both) (Large) at ((Position of Archmage) offset by 500.00 towards 135.00 degrees) facing 270.00 with scale 1.20 and variation 1
- Set POS_DES_SHIELD[9] = (Last created destructible)
- Destructible - Create a Pathing Blocker (Both) (Large) at ((Position of Archmage) offset by 500.00 towards 150.00 degrees) facing 270.00 with scale 1.20 and variation 1
- Set POS_DES_SHIELD[10] = (Last created destructible)
- Destructible - Create a Pathing Blocker (Both) (Large) at ((Position of Archmage) offset by 500.00 towards 165.00 degrees) facing 270.00 with scale 1.20 and variation 1
- Set POS_DES_SHIELD[11] = (Last created destructible)
- Destructible - Create a Pathing Blocker (Both) (Large) at ((Position of Archmage) offset by 500.00 towards 180.00 degrees) facing 270.00 with scale 1.20 and variation 1
- Set POS_DES_SHIELD[11] = (Last created destructible)
- Destructible - Create a Pathing Blocker (Both) (Large) at ((Position of Archmage) offset by 500.00 towards 195.00 degrees) facing 270.00 with scale 1.20 and variation 1
- Set POS_DES_SHIELD[12] = (Last created destructible)
- Destructible - Create a Pathing Blocker (Both) (Large) at ((Position of Archmage) offset by 500.00 towards 210.00 degrees) facing 270.00 with scale 1.20 and variation 1
- Set POS_DES_SHIELD[13] = (Last created destructible)
- Destructible - Create a Pathing Blocker (Both) (Large) at ((Position of Archmage) offset by 500.00 towards 225.00 degrees) facing 270.00 with scale 1.20 and variation 1
- Set POS_DES_SHIELD[13] = (Last created destructible)
- Destructible - Create a Pathing Blocker (Both) (Large) at ((Position of Archmage) offset by 500.00 towards 240.00 degrees) facing 270.00 with scale 1.20 and variation 1
- Set POS_DES_SHIELD[14] = (Last created destructible)
- Destructible - Create a Pathing Blocker (Both) (Large) at ((Position of Archmage) offset by 500.00 towards 255.00 degrees) facing 270.00 with scale 1.20 and variation 1
- Set POS_DES_SHIELD[15] = (Last created destructible)
- Destructible - Create a Pathing Blocker (Both) (Large) at ((Position of Archmage) offset by 500.00 towards 270.00 degrees) facing 270.00 with scale 1.20 and variation 1
- Set POS_DES_SHIELD[16] = (Last created destructible)
- Destructible - Create a Pathing Blocker (Both) (Large) at ((Position of Archmage) offset by 500.00 towards 285.00 degrees) facing 270.00 with scale 1.20 and variation 1
- Set POS_DES_SHIELD[17] = (Last created destructible)
- Destructible - Create a Pathing Blocker (Both) (Large) at ((Position of Archmage) offset by 500.00 towards 300.00 degrees) facing 270.00 with scale 1.20 and variation 1
- Set POS_DES_SHIELD[18] = (Last created destructible)
- Destructible - Create a Pathing Blocker (Both) (Large) at ((Position of Archmage) offset by 500.00 towards 315.00 degrees) facing 270.00 with scale 1.20 and variation 1
- Set POS_DES_SHIELD[19] = (Last created destructible)
- Destructible - Create a Pathing Blocker (Both) (Large) at ((Position of Archmage) offset by 500.00 towards 330.00 degrees) facing 270.00 with scale 1.20 and variation 1
- Set POS_DES_SHIELD[20] = (Last created destructible)
- Destructible - Create a Pathing Blocker (Both) (Large) at ((Position of Archmage) offset by 500.00 towards 345.00 degrees) facing 270.00 with scale 1.20 and variation 1
- Set POS_DES_SHIELD[21] = (Last created destructible)
- Destructible - Create a Pathing Blocker (Both) (Large) at ((Position of Archmage) offset by 500.00 towards 360.00 degrees) facing 270.00 with scale 1.20 and variation 1
- Set POS_DES_SHIELD[22] = (Last created destructible)
- Custom script: call UnitAddAbility(udg_Archmage, 'Aloc')
-
Unit Group - Pick every unit in (Units within 500.00 of (Position of Archmage) matching (((Matching unit) is A Hero) Equal to True)) and do (Actions)
-
Loop - Actions
- Unit - Add Ethereal to (Picked unit)
- Unit - Add Spell Immunity to (Picked unit)
-
Loop - Actions
-
Unit Group - Pick every unit in (Units within 500.00 of (Position of Archmage) matching (((Matching unit) is A Hero) Equal to False)) and do (Actions)
-
Loop - Actions
- Unit - Add Ethereal to (Picked unit)
- Unit - Add Spell Immunity to (Picked unit)
-
Loop - Actions
- Countdown Timer - Start Shield_timer as a One-shot timer that will expire in 30.00 seconds
-
Events
-
Kill Shield
-
Events
- Time - Shield_timer expires
- Conditions
-
Actions
- Custom script: call UnitRemoveAbility(udg_Archmage, 'Aloc')
- Selection - Clear selection for (Owner of Archmage)
- Selection - Select Archmage for (Owner of Archmage)
-
Unit Group - Pick every unit in (Units within 500.00 of (Position of Archmage) matching (((Matching unit) is A Hero) Equal to True)) and do (Actions)
-
Loop - Actions
- Unit - Remove Ethereal from (Picked unit)
- Unit - Remove Spell Immunity from (Picked unit)
-
Loop - Actions
-
Unit Group - Pick every unit in (Units within 500.00 of (Position of Archmage) matching (((Matching unit) is A Hero) Equal to False)) and do (Actions)
-
Loop - Actions
- Unit - Remove Ethereal from (Picked unit)
- Unit - Remove Spell Immunity from (Picked unit)
-
Loop - Actions
- Destructible - Remove POS_DES_SHIELD[22]
- Destructible - Remove POS_DES_SHIELD[21]
- Destructible - Remove POS_DES_SHIELD[20]
- Destructible - Remove POS_DES_SHIELD[19]
- Destructible - Remove POS_DES_SHIELD[18]
- Destructible - Remove POS_DES_SHIELD[17]
- Destructible - Remove POS_DES_SHIELD[16]
- Destructible - Remove POS_DES_SHIELD[15]
- Destructible - Remove POS_DES_SHIELD[14]
- Destructible - Remove POS_DES_SHIELD[13]
- Destructible - Remove POS_DES_SHIELD[12]
- Destructible - Remove POS_DES_SHIELD[11]
- Destructible - Remove POS_DES_SHIELD[10]
- Destructible - Remove POS_DES_SHIELD[9]
- Destructible - Remove POS_DES_SHIELD[8]
- Destructible - Remove POS_DES_SHIELD[7]
- Destructible - Remove POS_DES_SHIELD[6]
- Destructible - Remove POS_DES_SHIELD[5]
- Destructible - Remove POS_DES_SHIELD[4]
- Destructible - Remove POS_DES_SHIELD[3]
- Destructible - Remove POS_DES_SHIELD[2]
- Destructible - Remove POS_DES_SHIELD[1]
- Unit - Remove ShieldBarrier from the game
-
Events