public override void SetWeaponCards() { base.SetWeaponCards(); WeaponCards.Add(new BasalAtkCard()); WeaponCards.Add(new BasalAtkCard()); WeaponCards.Add(new BasalAtkCard()); }
public override void SetWeaponCards() { base.SetWeaponCards(); WeaponCards.Add(new BaseSwordAtkCard()); WeaponCards.Add(new BaseSwordAtkCard()); WeaponCards.Add(new LingSwordAtkCard()); }
public void SetManMadeByJson(string js) { WeaponSave ws = Newtonsoft.Json.JsonConvert.DeserializeObject <WeaponSave>(js); Name = ws.Wname; WeaponType = ws.Wtype; WeaponCards.Clear(); foreach (var item in ws.Cards) { CardSave cardSave = Newtonsoft.Json.JsonConvert.DeserializeObject <CardSave>(item); WeaponCards.Add(cardSave.CreatAndSetCard()); } }