Example #1
0
 public TowerDamageDelta(XmlElement from, CardLoader loader)
     : base(from, Tower.IdIssuer, loader)
 {
     Amount  = Int32.Parse(from.Attributes["amount"].Value);
     DmgType = Damage.StringToDamageType(from.Attributes["dmgType"].Value);
 }
Example #2
0
 public UnitDamageAmountDelta(XmlElement from, CardLoader cl)
     : base(from, cl)
 {
     Amount  = Int32.Parse(from.Attributes["amount"].Value);
     DmgType = Damage.StringToDamageType(from.Attributes["dmgType"].Value);
 }