mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-19 20:28:00 +00:00
- Added the player keyword "You may cast nonland cards as though they had flash.".
- Converted some cards to use it
This commit is contained in:
@@ -4,7 +4,7 @@ Types:Land
|
|||||||
Text:no text
|
Text:no text
|
||||||
A:AB$ Mana | Cost$ T | Produced$ 1 | SpellDescription$ Add 1 to your mana pool.
|
A:AB$ Mana | Cost$ T | Produced$ 1 | SpellDescription$ Add 1 to your mana pool.
|
||||||
A:AB$ Effect | Cost$ U G T | Name$ Refuge Effect | StaticAbilities$ QuickSpell | SpellDescription$ Until end of turn, you may cast nonland cards as though they had flash.
|
A:AB$ Effect | Cost$ U G T | Name$ Refuge Effect | StaticAbilities$ QuickSpell | SpellDescription$ Until end of turn, you may cast nonland cards as though they had flash.
|
||||||
SVar:QuickSpell:Mode$ Continuous | Affected$ Card.nonLand+YouCtrl | AddHiddenKeyword$ HIDDEN Flash | AffectedZone$ Exile,Graveyard,Hand,Library
|
SVar:QuickSpell:Mode$ Continuous | Affected$ You | AddKeyword$ You may cast nonland cards as though they had flash. | Description$ You may cast nonland cards as though they had flash.
|
||||||
SVar:PlayMain1:TRUE
|
SVar:PlayMain1:TRUE
|
||||||
SVar:RemRandomDeck:True
|
SVar:RemRandomDeck:True
|
||||||
SVar:RemAIDeck:True
|
SVar:RemAIDeck:True
|
||||||
|
|||||||
@@ -2,7 +2,7 @@ Name:Leyline of Anticipation
|
|||||||
ManaCost:2 U U
|
ManaCost:2 U U
|
||||||
Types:Enchantment
|
Types:Enchantment
|
||||||
Text:If CARDNAME is in your opening hand, you may begin the game with it on the battlefield.
|
Text:If CARDNAME is in your opening hand, you may begin the game with it on the battlefield.
|
||||||
S:Mode$ Continuous | Affected$ Card.nonLand+YouCtrl | AddHiddenKeyword$ HIDDEN Flash | AffectedZone$ Exile,Graveyard,Hand,Library | Description$ You may cast nonland cards as though they had flash. (You may cast them any time you could cast an instant.)
|
S:Mode$ Continuous | Affected$ You | AddKeyword$ You may cast nonland cards as though they had flash. | Description$ You may cast nonland cards as though they had flash.
|
||||||
SVar:RemRandomDeck:True
|
SVar:RemRandomDeck:True
|
||||||
SVar:Rarity:Rare
|
SVar:Rarity:Rare
|
||||||
SVar:Picture:http://www.wizards.com/global/images/magic/general/leyline_of_anticipation.jpg
|
SVar:Picture:http://www.wizards.com/global/images/magic/general/leyline_of_anticipation.jpg
|
||||||
|
|||||||
@@ -2,7 +2,7 @@ Name:Vedalken Orrery
|
|||||||
ManaCost:4
|
ManaCost:4
|
||||||
Types:Artifact
|
Types:Artifact
|
||||||
Text:no text
|
Text:no text
|
||||||
S:Mode$ Continuous | Affected$ Card.nonLand+YouCtrl | AffectedZone$ Exile,Graveyard,Hand,Library | AddHiddenKeyword$ HIDDEN Flash | Description$ You may cast nonland cards as though they had flash
|
S:Mode$ Continuous | Affected$ You | AddKeyword$ You may cast nonland cards as though they had flash. | Description$ You may cast nonland cards as though they had flash.
|
||||||
SVar:Rarity:Rare
|
SVar:Rarity:Rare
|
||||||
SVar:Picture:http://www.wizards.com/global/images/magic/general/vedalken_orrery.jpg
|
SVar:Picture:http://www.wizards.com/global/images/magic/general/vedalken_orrery.jpg
|
||||||
SetInfo:5DN|Rare|http://magiccards.info/scans/en/5dn/163.jpg
|
SetInfo:5DN|Rare|http://magiccards.info/scans/en/5dn/163.jpg
|
||||||
|
|||||||
@@ -93,10 +93,14 @@ public abstract class Spell extends SpellAbility implements java.io.Serializable
|
|||||||
|
|
||||||
final Card card = this.getSourceCard();
|
final Card card = this.getSourceCard();
|
||||||
|
|
||||||
final Player activator = this.getActivatingPlayer();
|
Player activator = this.getActivatingPlayer();
|
||||||
|
if (activator == null) {
|
||||||
|
activator = this.getSourceCard().getController();
|
||||||
|
}
|
||||||
|
|
||||||
if (!(card.isInstant() || card.hasKeyword("Flash") || PhaseHandler.canCastSorcery(activator)
|
if (!(card.isInstant() || PhaseHandler.canCastSorcery(activator) || card.hasKeyword("Flash")
|
||||||
|| this.getRestrictions().isInstantSpeed())) {
|
|| this.getRestrictions().isInstantSpeed()
|
||||||
|
|| activator.hasKeyword("You may cast nonland cards as though they had flash."))) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user