mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-16 02:38:02 +00:00
- Added Omen Machine.
This commit is contained in:
1
.gitattributes
vendored
1
.gitattributes
vendored
@@ -6138,6 +6138,7 @@ res/cardsfolder/o/old_man_of_the_sea.txt svneol=native#text/plain
|
|||||||
res/cardsfolder/o/olivia_voldaren.txt -text
|
res/cardsfolder/o/olivia_voldaren.txt -text
|
||||||
res/cardsfolder/o/omega_myr.txt svneol=native#text/plain
|
res/cardsfolder/o/omega_myr.txt svneol=native#text/plain
|
||||||
res/cardsfolder/o/omen.txt svneol=native#text/plain
|
res/cardsfolder/o/omen.txt svneol=native#text/plain
|
||||||
|
res/cardsfolder/o/omen_machine.txt -text svneol=unset#text/plain
|
||||||
res/cardsfolder/o/omen_of_fire.txt svneol=native#text/plain
|
res/cardsfolder/o/omen_of_fire.txt svneol=native#text/plain
|
||||||
res/cardsfolder/o/omnath_locus_of_mana.txt svneol=native#text/plain
|
res/cardsfolder/o/omnath_locus_of_mana.txt svneol=native#text/plain
|
||||||
res/cardsfolder/o/omnibian.txt svneol=native#text/plain
|
res/cardsfolder/o/omnibian.txt svneol=native#text/plain
|
||||||
|
|||||||
18
res/cardsfolder/o/omen_machine.txt
Normal file
18
res/cardsfolder/o/omen_machine.txt
Normal file
@@ -0,0 +1,18 @@
|
|||||||
|
Name:Omen Machine
|
||||||
|
ManaCost:6
|
||||||
|
Types:Artifact
|
||||||
|
Text:no text
|
||||||
|
K:Players can't draw cards.
|
||||||
|
T:Mode$ Phase | Phase$ Draw | ValidPlayer$ You | Execute$ TrigOmenExileCardYou | TriggerZones$ Battlefield | TriggerDescription$ At the beginning of each player's draw step, that player exiles the top card of his or her library. If it's a land card, the player puts it onto the battlefield. Otherwise, the player casts it without paying its mana cost if able.
|
||||||
|
SVar:TrigOmenExileCardYou:AB$ Mill | Cost$ 0 | NumCards$ 1 | Defined$ You | Destination$ Exile | RememberMilled$ True | SubAbility$ DBOmenPlayYou
|
||||||
|
SVar:DBOmenPlayYou:DB$ Play | ValidZone$ Exile | Controller$ TriggeredPlayer | Valid$ Remembered | WithoutManaCost$ True | SubAbility$ DBOmenCleanupYou
|
||||||
|
SVar:DBOmenCleanupYou:DB$ Cleanup | ClearRemembered$ True
|
||||||
|
T:Mode$ Phase | Phase$ Draw | ValidPlayer$ Opponent | Execute$ TrigOmenExileCardOpp | TriggerZones$ Battlefield | Secondary$ True | TriggerDescription$ At the beginning of each player's draw step, that player exiles the top card of his or her library. If it's a land card, the player puts it onto the battlefield. Otherwise, the player casts it without paying its mana cost if able.
|
||||||
|
SVar:TrigOmenExileCardOpp:AB$ Mill | Cost$ 0 | NumCards$ 1 | Destination$ Exile | Defined$ Opponent | RememberMilled$ True | SubAbility$ DBOmenPlayOpp
|
||||||
|
SVar:DBOmenPlayOpp:DB$ Play | ValidZone$ Exile | Controller$ TriggeredPlayer | Valid$ Remembered | WithoutManaCost$ True | SubAbility$ DBOmenCleanupOpp
|
||||||
|
SVar:DBOmenCleanupOpp:DB$ Cleanup | ClearRemembered$ True
|
||||||
|
SVar:RemAIDeck:True
|
||||||
|
SVar:RemRandomDeck:True
|
||||||
|
SVar:Rarity:Rare
|
||||||
|
SVar:Picture:http://www.wizards.com/global/images/magic/general/omen_machine.jpg
|
||||||
|
End
|
||||||
@@ -1121,7 +1121,11 @@ public abstract class Player extends GameEntity {
|
|||||||
* @return true if a player can draw a card, false otherwise
|
* @return true if a player can draw a card, false otherwise
|
||||||
*/
|
*/
|
||||||
public final boolean canDraw() {
|
public final boolean canDraw() {
|
||||||
return !AllZoneUtil.isCardInPlay("Maralen of the Mornsong");
|
if (AllZoneUtil.isCardInPlay("Omen Machine") || AllZoneUtil.isCardInPlay("Maralen of the Mornsong"))
|
||||||
|
{
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user