public ArmorItemModel(string name, float weight, float value, float maxCondition, bool hidden, bool essential, string[] flags, string worldModel, Dictionary <DamageType, float> damageResistance, Dictionary <DamageType, float> damageThreshold, ShieldParams shields, EquipSlot slot) : base(name, weight, value, maxCondition, hidden, essential, flags, worldModel) { DamageResistance = new Dictionary <DamageType, float>(damageResistance); DamageThreshold = new Dictionary <DamageType, float>(damageThreshold); Shields = shields; Slot = slot; }
public StatsSet() { ShieldParams = new ShieldParams(); DamageResistance = new Dictionary <DamageType, float>(); DamageResistance.SetupFromEnum(default); //we still do this because there's probably old code that relies on it