• 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.

elemental immunities

Status
Not open for further replies.
Level 2
Joined
Sep 14, 2009
Messages
8
Hello all, one last question for those of you with more talent and knowledge about the editor than myself. Is it possible (and if so how?) to make an upgrade that will make a unit immune to the slow effects of frost attacks (orb of frost, frost armor, etc)? Thanks in advance.
 
Level 11
Joined
May 31, 2008
Messages
698
I dont think that there is, but you could always trigger it. Make an ability, maybe an aura that only effects you then make a trigger like this:

Every .1 seconds
Set TempGroup = Units in playable map area with buff Poison Immunity
Pick all units in TempGroup and do actions
...Remove Slow Poison buff from picked unit
custom script: call DestroyGroup(udg_TempGroup)
 
Level 11
Joined
May 31, 2008
Messages
698
Avatar = magic immunity. Im not sure if magic immunity protects from frost shield and frost attack, but it might. You should try that out first if you havent already. Just give the unit the ability Magic Immunity and change Techtree - Requirements for the ability to your upgrade.
 
Level 2
Joined
Sep 14, 2009
Messages
8
I had already looked into editing the Avatar and Spell Immunity abilities but could not find any way to edit specific immunities. I will have to look into using a trigger I guess, but wanted to say thanks to those who replied.
 
Level 6
Joined
May 1, 2009
Messages
215
Yeah, without JASS there's probably no clean way to do what you want to do.

You'll probably have to trigger for each specific spell you don't want a unit to be effected by and prevent it from actually being casted on the target, or to undo/purge the effects immediately when they take place.
 
Status
Not open for further replies.
Top