Triggered abilityes not to damage spell immunity units?

Love-Nature

New Member
Reaction score
7
How do i make any triggered ability to not to damage spell immunity units?
Wich condition will i need to use?

Keychup solved it.

Thank you all :D
 

Grags_1977

Ultra Cool Member
Reaction score
32
magic Immune and spell immune work different (i think)

I think you can add Magic Immune as a classification
 

Love-Nature

New Member
Reaction score
7
magic Immune and spell immune work different (i think)

I think you can add Magic Immune as a classification

Yeah, you are probably right because damage type i used in triggers is Magic !
But as far as i know there is no Magic Immune ability or classification to add to the units.
Maybe throught triggers?
 

Grags_1977

Ultra Cool Member
Reaction score
32
Try this

Unit - Add classification of Magic Immune to (Triggering unit)

I haven't tested this, so fingers crossed!
 

keychup

Active Member
Reaction score
34
if you attempt to deal magic damage to a unit with spell immunity it wont damage them anyhow.
 

Dirac

22710180
Reaction score
147
There's a difference between having magic damage dealt to a unit and the unit being immune to magic.
You see damage dealt is reduced by armor types, so the unit will always take magic damage from any source that intends to.
But wait that makes no sense, how is that units with magic immunity receive no damage from spells? Spells check if the unit is magic immune before it deals damage to them.
If you don't want the unit to receive magic damage from triggers i suggest you to check if the unit is magic immune.
If you wish to have more options around this i invite you to use my Damage library
 

merlinds

Member
Reaction score
15
A very rough way to do it, but is an idea.
Every time a unit becomes magic inmune (any way this can happen in your map) you save the unit in a unit grou.
Then every time a trigger is about to deal damage you put the damage action inside a If/then/else that checks if the unit is in the magic inmune units group.
For removing the units from the group, i have no idea, it deppends on your map.
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Members online

      No members online now.

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top