Does anyone know how to make a behavior that will make a unit immune to a certain damage type? For example A behavior that would make a unit immune to Range damage.
Use the Guardian shield ability, and modify its effect to reduce damage for ->whatever type you want<- to 10,000 or something bigger than your biggest attack possible.
Should do the trick.
EDIT: Ack, I can only find the overall reduction, I could have sworn I saw an option for each type. Mess around with the damage response section.
Alright I got it to work. Under damage response there is a part called "kind". This includes Splash, Range, Spell and Melee, and they are all on Enable. You have to Disable all of them except for range, and then scroll down to where is says Modify. Simple put something like -600.
Does anyone know how to make a behavior that will make a unit immune to a certain damage type? For example A behavior that would make a unit immune to Range damage.
I'm not sure but here is what I would do:
Use the Guardian shield ability, and modify its effect to reduce damage for ->whatever type you want<- to 10,000 or something bigger than your biggest attack possible.
Should do the trick.
EDIT: Ack, I can only find the overall reduction, I could have sworn I saw an option for each type. Mess around with the damage response section.
Where in the behavior tabs do I find reduce damage?
Alright I got it to work. Under damage response there is a part called "kind". This includes Splash, Range, Spell and Melee, and they are all on Enable. You have to Disable all of them except for range, and then scroll down to where is says Modify. Simple put something like -600.
Even better, there's a field called "Modify fraction" which you can change to 0 (1 = 100%, 0 = 0%)