public void SetAdditionalDamageWhenHitFields(bool additionalDamageWhenHit, DamageDefinition additionalDamageType, ConditionDefinition.DamageQuantity additionalDamageQuantity, RuleDefinitions.DieType additionalDamageDieType, int additionalDamageDieNumber) { Traverse.Create(condition).Field("additionalDamageWhenHit").SetValue(additionalDamageWhenHit); Traverse.Create(condition).Field("additionalDamageType").SetValue(additionalDamageType.Name); Traverse.Create(condition).Field("additionalDamageQuantity").SetValue(additionalDamageQuantity); Traverse.Create(condition).Field("additionalDamageDieType").SetValue(additionalDamageDieType); Traverse.Create(condition).Field("additionalDamageDieNumber").SetValue(additionalDamageDieNumber); }