mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-20 12:48:00 +00:00
Merge branch 'c18_cards' into 'master'
More C18 cards See merge request core-developers/forge!857
This commit is contained in:
@@ -204,6 +204,8 @@ public class ForgeScript {
|
||||
if (!found) {
|
||||
return false;
|
||||
}
|
||||
} else if (property.equals("YouCtrl")) {
|
||||
return sa.getActivatingPlayer().equals(sourceController);
|
||||
} else if (sa.getHostCard() != null) {
|
||||
if (!sa.getHostCard().hasProperty(property, sourceController, source, spellAbility)) {
|
||||
return false;
|
||||
|
||||
@@ -1069,6 +1069,12 @@ public class CardProperty {
|
||||
return false;
|
||||
}
|
||||
checkCard = (Card) triggeringObject;
|
||||
} else if (restriction.startsWith("Remembered")) {
|
||||
final Object rememberedObject = source.getFirstRemembered();
|
||||
if (!(rememberedObject instanceof Card)) {
|
||||
return false;
|
||||
}
|
||||
checkCard = (Card) rememberedObject;
|
||||
} else {
|
||||
return false;
|
||||
}
|
||||
|
||||
8
forge-gui/res/cardsfolder/f/forge_of_heroes.txt
Normal file
8
forge-gui/res/cardsfolder/f/forge_of_heroes.txt
Normal file
@@ -0,0 +1,8 @@
|
||||
Name:Forge of Heroes
|
||||
ManaCost:no cost
|
||||
Types:Land
|
||||
A:AB$ Mana | Cost$ T | Produced$ C | SpellDescription$ Add {C}.
|
||||
A:AB$ Pump | Cost$ T | ValidTgts$ Card.IsCommander+enteredBattlefieldThisTurn | TgtPrompt$ Select target commander that entered the battlefield this turn | SubAbility$ DBPutCounter | StackDescription$ Select target commander that entered the battlefield this turn. | SpellDescription$ Choose target commander that entered the battlefield this turn. Put a +1/+1 counter on it if it's a creature and a loyalty counter on it if it's a planeswalker.
|
||||
SVar:DBPutCounter:DB$ PutCounter | Defined$ ParentTarget | CounterType$ P1P1 | CounterNum$ 1 | ConditionDefined$ ParentTarget | ConditionPresent$ Creature | ConditionCompare$ GE1 | SubAbility$ DBPutCounterCommander
|
||||
SVar:DBPutCounterCommander:DB$ PutCounter | Defined$ ParentTarget | CounterType$ LOYALTY | CounterNum$ 1 | ConditionDefined$ ParentTarget | ConditionPresent$ Planeswalker | ConditionCompare$ GE1
|
||||
Oracle:{T}: Add {C}.\n{T}: Choose target commander that entered the battlefield this turn. Put a +1/+1 counter on it if it's a creature and a loyalty counter on it if it's a planeswalker.
|
||||
8
forge-gui/res/cardsfolder/m/magus_of_the_balance.txt
Normal file
8
forge-gui/res/cardsfolder/m/magus_of_the_balance.txt
Normal file
@@ -0,0 +1,8 @@
|
||||
Name:Magus of the Balance
|
||||
ManaCost:1 W
|
||||
Types:Creature Human Wizard
|
||||
PT:2/2
|
||||
A:AB$ Balance | Cost$ 4 W T Sac<1/CARDNAME> | Valid$ Land | AILogic$ BalanceCreaturesAndLands | SubAbility$ BalanceHands | SpellDescription$ Each player chooses a number of lands they control equal to the number of lands controlled by the player who controls the fewest, then sacrifices the rest. Players discard cards and sacrifice creatures the same way.
|
||||
SVar:BalanceHands:DB$ Balance | Zone$ Hand | SubAbility$ BalanceCreatures
|
||||
SVar:BalanceCreatures:DB$ Balance | Valid$ Creature
|
||||
Oracle:{4}{W}, {T}, Sacrifice Magus of the Balance: Each player chooses a number of lands they control equal to the number of lands controlled by the player who controls the fewest, then sacrifices the rest. Players discard cards and sacrifice creatures the same way.
|
||||
8
forge-gui/res/cardsfolder/r/reality_scramble.txt
Normal file
8
forge-gui/res/cardsfolder/r/reality_scramble.txt
Normal file
@@ -0,0 +1,8 @@
|
||||
Name:Reality Scramble
|
||||
ManaCost:2 R R
|
||||
Types:Sorcery
|
||||
K:Retrace
|
||||
A:SP$ ChangeZone | Cost$ 2 R R | ValidTgts$ Permanent.YouOwn | Origin$ Battlefield | Destination$ Library | LibraryPosition$ -1 | RememberLKI$ True | SubAbility$ DBRevealUntilShare | SpellDescription$ Put target permanent you own on the bottom of your library. Reveal cards from the top of your library until you reveal a card that shares a card type with that permanent. Put that card onto the battlefield and the rest on the bottom of your library in a random order.
|
||||
SVar:DBRevealUntilShare:DB$ DigUntil | Valid$ Card.sharesTypeWith Remembered | FoundDestination$ Battlefield | RevealedDestination$ Library | RevealedLibraryPosition$ -1 | RevealRandomOrder$ True | SubAbility$ DBCleanup
|
||||
SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True
|
||||
Oracle:Put target permanent you own on the bottom of your library. Reveal cards from the top of your library until you reveal a card that shares a card type with that permanent. Put that card onto the battlefield and the rest on the bottom of your library in a random order.\nRetrace (You may cast this card from your graveyard by discarding a land card in addition to paying its other costs.)
|
||||
16
forge-gui/res/cardsfolder/s/saheeli_the_gifted.txt
Normal file
16
forge-gui/res/cardsfolder/s/saheeli_the_gifted.txt
Normal file
@@ -0,0 +1,16 @@
|
||||
Name:Saheeli, the Gifted
|
||||
ManaCost:2 U R
|
||||
Types:Legendary Planeswalker Saheeli
|
||||
Loyalty:4
|
||||
A:AB$ Token | Cost$ AddCounter<1/LOYALTY> | Planeswalker$ True | TokenAmount$ 1 | TokenName$ Servo | TokenTypes$ Artifact,Creature,Servo | TokenOwner$ You | TokenColors$ Colorless | TokenPower$ 1 | TokenToughness$ 1 | TokenImage$ c 1 1 servo c18 | SpellDescription$ Create a 1/1 colorless Servo artifact creature token.
|
||||
A:AB$ Effect | Cost$ AddCounter<1/LOYALTY> | Planeswalker$ True | StaticAbilities$ HBReduceCost | Triggers$ TrigCastSpell | SVars$ RemoveEffect,X | SpellDescription$ The next spell you cast this turn costs {1} less to cast for each artifact you control as you cast it.
|
||||
SVar:HBReduceCost:Mode$ ReduceCost | EffectZone$ Command | Type$ Spell | ValidCard$ Card | Activator$ You | Amount$ X | References$ X | Description$ The next spell you cast this turn costs {1} less to cast for each artifact you control as you cast it.
|
||||
SVar:TrigCastSpell:Mode$ SpellCast | ValidActivatingPlayer$ You | TriggerZones$ Command | Execute$ RemoveEffect | Static$ True
|
||||
SVar:RemoveEffect:DB$ ChangeZone | Origin$ Command | Destination$ Exile
|
||||
SVar:X:Count$Valid Artifact.YouCtrl
|
||||
SVar:RemRandomDeck
|
||||
A:AB$ RepeatEach | Cost$ SubCounter<7/LOYALTY> | Planeswalker$ True | Ultimate$ True | RepeatSubAbility$ DBClone | RepeatCards$ Artifact.YouCtrl | AtEOT$ ExileCombat | AddSVars$ SneakAttackEOT | SpellDescription$ For each artifact you control, create a token that's a copy of it. Those tokens gain haste. Exile those tokens at the beginning of the next end step.
|
||||
SVar:DBClone:DB$ CopyPermanent | Defined$ Remembered | Keywords$ Haste | AtEOT$ Exile | AddSVars$ SneakAttackEOT | AtEOT$ Exile
|
||||
SVar:SneakAttackEOT:SVar:EndOfTurnLeavePlay:True
|
||||
K:CARDNAME can be your commander.
|
||||
Oracle:[+1]: Create a 1/1 colorless Servo artifact creature token.\n[+1]: The next spell you cast this turn costs {1} less to cast for each artifact you control as you cast it.\n[-7]: For each artifact you control, create a token that's a copy of it. Those tokens gain haste. Exile those tokens at the beginning of the next end step.\nSaheeli, the Gifted can be your commander.
|
||||
7
forge-gui/res/cardsfolder/t/tawnos_urzas_apprentice.txt
Normal file
7
forge-gui/res/cardsfolder/t/tawnos_urzas_apprentice.txt
Normal file
@@ -0,0 +1,7 @@
|
||||
Name:Tawnos, Urza's Apprentice
|
||||
ManaCost:U R
|
||||
Types:Legendary Creature Human Artificer
|
||||
PT:1/3
|
||||
K:Haste
|
||||
A:AB$ CopySpellAbility | Cost$ U R T | TargetType$ Activated.YouCtrl,Triggered.YouCtrl | ValidTgts$ Artifact | SpellDescription$ Copy target activated or triggered ability you control from an artifact source. You may choose new targets for the copy. (Mana abilities can’t be targeted.)
|
||||
Oracle:Haste\n{U}{R}, {T}: Copy target activated or triggered ability you control from an artifact source. You may choose new targets for the copy. (Mana abilities can’t be targeted.)
|
||||
12
forge-gui/res/cardsfolder/v/varchild_betrayer_of_kjeldor.txt
Normal file
12
forge-gui/res/cardsfolder/v/varchild_betrayer_of_kjeldor.txt
Normal file
@@ -0,0 +1,12 @@
|
||||
Name:Varchild, Betrayer of Kjeldor
|
||||
ManaCost:2 R
|
||||
Types:Legendary Creature Human Knight
|
||||
PT:3/3
|
||||
T:Mode$ DamageDone | ValidSource$ Card.Self | ValidTarget$ Player | CombatDamage$ True | Execute$ TrigToken | TriggerDescription$ When CARDNAME deals combat damage to a player, that player creates that many 1/1 red Survivor creature tokens.
|
||||
SVar:TrigToken:DB$ Token | TokenOwner$ TriggeredTarget | TokenAmount$ X | References$ X | TokenName$ Survivor | TokenTypes$ Creature,Survivor | TokenColors$ Red | TokenPower$ 1 | TokenToughness$ 1 | TokenImage$ r 1 1 survivor C18
|
||||
SVar:X:TriggerCount$DamageAmount
|
||||
S:Mode$ Continuous | Affected$ Survivor | AddHiddenKeyword$ CantBlock Creature | Description$ Survivors can't block.
|
||||
S:Mode$ CantAttack | ValidCard$ Creature.Survivor | Target$ You,Planeswalker.YouCtrl | Description$ Survivors your opponent control can't attack you or planeswalkers you control.
|
||||
T:Mode$ ChangesZone | Origin$ Battlefield | Destination$ Any | ValidCard$ Card.Self | Execute$ TrigGainControl | TriggerDescription$ When CARDNAME leaves the battlefield, gain control of all Survivors.
|
||||
SVar:TrigGainControl:DB$ GainControl | AllValid$ Survivor | NewController$ You
|
||||
Oracle:When Varchild, Betrayer of Kjeldor deals combat damage to a player, that player creates that many 1/1 red Survivor creature tokens.\nSurvivors your opponent control can't attack you or planeswalkers you control.\nWhen Varchild, Betrayer of Kjeldor leaves the battlefield, gain control of all Survivors.
|
||||
Reference in New Issue
Block a user