mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-14 09:48:02 +00:00
Merge branch 'patch' into 'master'
C19 cards See merge request core-developers/forge!2014
This commit is contained in:
@@ -253,12 +253,11 @@ public class PlayerProperty {
|
||||
}
|
||||
} else if (property.startsWith("hasFewer")) {
|
||||
final Player controller = "Active".equals(property.split("Than")[1]) ? game.getPhaseHandler().getPlayerTurn() : sourceController;
|
||||
if (property.substring(8).startsWith("CreaturesInYard")) {
|
||||
final CardCollectionView oppList = CardLists.filter(player.getCardsIn(ZoneType.Graveyard), Presets.CREATURES);
|
||||
final CardCollectionView yourList = CardLists.filter(controller.getCardsIn(ZoneType.Graveyard), Presets.CREATURES);
|
||||
if (oppList.size() >= yourList.size()) {
|
||||
return false;
|
||||
}
|
||||
final ZoneType zt = property.substring(8).startsWith("CreaturesInYard") ? ZoneType.Graveyard : ZoneType.Battlefield;
|
||||
final CardCollectionView oppList = CardLists.filter(player.getCardsIn(zt), Presets.CREATURES);
|
||||
final CardCollectionView yourList = CardLists.filter(controller.getCardsIn(zt), Presets.CREATURES);
|
||||
if (oppList.size() >= yourList.size()) {
|
||||
return false;
|
||||
}
|
||||
} else if (property.startsWith("withMost")) {
|
||||
final String kind = property.substring(8);
|
||||
|
||||
@@ -0,0 +1,9 @@
|
||||
Name:Nightmare Unmaking
|
||||
ManaCost:3 B B
|
||||
Types:Sorcery
|
||||
A:SP$ Charm | Cost$ 3 B B | Choices$ Exile1,Exile2
|
||||
SVar:Exile1:DB$ ChangeZoneAll | ChangeType$ Creature.powerGTX | References$ X | Origin$ Battlefield | Destination$ Exile | SpellDescription$ Exile each creature with power greater than the number of cards in your hand.
|
||||
SVar:Exile2:DB$ ChangeZoneAll | ChangeType$ Creature.powerLTX | References$ X | Origin$ Battlefield | Destination$ Exile | SpellDescription$ Exile each creature with power less than the number of cards in your hand.
|
||||
SVar:X:Count$InYourHand
|
||||
AI:RemoveDeck:All
|
||||
Oracle:Choose one —\n• Exile each creature with power greater than the number of cards in your hand.\n• Exile each creature with power less than the number of cards in your hand.
|
||||
8
forge-gui/res/cardsfolder/upcoming/road_of_return.txt
Normal file
8
forge-gui/res/cardsfolder/upcoming/road_of_return.txt
Normal file
@@ -0,0 +1,8 @@
|
||||
Name:Road of Return
|
||||
ManaCost:G G
|
||||
Types:Sorcery
|
||||
A:SP$ Charm | Cost$ G G | Choices$ DBReturn,DBChangeZone
|
||||
SVar:DBReturn:DB$ ChangeZone | Origin$ Graveyard | Destination$ Hand | ValidTgts$ Permanent.YouCtrl | SpellDescription$ Return target permanent card from your graveyard to your hand.
|
||||
SVar:DBChangeZone:DB$ ChangeZoneAll | ChangeType$ Card.IsCommander+YouOwn | Origin$ Command | Destination$ Hand | SpellDescription$ Put your commander into your hand from the command zone.
|
||||
K:Entwine:2
|
||||
Oracle:Choose one —\n• Return target permanent card from your graveyard to your hand.\n• Put your commander into your hand from the command zone.\nEntwine {2} (Choose both if you pay the entwine cost.)
|
||||
9
forge-gui/res/cardsfolder/upcoming/scaretiller.txt
Normal file
9
forge-gui/res/cardsfolder/upcoming/scaretiller.txt
Normal file
@@ -0,0 +1,9 @@
|
||||
Name:Scaretiller
|
||||
ManaCost:4
|
||||
Types:Artifact Creature Scarecrow
|
||||
PT:1/4
|
||||
T:Mode$ Taps | ValidCard$ Card.Self | Execute$ TrigCharm | TriggerDescription$ Whenever CARDNAME becomes tapped, ABILITY
|
||||
SVar:TrigCharm:DB$ Charm | Choices$ DBLand,DBLand2
|
||||
SVar:DBLand:DB$ ChangeZone | Origin$ Hand | Destination$ Battlefield | Tapped$ True | ChangeType$ Land.YouCtrl | SpellDescription$ You may put a land card from your hand onto the battlefield tapped.
|
||||
SVar:DBLand2:DB$ ChangeZone | Origin$ Graveyard | Destination$ Battlefield | ValidTgts$ Land.YouCtrl | TgtPrompt$ Select target land card from your graveyard | Tapped$ True | SpellDescription$ Return target land card from your graveyard to the battlefield tapped.
|
||||
Oracle:Whenever Scaretiller becomes tapped, choose one —\n• You may put a land card from your hand onto the battlefield tapped.\n• Return target land card from your graveyard to the battlefield tapped.
|
||||
8
forge-gui/res/cardsfolder/upcoming/voice_of_many.txt
Normal file
8
forge-gui/res/cardsfolder/upcoming/voice_of_many.txt
Normal file
@@ -0,0 +1,8 @@
|
||||
Name:Voice of Many
|
||||
ManaCost:2 G G
|
||||
Types:Creature Elf Druid
|
||||
PT:3/3
|
||||
T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TrigDraw | TriggerDescription$ When CARDNAME enters the battlefield, draw a card for each opponent who controls fewer creatures than you.
|
||||
SVar:TrigDraw:DB$ Draw | Defined$ You | NumCards$ X | References$ X
|
||||
SVar:X:PlayerCountOpponents$HasPropertyhasFewerCreaturesInPlayThanYou
|
||||
Oracle:When Voice of Many enters the battlefield, draw a card for each opponent who controls fewer creatures than you.
|
||||
@@ -0,0 +1,10 @@
|
||||
Name:Volrath, the Shapestealer
|
||||
ManaCost:2 B G U
|
||||
Types:Legendary Creature Shapeshifter
|
||||
PT:7/5
|
||||
T:Mode$ Phase | Phase$ BeginCombat | ValidPlayer$ You | TriggerZones$ Battlefield | Execute$ TrigPutCounter | TriggerDescription$ At the beginning of combat on your turn, put a -1/-1 counter on up to one target creature.
|
||||
SVar:TrigPutCounter:DB$ PutCounter | ValidTgts$ Creature | CounterType$ M1M1 | TargetMin$ 0 | TargetMax$ 1 | CounterNum$ 1 | IsCurse$ True
|
||||
SVar:PlayMain1:TRUE
|
||||
DeckHas:Ability$Counters
|
||||
A:AB$ Clone | Cost$ 1 | ValidTgts$ Creature.HasCounters | TgtPrompt$ Select target creature with a counter on it | Duration$ UntilYourNextTurn | SetPower$ 7 | SetToughness$ 5 | GainThisAbility$ True | SpellDescription$ Until your next turn, CARDNAME becomes a copy of target creature with a counter on it, except it's 7/5 and it has this ability.
|
||||
Oracle:At the beginning of combat on your turn, put a -1/-1 counter on up to one target creature.\n{1}: Until your next turn, Volrath, the Shapestealer becomes a copy of target creature with a counter on it, except it's 7/5 and it has this ability.
|
||||
Reference in New Issue
Block a user