private void SelectAttacker() { CreatureCardVisual currentTarget = CardClicked() as CreatureCardVisual; //CardCreatureData creatureData = currentTarget.cardData as CardCreatureData; //Debug.Log("Selecting Attacker"); if (!ConfirmCardClicked(currentTarget, DeckType.Battlefield, true)) { return; } if (!Finder.CardHasPrimaryType(currentTarget, CardType.Soul) && !Finder.CardHasPrimaryType(currentTarget, CardType.Player)) { //Debug.LogError("That cannot attack"); return; } if (!currentTarget.CanAttack()) { //Debug.LogError("That cannot attack"); return; } attacker = currentTarget; isInCombat = true; selectingDefender = true; attacker.battlefieldPos.position += selectedPos; currentInterceptors = SortInterceptors(); combatState = CombatState.ChoosingDefender; }