Local cards

This commit is contained in:
Hythonia
2020-10-29 17:02:17 +01:00
parent fef9ca7690
commit afbe9ccfe9
4 changed files with 17 additions and 2 deletions

View File

@@ -1157,7 +1157,7 @@ public class CardFactoryUtil {
return doXMath(Integer.parseInt(sq[cc.hasLandfall() ? 1 : 2]), m, c);
}
if (sq[0].contains("Monarch")) {
return doXMath(Integer.parseInt(sq[cc.equals(game.getMonarch() ? 1 : 2]), m, c);
return doXMath(Integer.parseInt(sq[cc.equals(game.getMonarch()) ? 1 : 2]), m, c);
}
if (sq[0].contains("Blessing")) {
return doXMath(Integer.parseInt(sq[cc.hasBlessing() ? 1 : 2]), m, c);

View File

@@ -0,0 +1,9 @@
Name:Aurora Phoenix
ManaCost:4 R R
Types:Creature Phoenix
PT:5/3
K:Flying
K:Cascade
T:Mode$ SpellCast | ValidCard$ Card.withCascade | ValidActivatingPlayer$ You | TriggerZones$ Graveyard | Execute$ TrigReturn | TriggerDescription$ Whenever you cast a spell with cascade, return CARDNAME from your graveyard to your hand.
SVar:TrigReturn:DB$ ChangeZone | Defined$ Self | Origin$ Graveyard | Destination$ Hand
Oracle:Flying\nCascade (When you cast this spell, exile cards from the top of your library until you exile a nonland card that costs less. You may cast it without paying its mana cost. Put the exiled cards on the bottom of your library in a random order.)\nWhenever you cast a spell with cascade, return Aurora Phoenix from your graveyard to your hand.

View File

@@ -5,6 +5,6 @@ T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.S
SVar:TrigMonarch:DB$ BecomeMonarch | Defined$ You
T:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ You | TriggerZones$ Battlefield | Execute$ TrigMill | TriggerDescription$ At the beginning of your upkeep, any number of target players each mill two cards. If you're the monarch, each of those players mills ten cards instead. (To mill a card, a player puts the top card of their library into their graveyard.)
SVar:TrigMill:DB$ Mill | ValidTgts$ Player | TgtPrompt$ Select target player | TargetMin$ 0 | TargetMax$ MaxTgt | NumCards$ X | References$ X,MaxTgt
SVar:X:Count$Monarch.2.10
SVar:X:Count$Monarch.10.2
SVar:MaxTgt:PlayerCountPlayers$Amount
Oracle:When Court of Cunning enters the battlefield, you become the monarch.\nAt the beginning of your upkeep, any number of target players each mill two cards. If you're the monarch, each of those players mills ten cards instead. (To mill a card, a player puts the top card of their library into their graveyard.)

View File

@@ -0,0 +1,6 @@
Name:Forceful Denial
ManaCost:3 U U
Types:Instant
K:Cascade
A:SP$ Counter | Cost$ 3 U U | TargetType$ Spell | TgtPrompt$ Select target spell | ValidTgts$ Card | SpellDescription$ Counter target spell.
Oracle:Cascade (When you cast this spell, exile cards from the top of your library until you exile a nonland card that costs less. You may cast it without paying its mana cost. Put the exiled cards on the bottom of your library in a random order.)\nCounter target spell.