• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!

[General] Untargetable while under effect

Status
Not open for further replies.
гпп

  • Cast cube
    • Events
      • Unit - Archmage 0001 <gen> Starts the effect of an ability
    • Conditions
      • (Ability being cast) Equal to Ice Capsul
    • Actions
      • Animation - Change (Target unit of ability being cast)'s animation speed to 0.00% of its original speed
      • Unit - Move Dummy Stun 0038 <gen> instantly to (Position of (Target unit of ability being cast))
      • Unit Group - Add (Target unit of ability being cast) to DUMMY_STUN
      • Unit - Add Storm Bolt to Archmage 0001 <gen>
      • Unit - Order Archmage 0001 <gen> to Human Mountain King - Storm Bolt (Target unit of ability being cast)
      • Unit - Remove Storm Bolt from Archmage 0001 <gen>
  • remove effect
    • Events
      • Time - Every 0.09 seconds of game time
    • Conditions
      • (Number of units in DUMMY_STUN) Greater than 0
    • Actions
      • Unit Group - Pick every unit in DIVINE_PROT and do (Actions)
        • Loop - Actions
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • If - Conditions
              • ((Picked unit) has buff Ice Capsul) Equal to False
            • Then - Actions
              • Animation - Change (Picked unit)'s animation speed to 100.00% of its original speed
              • Unit Group - Remove (Picked unit) from DUMMY_STUN
              • Unit - Move Dummy Stun 0038 <gen> instantly to (Center of Dummy <gen>)
            • Else - Actions
  • stop attack when frozen
    • Events
      • Unit - A unit Is attacked
    • Conditions
      • ((Attacked unit) has buff Ice Capsul) Equal to True
    • Actions
      • Unit - Order (Attacking unit) to Stop
 
Last edited:
Status
Not open for further replies.
Top