As a French person I feel like it's my duty to explain strikes to you. - AdrienIer

Create an account  

 
Undead, immunities?

I've ran into a settlers and made it undead...and then noticed it has Death Immunity on it, but nothing else.

Wiki says undead gain all relevant immunities (Poison, Illusions, Death, Cold) but both the game and the tweaker shows the unit only has Death Immunity. (I modified my game to show all immunities on units, including those granted by other abilities, like Weapon Immunity from Invulnerability)

Is this normal? Is it a bug? Not sure if I need to fix it.

The code in the game shows that undead units gain the "Summoned unit" status, the "Death" race, and nothing else...and then later in the code all "Death" units gain "Death Immunity".
Nothing is in the code about the other 3 immunities.
Reply

I believe the game has checks on whether the unit is undead to see if it can be affected by something.
In other words, it may effectively have those immunities even if they do not show up.
--I like ILSe
Reply

(September 30th, 2015, 13:33)I like Serena Wrote: I believe the game has checks on whether the unit is undead to see if it can be affected by something.
In other words, it may effectively have those immunities even if they do not show up.
yea plenty of stuff that checks for Death immunity also checks for Undead...but I don't think I have seen that at Illusions Immunity checks for example. Or maybe I did just don't remember?
Anyway, that means making it actually add those immunities would not change gameplay but would help in displaying the correct information, right?

Edit : the first few Illusions Immunity checks I found do not check for the unit being Undead although all of these belonged to the AI.
For example the AI avoids targeting Illusion immune units with anything from Sorcery...but this check isn't done for the Undead.
I think the safest approach is to make the game add the immunities otherwise the AI might be able to target undead with spells the player cannot.
Reply

Normally immunities are not listed on the Undead, only Undead effect is. Immunnities are rather listed on summonable Fantastic Creatures of kitty realm.
The "patience" is called "patience" because it needs about twenty minutes of patience.

Road Construction Unlimited
Reply



Forum Jump: