Skip to content

CardTarget

namespace Griff.Modules.Cards;
public enum CardTarget

Whom a CardEffect is done to.

  • Opponent = 0: The opponent: the other side’s hero (see Hand.Hero), and their hand for a discard.
  • Self = 1: The player who played it: their own hero, and their own hand.
  • Chosen = 2: A card on the table or a character with a Health that the player picks as they play it (the computer picks its own).
  • AllFoes = 3: Every foe: the other teams’ heroes, characters and cards on the table.
  • AllFriends = 4: Every friend: its own side’s hero, characters and cards on the table.
  • Everyone = 5: Everyone, both sides.