- Added the option "OnlySorcerySpeed" to CantBeCast.

- Added Teferi, Mage of Zhalfir.
This commit is contained in:
Sloth
2011-10-18 18:15:53 +00:00
parent 75f0541fbd
commit 2b70c642b2
3 changed files with 19 additions and 0 deletions

1
.gitattributes vendored
View File

@@ -8116,6 +8116,7 @@ res/cardsfolder/t/tectonic_instability.txt svneol=native#text/plain
res/cardsfolder/t/tectonic_rift.txt -text res/cardsfolder/t/tectonic_rift.txt -text
res/cardsfolder/t/teekas_dragon.txt svneol=native#text/plain res/cardsfolder/t/teekas_dragon.txt svneol=native#text/plain
res/cardsfolder/t/teetering_peaks.txt svneol=native#text/plain res/cardsfolder/t/teetering_peaks.txt svneol=native#text/plain
res/cardsfolder/t/teferi_mage_of_zhalfir.txt -text
res/cardsfolder/t/teferis_care.txt -text res/cardsfolder/t/teferis_care.txt -text
res/cardsfolder/t/teferis_drake.txt -text res/cardsfolder/t/teferis_drake.txt -text
res/cardsfolder/t/teferis_honor_guard.txt -text res/cardsfolder/t/teferis_honor_guard.txt -text

View File

@@ -0,0 +1,13 @@
Name:Teferi, Mage of Zhalfir
ManaCost:2 U U U
Types:Legendary Creature Human Wizard
Text:no text
PT:3/4
K:Flash
S:Mode$ Continuous | Affected$ Creature.YouOwn | AffectedZone$ Hand,Graveyard,Exile,Library | AddKeyword$ Flash | Description$ Creature cards you own that aren't on the battlefield have flash.
S:Mode$ CantBeCast | ValidCard$ Card | OnlySorcerySpeed$ True | Caster$ Opponent | Description$ Each opponent can cast spells only any time he or she could cast a sorcery.
SVar:Rarity:Rare
SVar:Picture:http://www.wizards.com/global/images/magic/general/teferi_mage_of_zhalfir.jpg
SetInfo:TSP|Rare|http://magiccards.info/scans/en/ts/83.jpg
Oracle:Flash (You may cast this spell any time you could cast an instant.)\nCreature cards you own that aren't on the battlefield have flash.\nEach opponent can cast spells only any time he or she could cast a sorcery.
End

View File

@@ -3,6 +3,7 @@ package forge.card.staticAbility;
import java.util.HashMap; import java.util.HashMap;
import forge.Card; import forge.Card;
import forge.Phase;
import forge.Player; import forge.Player;
public class StaticAbility_CantBeCast { public class StaticAbility_CantBeCast {
@@ -25,6 +26,10 @@ public class StaticAbility_CantBeCast {
return false; return false;
} }
if(params.containsKey("OnlySorcerySpeed") && activator != null && Phase.canCastSorcery(activator)) {
return false;
}
return true; return true;
} }