mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-19 20:28:00 +00:00
Merge branch 'Card-Forge:master' into master
This commit is contained in:
10
forge-gui/res/cardsfolder/s/spelldrain_assassin.txt
Normal file
10
forge-gui/res/cardsfolder/s/spelldrain_assassin.txt
Normal file
@@ -0,0 +1,10 @@
|
||||
Name:Spelldrain Assassin
|
||||
ManaCost:U B R
|
||||
Types:Creature Vampire Assassin
|
||||
PT:3/3
|
||||
T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TrigChoose | TriggerDescription$ When CARDNAME enters the battlefield, choose an instant or sorcery card in your hand. It perpetually gains casualty 2.
|
||||
SVar:TrigChoose:DB$ ChooseCard | ChoiceZone$ Hand | Choices$ Sorcery.YouOwn,Instant.YouOwn | ChoiceTitle$ Choose an instant or sorcery card in your hand | Amount$ 1 | SubAbility$ DBEffect
|
||||
SVar:DBEffect:DB$ Effect | StaticAbilities$ PerpetualCasualty | Name$ Spelldrain Assassin's Perpetual Effect | Duration$ Permanent | SubAbility$ DBCleanup
|
||||
SVar:PerpetualCasualty:Mode$ Continuous | Affected$ Card.ChosenCard | AddKeyword$ Casualty:2 | EffectZone$ Command | AffectedZone$ Battlefield,Hand,Graveyard,Exile,Stack,Library,Command | Description$ The chosen card perpetually gains casualty 2.
|
||||
SVar:DBCleanup:DB$ Cleanup | ClearChosenCard$ True
|
||||
Oracle:When Spelldrain Assassin enters the battlefield, choose an instant or sorcery card in your hand. It perpetually gains casualty 2.
|
||||
11
forge-gui/res/cardsfolder/upcoming/celestial_vault.txt
Normal file
11
forge-gui/res/cardsfolder/upcoming/celestial_vault.txt
Normal file
@@ -0,0 +1,11 @@
|
||||
Name:Celestial Vault
|
||||
ManaCost:1 W
|
||||
Types:Artifact
|
||||
A:AB$ Draft | Cost$ W T | Spellbook$ Angel of Destiny,Resplendent Angel,Angel of Vitality,Righteous Valkyrie,Angel of Invention,Angel of Sanctions,Valkyrie Harbinger,Emancipation Angel,Youthful Valkyrie,Resplendent Marshal,Enduring Angel,Sigardian Savior,Serra Angel,Stalwart Valkyrie,Segovian Angel | Zone$ Exile | ExileFaceDown$ True | RememberDrafted$ True | SpellDescription$ Draft a card from CARDNAME's spellbook and exile it face down.
|
||||
A:AB$ ChangeZoneAll | Cost$ 1 Sac<1/CARDNAME> | Origin$ Exile | Destination$ Hand | ChangeType$ Card.IsRemembered+ExiledWithSource | SpellDescription$ Put each card exiled with CARDNAME into your hand.
|
||||
T:Mode$ ChangesZone | Origin$ Exile | Destination$ Any | Static$ True | ValidCard$ Card.IsRemembered+ExiledWithSource | Execute$ DBForget
|
||||
SVar:DBForget:DB$ Pump | ForgetObjects$ TriggeredCard
|
||||
T:Mode$ ChangesZone | Origin$ Battlefield | Destination$ Any | Static$ True | ValidCard$ Card.Self | Execute$ DBCleanup
|
||||
SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True
|
||||
DeckHas:Type$Angel & Ability$LifeGain|Token|Counters
|
||||
Oracle:{W}, {T}: Draft a card from Celestial Vault's spellbook and exile it face down.\n{1}, Sacrifice Celestial Vault: Put each card exiled with Celestial Vault into your hand.
|
||||
@@ -1,5 +1,5 @@
|
||||
Name:Kenku Artificer
|
||||
ManaCost:2 G
|
||||
ManaCost:2 U
|
||||
Types:Creature Bird Artificer
|
||||
PT:1/1
|
||||
T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TrigPutCounter | TriggerDescription$ Homunculus Servant — When CARDNAME enters the battlefield, put three +1/+1 counters on up to one target noncreature artifact. That artifact becomes a 0/0 Homunculus artifact creature with flying.
|
||||
|
||||
@@ -0,0 +1,12 @@
|
||||
Name:Volo, Itinerant Scholar
|
||||
ManaCost:2 U
|
||||
Types:Legendary Creature Human Wizard
|
||||
PT:2/3
|
||||
T:Mode$ ChangesZone | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TrigToken | TriggerDescription$ When NICKNAME enters the battlefield, create Volo's Journal, a legendary colorless artifact token with hexproof and "Whenever you cast a creature spell, note one of its creature types that hasn't been noted for this artifact."
|
||||
SVar:TrigToken:DB$ Token | TokenScript$ volos_journal
|
||||
A:AB$ Pump | Cost$ 2 T | ValidTgts$ Permanent.namedVolo's Journal+YouCtrl | TgtPrompt$ Select target permanent you control named Volo's Journal | SubAbility$ DBDraw | StackDescription$ None | SpellDescription$ Draw a card for each creature type noted for target permanent you control named Volo's Journal.
|
||||
SVar:DBDraw:DB$ Draw | NumCards$ X
|
||||
SVar:X:Targeted$CardNumNotedTypes
|
||||
K:Choose a Background
|
||||
DeckHas:Ability$Token & Type$Artifact
|
||||
Oracle:When Volo enters the battlefield, create Volo's Journal, a legendary colorless artifact token with hexproof and "Whenever you cast a creature spell, note one of its creature types that hasn't been noted for this artifact."\n{2}, {T}: Draw a card for each creature type noted for target permanent you control named Volo's Journal.\nChoose a Background
|
||||
7
forge-gui/res/tokenscripts/volos_journal.txt
Normal file
7
forge-gui/res/tokenscripts/volos_journal.txt
Normal file
@@ -0,0 +1,7 @@
|
||||
Name:Volo's Journal
|
||||
ManaCost:no cost
|
||||
Types:Legendary Artifact
|
||||
K:Hexproof
|
||||
T:Mode$ SpellCast | ValidCard$ Creature | ValidActivatingPlayer$ You | Execute$ TrigNoteType | TriggerZones$ Battlefield | TriggerDescription$ Whenever you cast a creature spell, note one of its creature types that hasn't been noted for this artifact.
|
||||
SVar:TrigNoteType:DB$ ChooseType | Type$ Creature | TypesFromDefined$ TriggeredCard | Note$ True
|
||||
Oracle:Hexproof\nWhenever you cast a creature spell, note one of its creature types that hasn't been noted for this artifact.
|
||||
@@ -419,6 +419,16 @@ public class CardDetailUtil {
|
||||
area.append(")");
|
||||
}
|
||||
|
||||
// noted types
|
||||
if (card.getNotedTypes() != null && !card.getNotedTypes().isEmpty()) {
|
||||
if (area.length() != 0) {
|
||||
area.append("\n");
|
||||
}
|
||||
area.append("(noted type").append(card.getNotedTypes().size() == 1 ? ": " : "s: ");
|
||||
area.append(Lang.joinHomogenous(card.getNotedTypes()));
|
||||
area.append(")");
|
||||
}
|
||||
|
||||
// chosen color
|
||||
if (card.getChosenColors() != null && !card.getChosenColors().isEmpty()) {
|
||||
if (area.length() != 0) {
|
||||
|
||||
Reference in New Issue
Block a user