mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-20 12:48:00 +00:00
- Fixed the keyword "May be played by your opponent".
This commit is contained in:
@@ -6,7 +6,7 @@ PT:3/3
|
||||
K:Flying
|
||||
T:Mode$ DamageDone | ValidSource$ Card.Self | ValidTarget$ Player | CombatDamage$ True | Execute$ TrigChangeZone | TriggerZones$ Battlefield | TriggerDescription$ Whenever CARDNAME deals combat damage to a player, that player exiles a card from his or her hand. You may play that card for as long as it remains exiled.
|
||||
SVar:TrigChangeZone:AB$ ChangeZone | Cost$ 0 | Origin$ Hand | Destination$ Exile | DefinedPlayer$ TriggeredTarget | Chooser$ Opponent | ChangeType$ Card | ChangeNum$ 1 | RememberChanged$ True | SubAbility$ DBPump
|
||||
SVar:DBPump:DB$ Pump | Defined$ Remembered | KW$ May be played by your Opponent | PumpZone$ Exile | Permanent$ True | SubAbility$ DBCleanup
|
||||
SVar:DBPump:DB$ Pump | Defined$ Remembered | KW$ May be played by your opponent | PumpZone$ Exile | Permanent$ True | SubAbility$ DBCleanup
|
||||
SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True
|
||||
A:AB$ Regenerate | Cost$ Sac<1/Human> | SpellDescription$ Regenerate CARDNAME.
|
||||
SVar:RemAIDeck:True
|
||||
|
||||
@@ -5,7 +5,7 @@ Text:no text
|
||||
PT:1/4
|
||||
K:Flying
|
||||
A:AB$ Mill | Cost$ 1 U Q | ValidTgts$ Opponent | TgtPrompt$ Select target opponent | NumCards$ 1 | Destination$ Exile | RememberMilled$ True | SubAbility$ DBPump | SpellDescription$ Target opponent exiles the top card of his or her library. Until end of turn, you may play that card.
|
||||
SVar:DBPump:DB$ Pump | Defined$ Remembered | KW$ May be played by your Opponent | PumpZone$ Exile | SubAbility$ DBCleanup
|
||||
SVar:DBPump:DB$ Pump | Defined$ Remembered | KW$ May be played by your opponent | PumpZone$ Exile | SubAbility$ DBCleanup
|
||||
SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True
|
||||
SVar:RemAIDeck:True
|
||||
SVar:Rarity:Rare
|
||||
|
||||
@@ -3,7 +3,7 @@ ManaCost:5
|
||||
Types:Artifact
|
||||
Text:no text
|
||||
A:AB$ Mill | Cost$ 2 T | ValidTgts$ Opponent | TgtPrompt$ Select target opponent | NumCards$ 1 | Destination$ Exile | RememberMilled$ True | SubAbility$ DBPump | SpellDescription$ Target opponent exiles the top card of his or her library. You may play that card this turn.
|
||||
SVar:DBPump:DB$ Pump | Defined$ Remembered | KW$ May be played by your Opponent | PumpZone$ Exile | SubAbility$ DBCleanup
|
||||
SVar:DBPump:DB$ Pump | Defined$ Remembered | KW$ May be played by your opponent | PumpZone$ Exile | SubAbility$ DBCleanup
|
||||
SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True
|
||||
SVar:RemAIDeck:True
|
||||
SVar:Rarity:Rare
|
||||
|
||||
@@ -6,7 +6,7 @@ PT:2/2
|
||||
K:Islandwalk
|
||||
T:Mode$ DamageDone | ValidSource$ Card.Self | ValidTarget$ Player | CombatDamage$ True | Execute$ TrigChangeZone | TriggerZones$ Battlefield | TriggerDescription$ Whenever CARDNAME deals combat damage to a player, search that player's library for an artifact card and exile it. Then that player shuffles his or her library. Until end of turn, you may play that card.
|
||||
SVar:TrigChangeZone:AB$ ChangeZone | Cost$ 0 | Origin$ Library | Destination$ Exile | DefinedPlayer$ TriggeredTarget | Chooser$ You | ChangeType$ Artifact | ChangeNum$ 1 | RememberChanged$ True | SubAbility$ DBPump
|
||||
SVar:DBPump:DB$ Pump | Defined$ Remembered | KW$ May be played by your Opponent | PumpZone$ Exile | SubAbility$ DBCleanup
|
||||
SVar:DBPump:DB$ Pump | Defined$ Remembered | KW$ May be played by your opponent | PumpZone$ Exile | SubAbility$ DBCleanup
|
||||
SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True
|
||||
SVar:RemAIDeck:True
|
||||
SVar:Rarity:Rare
|
||||
|
||||
@@ -2460,6 +2460,7 @@ public class CardFactoryUtil {
|
||||
}
|
||||
|
||||
if (c.isLand() && (c.hasKeyword("May be played")
|
||||
|| c.hasKeyword("May be played by your opponent")
|
||||
|| c.hasKeyword("May be played without paying its mana cost"))) {
|
||||
return true;
|
||||
}
|
||||
@@ -2472,6 +2473,7 @@ public class CardFactoryUtil {
|
||||
|
||||
if (sa.isSpell()
|
||||
&& (c.hasKeyword("May be played")
|
||||
|| c.hasKeyword("May be played by your Opponent")
|
||||
|| c.hasKeyword("May be played without paying its mana cost")
|
||||
|| (c.hasStartOfKeyword("Flashback") && zone
|
||||
.is(Zone.Graveyard))) && restrictZone.equals(Zone.Hand)) {
|
||||
|
||||
Reference in New Issue
Block a user