/*****************************************************************************************/ protected override IEnumerator ActionLogic() { if (investigator.IsDefeat) { yield break; } CheckDiscardAssetsAction chooseDiscardAsset = new CheckDiscardAssetsAction(investigator, cardEffect.Card, isConsult: true); yield return(chooseDiscardAsset.RunNow()); CanCancel = CheckConditionsToDiscard && chooseDiscardAsset.NoFreeSlot; }
bool CheckSlotsAddTomeAssets(CheckDiscardAssetsAction choosediscard) { if (!ThisCard.IsInPlay) { return(false); } if (choosediscard.Investigator != ThisCard.Owner) { return(false); } if (choosediscard.SlotType != "Hand") { return(false); } return(true); }