mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-18 19:58:00 +00:00
Merge pull request #1613 from Northmoc/ydmc_oracle
YDMC: Oracle of the Alpha and support
This commit is contained in:
@@ -48,8 +48,14 @@ public class MakeCardEffect extends SpellAbilityEffect {
|
|||||||
} else {
|
} else {
|
||||||
names.add(n);
|
names.add(n);
|
||||||
}
|
}
|
||||||
|
} else if (sa.hasParam("Names")) {
|
||||||
|
List<String> nameList = Arrays.asList(sa.getParam("Names").split(","));
|
||||||
|
for (String s : nameList) {
|
||||||
|
// Cardnames that include "," must use ";" instead here
|
||||||
|
s = s.replace(";", ",");
|
||||||
|
names.add(s);
|
||||||
}
|
}
|
||||||
if (sa.hasParam("DefinedName")) {
|
} else if (sa.hasParam("DefinedName")) {
|
||||||
final CardCollection def = AbilityUtils.getDefinedCards(source, sa.getParam("DefinedName"), sa);
|
final CardCollection def = AbilityUtils.getDefinedCards(source, sa.getParam("DefinedName"), sa);
|
||||||
if (def.size() > 0) {
|
if (def.size() > 0) {
|
||||||
for (final Card c : def) {
|
for (final Card c : def) {
|
||||||
|
|||||||
12
forge-gui/res/cardsfolder/upcoming/oracle_of_the_alpha.txt
Normal file
12
forge-gui/res/cardsfolder/upcoming/oracle_of_the_alpha.txt
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
Name:Oracle of the Alpha
|
||||||
|
ManaCost:2 U
|
||||||
|
Types:Creature Bird Wizard
|
||||||
|
PT:2/3
|
||||||
|
K:Flying
|
||||||
|
T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TrigConjure | TriggerDescription$ When CARDNAME enters the battlefield, conjure the Power Nine into your library, then shuffle.
|
||||||
|
SVar:TrigConjure:DB$ MakeCard | Conjure$ True | Names$ Ancestral Recall,Black Lotus,Mox Emerald,Mox Jet,Mox Pearl,Mox Ruby,Mox Sapphire,Time Walk,Timetwister | Zone$ Library
|
||||||
|
T:Mode$ Attacks | ValidCard$ Card.Self | Execute$ DBScry | TriggerZones$ Battlefield | TriggerDescription$ Whenever CARDNAME attacks, scry 1.
|
||||||
|
SVar:DBScry:DB$ Scry
|
||||||
|
SVar:HasAttackEffect:TRUE
|
||||||
|
DeckHas:Type$Artifact|Instant|Sorcery & Ability$Sacrifice
|
||||||
|
Oracle:Flying\nWhen Oracle of the Alpha enters the battlefield, conjure the Power Nine into your library, then shuffle.\nWhenever Oracle of the Alpha attacks, scry 1.
|
||||||
Reference in New Issue
Block a user