mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-15 18:28:00 +00:00
Fix Arvinox sometimes failing (#7023)
This commit is contained in:
@@ -651,12 +651,14 @@ public class CardProperty {
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
} else if (property.startsWith("TopLibrary") || property.startsWith("BottomLibrary")) {
|
} else if (property.startsWith("TopLibrary") || property.startsWith("BottomLibrary")) {
|
||||||
CardCollection cards = (CardCollection) card.getOwner().getCardsIn(ZoneType.Library);
|
CardCollectionView cards = card.getOwner().getCardsIn(ZoneType.Library);
|
||||||
if (!property.equals("TopLibrary")) {
|
if (!property.equals("TopLibrary")) {
|
||||||
if (property.equals("TopLibraryLand")) cards = CardLists.filter(cards, CardPredicates.LANDS);
|
if (property.contains("_")) cards = CardLists.getValidCards(cards, property.split("_")[1],
|
||||||
else if (property.contains("_")) cards = CardLists.getValidCards(cards, property.split("_")[1],
|
|
||||||
sourceController, source, spellAbility);
|
sourceController, source, spellAbility);
|
||||||
if (property.startsWith("Bottom")) Collections.reverse(cards);
|
if (property.startsWith("Bottom")) {
|
||||||
|
cards = new CardCollection(cards);
|
||||||
|
Collections.reverse((CardCollection) cards);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
if (cards.isEmpty() || !card.equals(cards.get(0))) return false;
|
if (cards.isEmpty() || !card.equals(cards.get(0))) return false;
|
||||||
} else if (property.startsWith("Cloned")) {
|
} else if (property.startsWith("Cloned")) {
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ Types:Enchantment
|
|||||||
R:Event$ Moved | ValidCard$ Land.YouCtrl | Destination$ Battlefield | ReplaceWith$ ETBUntapped | ReplacementResult$ Updated | ActiveZones$ Battlefield | Description$ Lands you control enter the battlefield untapped.
|
R:Event$ Moved | ValidCard$ Land.YouCtrl | Destination$ Battlefield | ReplaceWith$ ETBUntapped | ReplacementResult$ Updated | ActiveZones$ Battlefield | Description$ Lands you control enter the battlefield untapped.
|
||||||
SVar:ETBUntapped:DB$ Untap | ETB$ True | Defined$ ReplacedCard
|
SVar:ETBUntapped:DB$ Untap | ETB$ True | Defined$ ReplacedCard
|
||||||
T:Mode$ Phase | Phase$ End of Turn | ValidPlayer$ You | TriggerZones$ Battlefield | Execute$ TrigAnimate | TriggerDescription$ At the beginning of your end step, the topmost land card in your library perpetually gains "Whenever this land is tapped for mana, add an additional {G}."
|
T:Mode$ Phase | Phase$ End of Turn | ValidPlayer$ You | TriggerZones$ Battlefield | Execute$ TrigAnimate | TriggerDescription$ At the beginning of your end step, the topmost land card in your library perpetually gains "Whenever this land is tapped for mana, add an additional {G}."
|
||||||
SVar:TrigAnimate:DB$ Animate | Defined$ ValidLibrary Land.TopLibraryLand+YouCtrl | Triggers$ ManaTap | Duration$ Perpetual
|
SVar:TrigAnimate:DB$ Animate | Defined$ ValidLibrary Land.TopLibrary_Land+YouCtrl | Triggers$ ManaTap | Duration$ Perpetual
|
||||||
SVar:ManaTap:Mode$ TapsForMana | ValidCard$ Card.Self | Execute$ TrigMana | Static$ True | TriggerDescription$ Whenever this land is tapped for mana, add an additional {G}.
|
SVar:ManaTap:Mode$ TapsForMana | ValidCard$ Card.Self | Execute$ TrigMana | Static$ True | TriggerDescription$ Whenever this land is tapped for mana, add an additional {G}.
|
||||||
SVar:TrigMana:DB$ Mana | Produced$ G | Amount$ 1 | Defined$ TriggeredCardController
|
SVar:TrigMana:DB$ Mana | Produced$ G | Amount$ 1 | Defined$ TriggeredCardController
|
||||||
Oracle:Lands you control enter the battlefield untapped.\nAt the beginning of your end step, the topmost land card in your library perpetually gains "Whenever this land is tapped for mana, add an additional {G}."
|
Oracle:Lands you control enter the battlefield untapped.\nAt the beginning of your end step, the topmost land card in your library perpetually gains "Whenever this land is tapped for mana, add an additional {G}."
|
||||||
|
|||||||
Reference in New Issue
Block a user