mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-14 09:48:02 +00:00
Fix ixalans_binding using Static+ExiledWith
This commit is contained in:
@@ -966,7 +966,7 @@ public class CardProperty {
|
||||
final String restriction = property.split("sharesControllerWith ")[1];
|
||||
if (restriction.startsWith("Remembered") || restriction.startsWith("Imprinted")) {
|
||||
CardCollection list = AbilityUtils.getDefinedCards(source, restriction, spellAbility);
|
||||
return !CardLists.filter(list, CardPredicates.sharesControllerWith(card)).isEmpty();
|
||||
return Iterables.any(list, CardPredicates.sharesControllerWith(card));
|
||||
}
|
||||
}
|
||||
} else if (property.startsWith("sharesOwnerWith")) {
|
||||
|
||||
@@ -3,8 +3,7 @@ ManaCost:3 W
|
||||
Types:Enchantment
|
||||
T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TrigExile | TriggerDescription$ When CARDNAME enters the battlefield, exile target nonland permanent an opponent controls until CARDNAME leaves the battlefield.
|
||||
SVar:TrigExile:DB$ ChangeZone | Origin$ Battlefield | Destination$ Exile | ValidTgts$ Permanent.nonLand+OppCtrl | TgtPrompt$ Select target nonland permanent an opponent controls | UntilHostLeavesPlay$ True
|
||||
# TODO make ExiledWith work there
|
||||
SVar:NoCast:Mode$ CantBeCast | EffectZone$ Command | ValidCard$ Card.sharesNameWith ExiledWith | Caster$ Opponent | Description$ Your opponents can't cast spells with the same name as the exiled card.
|
||||
S:Mode$ CantBeCast | ValidCard$ Card.sharesNameWith ExiledWith | Caster$ Opponent | Description$ Your opponents can't cast spells with the same name as the exiled card.
|
||||
SVar:PlayMain1:TRUE
|
||||
SVar:OblivionRing:TRUE
|
||||
Oracle:When Ixalan's Binding enters the battlefield, exile target nonland permanent an opponent controls until Ixalan's Binding leaves the battlefield.\nYour opponents can't cast spells with the same name as the exiled card.
|
||||
|
||||
Reference in New Issue
Block a user