• 🏆 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!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

[General] Special effect question

Status
Not open for further replies.
Level 4
Joined
Dec 16, 2013
Messages
84
sorry for my english, i have a easy problem (probably) but it's kinda confusing

  • b Arthas Copy Copy
    • Events
      • Unit - A unit Starts the effect of an ability
    • Conditions
      • (Ability being cast) Equal to 1 catwoman
    • Actions
      • Unit Group - Pick every unit in (Units within 250.00 of (Position of (Casting unit))) and do (Actions)
        • Loop - Actions
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • If - Conditions
              • ((Picked unit) belongs to an enemy of (Owner of (Casting unit))) Equal to True
            • Then - Actions
              • Unit - Cause (Casting unit) to damage (Picked unit), dealing 500.00 damage of attack type Spells and damage type Normal
              • Special Effect - Create a special effect attached to the chest of (Picked unit) using Abilities\Spells\Other\Stampede\StampedeMissileDeath.mdl
            • Else - Actions
as you can see, the special effect will start whenever an enemy is close to the caster.
but i want to make like this:

Special effect will only start to non invulnerable units only, so the player will know if the ability hits them or not
by non invulnerable mean like this:
The effect will not start, if the enemy has:
-magic immune
-invulnerable (like skill 2 arthas)

Thanks and how?
 

Deleted member 242951

D

Deleted member 242951

in the unit group extend it to "matching level of invulnerable (neutral) for picked unit equal to zero and unit has Divine Shield buff equal to false"
 
Status
Not open for further replies.
Top