• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

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 14
Joined
Nov 4, 2006
Messages
1,241
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 14
Joined
Nov 4, 2006
Messages
1,241
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