IEnumerator DiscardBottom(DiscardAction discardAction) { discardAction.IsActionCanceled = true; yield return(new MoveCardAction(discardAction.ThisCard, discardAction.ThisCard.VisualOwner.InvestigatorDeck, isBack: true, withPreview: true).RunNow()); yield return(discardAction.ThisCard.VisualOwner.InvestigatorDeck.MoveToPosition(discardAction.ThisCard, 0)); }
bool PutTopEvent(DiscardAction discardAction) { if (!ThisCard.IsInPlay) { return(false); } if (discardAction.ThisCard != cardToCheck?.Card) { return(false); } if (discardAction.ZoneToDiscard != ThisCard.VisualOwner.InvestigatorDiscard) { return(false); } if (discardAction.ThisCard.Owner != ThisCard.VisualOwner) { return(false); } if (discardAction.ThisCard.CardType != CardType.Event) { return(false); } return(true); }