Ludeon Forums

RimWorld => Mods => Help => Topic started by: dniwe_kore on February 24, 2017, 09:26:39 AM

Title: How to deal with that(armor category in DamageDef)
Post by: dniwe_kore on February 24, 2017, 09:26:39 AM
i just wanted to add some stunning damage types to the game.
everything looks good, but i can't add additional armor type("armor - blinding" to mitigate blinder-type stuns).

DamageDef has public DamageArmorCategory armorCategory;, that means damage can be mitigated by armor types, included in DamageArmorCategory from vanilla .dll; because of that damage type never see my cute new armor types

so what to do with this? create another "new" DamageDef_new in my own .dll and use it in xml's? Will it cause bigger problems with tooltips/interface?

changing vanilla .dll is very bad idea, i guess.

[attachment deleted by admin due to age]