()
| 151 | |
| 152 | //at least for now, Oathbreaker will only support one oathbreaker and one signature spell |
| 153 | public PaperCard getOathbreaker() { |
| 154 | final CardPool cp = get(DeckSection.Commander); |
| 155 | if (cp == null) { |
| 156 | return null; |
| 157 | } |
| 158 | for (final Entry<PaperCard, Integer> c : cp) { |
| 159 | PaperCard card = c.getKey(); |
| 160 | if (card.getRules().canBeOathbreaker()) { |
| 161 | return card; |
| 162 | } |
| 163 | } |
| 164 | return null; |
| 165 | } |
| 166 | public PaperCard getSignatureSpell() { |
| 167 | final CardPool cp = get(DeckSection.Commander); |
| 168 | if (cp == null) { |
no test coverage detected