public void AddAssignCards(int id) { var card = deck.AddHandCard(id); int value = buffControler.GetDragCardDamage(true); MinusHp(value); cardsUI.SetCardAndReturnUniqueID(card, UISource.GetUIInfo(card.type)); }
public void AddCards(params int[] ids) { foreach (var id in ids) { var card = deck.AddHandCard(id); int value = buffControler.GetDragCardDamage(true); MinusHp(value); cardsUI.SetCardAndReturnUniqueID(card, UISource.GetUIInfo(card.type)); } }