i wanted add new armor type to minimize stun duration, instead of blunt armor type. But because of DamageDef
i can't. I'm bad at coding, but i guess vanilla DamageDef takes armor types from vanilla DamageArmorCategory. And if i'm going to add new armor types, i guess i should add them into vanilla DamageArmorCategory, changing CSharp library.
Also i guess interface takes values from DamageDef, so adding my own DamageDef will cause more stucks for me.
Of course i can change default types of armor(blunt+sharp to pysical, free blunt to blinding defence for stuns), but having opportunity to add new will be useful and good.
I'm sorry, if i'm wrong and if atm i aleady can add armor types.
[attachment deleted by admin due to age]
Code Select
public DamageArmorCategory armorCategory;
i can't. I'm bad at coding, but i guess vanilla DamageDef takes armor types from vanilla DamageArmorCategory. And if i'm going to add new armor types, i guess i should add them into vanilla DamageArmorCategory, changing CSharp library.
Also i guess interface takes values from DamageDef, so adding my own DamageDef will cause more stucks for me.
Of course i can change default types of armor(blunt+sharp to pysical, free blunt to blinding defence for stuns), but having opportunity to add new will be useful and good.
I'm sorry, if i'm wrong and if atm i aleady can add armor types.
[attachment deleted by admin due to age]