mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-18 11:48:02 +00:00
STX: Golden Ratio, Strixhaven Stadium and more
This commit is contained in:
@@ -796,6 +796,20 @@ public class CardFactoryUtil {
|
||||
return doXMath(crdname.size(), m, c);
|
||||
}
|
||||
|
||||
if (l[0].startsWith("DifferentPower_")) {
|
||||
final List<Integer> powers = Lists.newArrayList();
|
||||
final String restriction = l[0].substring(15);
|
||||
final String[] rest = restriction.split(",");
|
||||
CardCollection list = CardLists.getValidCards(cc.getGame().getCardsInGame(), rest, cc, c, null);
|
||||
for (final Card card : list) {
|
||||
Integer pow = card.getNetPower();
|
||||
if (!powers.contains(pow)) {
|
||||
powers.add(pow);
|
||||
}
|
||||
}
|
||||
return doXMath(powers.size(), m, c);
|
||||
}
|
||||
|
||||
if (l[0].startsWith("RememberedSize")) {
|
||||
return doXMath(c.getRememberedCount(), m, c);
|
||||
}
|
||||
|
||||
@@ -141,6 +141,8 @@ public enum CounterEnumType {
|
||||
|
||||
HIT("HIT", 255, 245, 195),
|
||||
|
||||
HONE("HONE", 51, 227, 255),
|
||||
|
||||
HOOFPRINT("HOOF", 233, 189, 170),
|
||||
|
||||
HOUR("HOUR", 198, 197, 210),
|
||||
@@ -231,6 +233,8 @@ public enum CounterEnumType {
|
||||
|
||||
PHYLACTERY("PHYLA", 117, 219, 153),
|
||||
|
||||
POINT("POINT", 153, 255, 130),
|
||||
|
||||
POLYP("POLYP", 236, 185, 198),
|
||||
|
||||
PREY("PREY", 240, 0, 0),
|
||||
|
||||
@@ -0,0 +1,6 @@
|
||||
Name:Crushing Disappointment
|
||||
ManaCost:3 B
|
||||
Types:Instant
|
||||
A:SP$ LoseLife | Cost$ 3 B | Defined$ Player | LifeAmount$ 2 | SubAbility$ DBDraw | SpellDescription$ Each player loses 2 life.
|
||||
SVar:DBDraw:DB$ Draw | NumCards$ 2 | SpellDescription$ You draw two cards.
|
||||
Oracle:Each player loses 2 life. You draw two cards.
|
||||
5
forge-gui/res/cardsfolder/upcoming/expel.txt
Normal file
5
forge-gui/res/cardsfolder/upcoming/expel.txt
Normal file
@@ -0,0 +1,5 @@
|
||||
Name:Expel
|
||||
ManaCost:2 W
|
||||
Types:Instant
|
||||
A:SP$ ChangeZone | Cost$ 2 W | Origin$ Battlefield | Destination$ Exile | ValidTgts$ Creature.tapped | TgtPrompt$ Select target tapped creature | SpellDescription$ Exile target tapped creature.
|
||||
Oracle:Exile target tapped creature.
|
||||
6
forge-gui/res/cardsfolder/upcoming/golden_ratio.txt
Normal file
6
forge-gui/res/cardsfolder/upcoming/golden_ratio.txt
Normal file
@@ -0,0 +1,6 @@
|
||||
Name:Golden Ratio
|
||||
ManaCost:1 G U
|
||||
Types:Sorcery
|
||||
A:SP$ Draw | Cost$ 1 G U | NumCards$ X | SpellDescription$ Draw a card for each different power among creatures you control.
|
||||
SVar:X:Count$DifferentPower_Creature.YouCtrl
|
||||
Oracle:Draw a card for each different power among creatures you control.
|
||||
7
forge-gui/res/cardsfolder/upcoming/kelpie_guide.txt
Normal file
7
forge-gui/res/cardsfolder/upcoming/kelpie_guide.txt
Normal file
@@ -0,0 +1,7 @@
|
||||
Name:Kelpie Guide
|
||||
ManaCost:2 U
|
||||
Types:Creature Beast
|
||||
PT:2/2
|
||||
A:AB$ Untap | Cost$ T | ValidTgts$ Permanent.Other+YouCtrl | TgtPrompt$ Select another target permanent you control | SpellDescription$ Untap another target permanent you control.
|
||||
A:AB$ Tap | Cost$ T | ValidTgts$ Permanent | TgtPrompt$ Select target permanent | IsPresent$ Land.YouCtrl | PresentCompare$ GE8 | SpellDescription$ Tap target permanent. Activate only if you control eight or more lands.
|
||||
Oracle:{T}: Untap another target permanent you control.\n{T}: Tap target permanent. Activate only if you control eight or more lands.
|
||||
6
forge-gui/res/cardsfolder/upcoming/secret_rendezvous.txt
Normal file
6
forge-gui/res/cardsfolder/upcoming/secret_rendezvous.txt
Normal file
@@ -0,0 +1,6 @@
|
||||
Name:Secret Rendezvous
|
||||
ManaCost:1 W W
|
||||
Types:Sorcery
|
||||
A:SP$ Draw | Cost$ 1 W W | NumCards$ 3 | SubAbility$ DBDraw | SpellDescription$ You and target opponent each draw three cards.
|
||||
SVar:DBDraw:DB$ Draw | NumCards$ 3 | ValidTgts$ Opponent | TgtPrompt$ Select target opponent
|
||||
Oracle:You and target opponent each draw three cards.
|
||||
6
forge-gui/res/cardsfolder/upcoming/square_up.txt
Normal file
6
forge-gui/res/cardsfolder/upcoming/square_up.txt
Normal file
@@ -0,0 +1,6 @@
|
||||
Name:Square Up
|
||||
ManaCost:1 GU
|
||||
Types:Instant
|
||||
A:SP$ Animate | Cost$ 1 GU | ValidTgts$ Creature | TgtPrompt$ Select target creature | Power$ 4 | Toughness$ 4 | SpellDescription$ Target creature has base power and toughness 4/4 until end of turn.
|
||||
AI:RemoveDeck:All
|
||||
Oracle:Target creature has base power and toughness 4/4 until end of turn.
|
||||
15
forge-gui/res/cardsfolder/upcoming/strixhaven_stadium.txt
Normal file
15
forge-gui/res/cardsfolder/upcoming/strixhaven_stadium.txt
Normal file
@@ -0,0 +1,15 @@
|
||||
Name:Strixhaven Stadium
|
||||
ManaCost:3
|
||||
Types:Artifact
|
||||
A:AB$ Mana | Cost$ T | Produced$ C | SubAbility$ DBPutCounter | SpellDescription$ Add {C}. Put a point counter on CARDNAME.
|
||||
SVar:DBPutCounter:DB$ PutCounter | Defined$ Self | CounterType$ POINT | CounterNum$ 1
|
||||
T:Mode$ DamageDone | ValidSource$ Creature | ValidTarget$ You | CombatDamage$ True | Execute$ TrigRemove | TriggerZones$ Battlefield | TriggerDescription$ Whenever a creature deals combat damage to you, remove a point counter from CARDNAME.
|
||||
SVar:TrigRemove:DB$ RemoveCounter | Defined$ Self | CounterType$ POINT | CounterNum$ 1
|
||||
T:Mode$ DamageDone | ValidSource$ Creature.YouCtrl | ValidTarget$ Opponent | CombatDamage$ True | Execute$ TrigPutCounter | TriggerDescription$ Whenever a creature you control deals combat damage to an opponent, put a point counter on CARDNAME. Then if it has ten or more point counters on it, remove them all and that player loses the game.
|
||||
SVar:TrigPutCounter:DB$ PutCounter | Defined$ Self | CounterType$ POINT | CounterNum$ 1 | SubAbility$ DBBranch
|
||||
SVar:DBBranch:DB$ Branch | BranchConditionSVar$ X | BranchConditionSVarCompare$ GE10 | TrueSubAbility$ DBRemoveAll
|
||||
SVar:DBRemoveAll:DB$ RemoveCounter | Defined$ Self | CounterType$ POINT | CounterNum$ All | SubAbility$ DBLosesGame
|
||||
SVar:DBLosesGame:DB$ LosesGame | Defined$ TriggeredTarget
|
||||
SVar:X:Count$CardCounters.POINT
|
||||
DeckHas:Ability$Counters
|
||||
Oracle:{T}: Add {C}. Put a point counter on Strixhaven Stadium.\nWhenever a creature deals combat damage to you, remove a point counter from Strixhaven Stadium.\nWhenever a creature you control deals combat damage to an opponent, put a point counter on Strixhaven Stadium. Then if it has ten or more point counters on it, remove them all and that player loses the game.
|
||||
Reference in New Issue
Block a user