示例#1
0
    public void AddAssignCards(int id)
    {
        var card  = deck.AddHandCard(id);
        int value = buffControler.GetDragCardDamage(true);

        MinusHp(value);
        cardsUI.SetCardAndReturnUniqueID(card, UISource.GetUIInfo(card.type));
    }
示例#2
0
 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));
     }
 }