public CardDB() { CardDesc c = new CardDesc() { Effects = { new EffectBonusStats() { TargetSelector = new TargetSelectorSelf(), Damage = 1 } } }; XmlSerializeHelper.SaveToXml(c, "card.xml"); }