How to deal with that(armor category in DamageDef)

Started by dniwe_kore, February 24, 2017, 09:26:39 AM

Previous topic - Next topic

dniwe_kore

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]
i know, my english not so ugly as mine