mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-20 04:38:00 +00:00
- Added the option "OnlySorcerySpeed" to CantBeCast.
- Added Teferi, Mage of Zhalfir.
This commit is contained in:
1
.gitattributes
vendored
1
.gitattributes
vendored
@@ -8116,6 +8116,7 @@ res/cardsfolder/t/tectonic_instability.txt svneol=native#text/plain
|
||||
res/cardsfolder/t/tectonic_rift.txt -text
|
||||
res/cardsfolder/t/teekas_dragon.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_drake.txt -text
|
||||
res/cardsfolder/t/teferis_honor_guard.txt -text
|
||||
|
||||
13
res/cardsfolder/t/teferi_mage_of_zhalfir.txt
Normal file
13
res/cardsfolder/t/teferi_mage_of_zhalfir.txt
Normal 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
|
||||
@@ -3,6 +3,7 @@ package forge.card.staticAbility;
|
||||
import java.util.HashMap;
|
||||
|
||||
import forge.Card;
|
||||
import forge.Phase;
|
||||
import forge.Player;
|
||||
|
||||
public class StaticAbility_CantBeCast {
|
||||
@@ -25,6 +26,10 @@ public class StaticAbility_CantBeCast {
|
||||
return false;
|
||||
}
|
||||
|
||||
if(params.containsKey("OnlySorcerySpeed") && activator != null && Phase.canCastSorcery(activator)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user