(final Player p)
| 1165 | |
| 1166 | // Does the player control any cards that care about the order of cards in the graveyard? |
| 1167 | public boolean isGraveyardOrdered(final Player p) { |
| 1168 | for (Card c : p.getAllCards()) { |
| 1169 | if (c.hasSVar("NeedsOrderedGraveyard")) { |
| 1170 | return true; |
| 1171 | } else if (c.getOriginalState(CardStateName.Original).hasSVar("NeedsOrderedGraveyard")) { |
| 1172 | return true; |
| 1173 | } |
| 1174 | } |
| 1175 | for (Card c : p.getOpponents().getCardsIn(ZoneType.Battlefield)) { |
| 1176 | // Bone Dancer is important when an opponent has it active on the battlefield |
| 1177 | if ("opponent".equalsIgnoreCase(c.getSVar("NeedsOrderedGraveyard"))) { |
| 1178 | return true; |
| 1179 | } |
| 1180 | } |
| 1181 | return false; |
| 1182 | } |
| 1183 | |
| 1184 | public Player getControlVote() { |
| 1185 | Player result = null; |
no test coverage detected