mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-20 20:58:03 +00:00
Added Hokori dust drinker
This commit is contained in:
@@ -3017,7 +3017,7 @@ public class CardFactory_Instants {
|
||||
//*************** START *********** START **************************
|
||||
else if(cardName.equals("Tithe")) {
|
||||
SpellAbility spell = new Spell(card) {
|
||||
private static final long serialVersionUID = 1504792204526793942L;
|
||||
private static final long serialVersionUID = 1504792204536793942L;
|
||||
|
||||
public boolean oppMoreLand() {
|
||||
String oppPlayer = AllZone.GameAction.getOpponent(card.getController());
|
||||
|
||||
@@ -222,6 +222,7 @@ public class Input_Untap extends Input {
|
||||
private boolean isWinterOrbInEffect() {
|
||||
|
||||
CardList all = AllZoneUtil.getCardsInPlay("Winter Orb");
|
||||
CardList all2 = AllZoneUtil.getCardsInPlay("Hokori, Dust Drinker");
|
||||
|
||||
//if multiple Winter Orbs, check that at least 1 of them is untapped
|
||||
for( int i = 0; i < all.size(); i++ ) {
|
||||
@@ -229,6 +230,11 @@ public class Input_Untap extends Input {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
if (all2.size() > 0){
|
||||
return true;
|
||||
}
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user