public void DuringCheckForResourceMatch(ICheckForResourceMatch state) { if (state.CostlyCard == null) { state.IsResourceMatch = false; return; } if (state.CostlyCard.PrintedTraits.Contains(Trait.Creature)) { state.IsResourceMatch = true; return; } }