• 🏆 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!

Make specific aura unable to affect magic-immune units?

Status
Not open for further replies.
Level 2
Joined
Dec 23, 2007
Messages
23
or u could use the metamorph (or similar) ability... metamorphing into something that looks exactly like himself/herself with exactly the same stats (or not... depending on what effect you want)... cutting n pastin might help... den give the metamorphed unit default magic immune ability and add a classification to it (say ancient or something)... den make ur aura not affect that type of classification (eg only non-ancient)...

this way u dun have to use any triggers...

hope this was helpful... i found the metamorph-like abilities all particularly useful as they could give me almost any ability i wanted that was already ingame (modified or otherwise) without using any triggers... ^^
 
Level 13
Joined
Nov 4, 2006
Messages
1,239
why can't you use my way? you just need two triggers then:

  • Events
    • Unit - a Unit starts the Effect of an ability
  • Conditions
    • ability being cast equal to magic immunity
  • Actions
    • add classification mechanical to triggering unit
  • Events
    • Unit - a Unit stops the effect of an ability
  • Conditions
    • ability equal to magic immunity
  • Actions
    • remove classification mechanical from triggering unit
if that doesn't work use a periodic event and check if the unit has the magic immunity buff
 
Level 13
Joined
Nov 4, 2006
Messages
1,239
you could make a dummy aura which eradicates the effect of the aura, then make a trigger like

  • Events
    • every 0.10 seconds of the game
  • Conditions
  • Actions
    • Unitgroup - pick every Units in all units in playable map area
    • if all conditions are true
      • picked unit has buff magic immunity
      • picked unit has buff <your aura>
    • then Actions
      • give ability <eradication aura> to picked unit
    • else Actions
      • remove ability <eradication aura> from picked unit
 
Status
Not open for further replies.
Top