mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-19 12:18:00 +00:00
Merge pull request #1165 from Card-Forge/kevlahnota-patch-1
some CLB cards
This commit is contained in:
@@ -3,7 +3,9 @@ package forge.game.trigger;
|
||||
import java.util.Map;
|
||||
|
||||
import forge.game.ability.AbilityKey;
|
||||
import forge.game.ability.AbilityUtils;
|
||||
import forge.game.card.Card;
|
||||
import forge.game.card.CardCollection;
|
||||
import forge.game.spellability.SpellAbility;
|
||||
import forge.util.Localizer;
|
||||
|
||||
@@ -27,6 +29,17 @@ public class TriggerBecomesCrewed extends Trigger {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
if (hasParam("ValidCrewAmount")) {
|
||||
Card v = (Card) runParams.get(AbilityKey.Vehicle);
|
||||
CardCollection crews = (CardCollection) runParams.get(AbilityKey.Crew);
|
||||
if (crews == null) {
|
||||
return false;
|
||||
}
|
||||
int amount = AbilityUtils.calculateAmount(v, getParam("ValidCrewAmount"), null);
|
||||
if (amount != crews.size()) {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
9
forge-gui/res/cardsfolder/upcoming/firbolg_flutist.txt
Normal file
9
forge-gui/res/cardsfolder/upcoming/firbolg_flutist.txt
Normal file
@@ -0,0 +1,9 @@
|
||||
Name:Firbolg Flutist
|
||||
ManaCost:4 R R
|
||||
Types:Creature Giant Bard
|
||||
PT:4/4
|
||||
T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TrigChange | TriggerDescription$ Enthralling Performance — When CARDNAME enters the battlefield, gain control of target creature you don't control until end of turn. Untap it. It gains haste and myriad until end of turn. (Whenever it attacks, for each opponent other than defending player, you may create a token that's a copy of that creature that's tapped and attacking that player or a planeswalker they control. Exile the tokens at end of combat.)
|
||||
SVar:TrigChange:DB$ GainControl | TgtPrompt$ Choose target creature you don't control | ValidTgts$ Creature.YouDontCtrl | LoseControl$ EOT | Untap$ True | AddKWs$ Haste & Myriad
|
||||
SVar:PlayMain1:OPPONENTCREATURES
|
||||
DeckHas:Ability$Token
|
||||
Oracle:Enthralling Performance — When Firbolg Flutist enters the battlefield, gain control of target creature you don't control until end of turn. Untap it. It gains haste and myriad until end of turn. (Whenever it attacks, for each opponent other than defending player, you may create a token that's a copy of that creature that's tapped and attacking that player or a planeswalker they control. Exile the tokens at end of combat.)
|
||||
8
forge-gui/res/cardsfolder/upcoming/font_of_magic.txt
Normal file
8
forge-gui/res/cardsfolder/upcoming/font_of_magic.txt
Normal file
@@ -0,0 +1,8 @@
|
||||
Name:Font of Magic
|
||||
ManaCost:3 U
|
||||
Types:Enchantment
|
||||
S:Mode$ ReduceCost | ValidCard$ Instant,Sorcery | Type$ Spell | Activator$ You | Amount$ X | Description$ Instant and sorcery spells you cast cost {1} less to cast for each time you've cast a commander from the command zone this game.
|
||||
SVar:X:Count$TotalCommanderCastFromCommandZone
|
||||
DeckHints:Type$Instant|Sorcery
|
||||
AI:RemoveDeck:NonCommander
|
||||
Oracle:Instant and sorcery spells you cast cost {1} less to cast for each time you've cast a commander from the command zone this game.
|
||||
8
forge-gui/res/cardsfolder/upcoming/genasi_enforcers.txt
Normal file
8
forge-gui/res/cardsfolder/upcoming/genasi_enforcers.txt
Normal file
@@ -0,0 +1,8 @@
|
||||
Name:Genasi Enforcers
|
||||
ManaCost:1 R
|
||||
Types:Creature Elemental Shaman
|
||||
PT:1/3
|
||||
K:Myriad
|
||||
A:AB$ PumpAll | Cost$ 1 R | ValidCards$ Creature.YouCtrl+namedGenasi Enforcers | NumAtt$ +1 | SpellDescription$ Creatures you control named Genasi Enforcers get +1/+0 until end of turn.
|
||||
DeckHas:Ability$Token
|
||||
Oracle:Myriad (Whenever this creature attacks, for each opponent other than defending player, you may create a token that's a copy of this creature that's tapped and attacking that player or a planeswalker they control. Exile the tokens at end of combat.)\n{1}{R}: Creatures you control named Genasi Enforcers get +1/+0 until end of turn.
|
||||
8
forge-gui/res/cardsfolder/upcoming/goggles_of_night.txt
Normal file
8
forge-gui/res/cardsfolder/upcoming/goggles_of_night.txt
Normal file
@@ -0,0 +1,8 @@
|
||||
Name:Goggles of Night
|
||||
ManaCost:1 U
|
||||
Types:Artifact Equipment
|
||||
T:Mode$ DamageDone | ValidSource$ Creature.EquippedBy | ValidTarget$ Player | CombatDamage$ True | Execute$ DBScry | TriggerZones$ Battlefield | TriggerDescription$ Whenever equipped creature deals combat damage to a player, scry 1, then draw a card. (To scry 1, look at the top card of your library, then you may put that card on the bottom of your library.)
|
||||
SVar:DBScry:DB$ Scry | ScryNum$ 1 | SubAbility$ DBDraw
|
||||
SVar:DBDraw:DB$ Draw | Defined$ You | NumCards$ 1
|
||||
K:Equip:2
|
||||
Oracle:Whenever equipped creature deals combat damage to a player, scry 1, then draw a card. (To scry 1, look at the top card of your library, then you may put that card on the bottom of your library.)\nEquip {2} ({2}: Attach to target creature you control. Equip only as a sorcery.)
|
||||
@@ -0,0 +1,8 @@
|
||||
Name:Gray Harbor Merfolk
|
||||
ManaCost:1 U
|
||||
Types:Creature Merfolk Rogue
|
||||
PT:0/3
|
||||
K:Unblockable
|
||||
S:Mode$ Continuous | Affected$ Card.Self | AddPower$ 2 | IsPresent$ Creature.IsCommander+YouCtrl,Planeswalker.IsCommander+YouCtrl | Description$ CARDNAME gets +2/+0 as long as you control a commander that's a creature or planeswalker.
|
||||
AI:RemoveDeck:NonCommander
|
||||
Oracle:Gray Harbor Merfolk can't be blocked.\nGray Harbor Merfolk gets +2/+0 as long as you control a commander that's a creature or planeswalker.
|
||||
10
forge-gui/res/cardsfolder/upcoming/greatsword_of_tyr.txt
Normal file
10
forge-gui/res/cardsfolder/upcoming/greatsword_of_tyr.txt
Normal file
@@ -0,0 +1,10 @@
|
||||
Name:Greatsword of Tyr
|
||||
ManaCost:1 W
|
||||
Types:Artifact Equipment
|
||||
T:Mode$ Attacks | ValidCard$ Card.AttachedBy | Execute$ TrigPut | TriggerDescription$ Whenever equipped creature attacks, put a +1/+1 counter on it and tap up to one target creature defending player controls.
|
||||
SVar:TrigPut:DB$ PutCounter | Defined$ Equipped | CounterType$ P1P1 | CounterNum$ 1 | SubAbility$ DBTap
|
||||
SVar:DBTap:DB$ Tap | ValidTgts$ Creature | TargetsWithDefinedController$ TriggeredDefendingPlayer | TargetMin$ 0 | TargetMax$ 1 | TgtPrompt$ Select up to one target creature defending player controls
|
||||
SVar:HasAttackEffect:TRUE
|
||||
DeckHints:Ability$Counters
|
||||
K:Equip:W
|
||||
Oracle:Whenever equipped creature attacks, put a +1/+1 counter on it and tap up to one target creature defending player controls.\nEquip {W} ({W}: Attach to target creature you control. Equip only as a sorcery.)
|
||||
6
forge-gui/res/cardsfolder/upcoming/guiding_bolt.txt
Normal file
6
forge-gui/res/cardsfolder/upcoming/guiding_bolt.txt
Normal file
@@ -0,0 +1,6 @@
|
||||
Name:Guiding Bolt
|
||||
ManaCost:2 W
|
||||
Types:Instant
|
||||
A:SP$ Destroy | ValidTgts$ Creature.powerGE4 | SubAbility$ DBScry | TgtPrompt$ Select target creature with power 4 or greater | SpellDescription$ Destroy target creature with power 4 or greater.
|
||||
SVar:DBScry:DB$ Scry | ScryNum$ 2 | SpellDescription$ Scry 2. (Look at the top two cards of your library, then put any number of them on the bottom of your library and the rest on top in any order.)
|
||||
Oracle:Destroy target creature with power 4 or greater.\nScry 2. (Look at the top two cards of your library, then put any number of them on the bottom of your library and the rest on top in any order.)
|
||||
9
forge-gui/res/cardsfolder/upcoming/icewind_stalwart.txt
Normal file
9
forge-gui/res/cardsfolder/upcoming/icewind_stalwart.txt
Normal file
@@ -0,0 +1,9 @@
|
||||
Name:Icewind Stalwart
|
||||
ManaCost:3 W
|
||||
Types:Creature Tiefling Warrior
|
||||
PT:3/3
|
||||
T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TrigExile | TriggerDescription$ Protection Fighting Style — When CARDNAME enters the battlefield, exile up to one target non-Warrior creature you control, then return it to the battlefield under its owner's control.
|
||||
SVar:TrigExile:DB$ ChangeZone | Origin$ Battlefield | Destination$ Exile | RememberChanged$ True | ValidTgts$ Creature.nonWarrior+YouCtrl | TargetMin$ 0 | TargetMax$ 1 | TgtPrompt$ Select up to one target non-Warrior creature you control | SubAbility$ DBReturn
|
||||
SVar:DBReturn:DB$ ChangeZone | Defined$ Remembered | Origin$ All | Destination$ Battlefield | SubAbility$ DBCleanup
|
||||
SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True
|
||||
Oracle:Protection Fighting Style — When Icewind Stalwart enters the battlefield, exile up to one target non-Warrior creature you control, then return it to the battlefield under its owner's control.
|
||||
10
forge-gui/res/cardsfolder/upcoming/inspired_tinkering.txt
Normal file
10
forge-gui/res/cardsfolder/upcoming/inspired_tinkering.txt
Normal file
@@ -0,0 +1,10 @@
|
||||
Name:Inspired Tinkering
|
||||
ManaCost:4 R
|
||||
Types:Sorcery
|
||||
A:SP$ Dig | Defined$ You | DigNum$ 3 | ChangeNum$ All | DestinationZone$ Exile | RememberChanged$ True | SubAbility$ DBMayPlay | SpellDescription$ Exile the top three cards of your library. Until the end of your next turn, you may play those cards.
|
||||
SVar:DBMayPlay:DB$ Effect | StaticAbilities$ STMayPlay | Duration$ UntilTheEndOfYourNextTurn | RememberObjects$ Remembered | ForgetOnMoved$ Exile | SubAbility$ DBCleanup
|
||||
SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True | SubAbility$ DBToken
|
||||
SVar:STMayPlay:Mode$ Continuous | Affected$ Card.IsRemembered | EffectZone$ Command | AffectedZone$ Exile | MayPlay$ True | Description$ Until the end of your next turn, you may play those cards.
|
||||
SVar:DBToken:DB$ Token | TokenAmount$ 3 | TokenScript$ c_a_treasure_sac | SpellDescription$ Create three Treasure tokens. (They're artifacts with "{T}, Sacrifice this artifact: Add one mana of any color.")
|
||||
DeckHas:Ability$Token|Sacrifice & Type$Treasure|Artifact
|
||||
Oracle:Exile the top three cards of your library. Until the end of your next turn, you may play those cards.\nCreate three Treasure tokens. (They're artifacts with "{T}, Sacrifice this artifact: Add one mana of any color.")
|
||||
@@ -0,0 +1,8 @@
|
||||
Name:Insufferable Balladeer
|
||||
ManaCost:1 R
|
||||
Types:Creature Dwarf Bard
|
||||
PT:2/1
|
||||
T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TrigCanNotBlock | TriggerDescription$ Vicious Mockery — When CARDNAME enters the battlefield, target creature an opponent controls can't block this turn. Goad it. (Until your next turn, that creature attacks each combat if able and attacks a player other than you if able.)
|
||||
SVar:TrigCanNotBlock:DB$ Pump | ValidTgts$ Creature.OppCtrl | KW$ HIDDEN CARDNAME can't block. | TgtPrompt$ Select target creature an opponent controls | IsCurse$ True | SubAbility$ DBGoad
|
||||
SVar:DBGoad:DB$ Goad | Defined$ Targeted
|
||||
Oracle:Vicious Mockery — When Insufferable Balladeer enters the battlefield, target creature an opponent controls can't block this turn. Goad it. (Until your next turn, that creature attacks each combat if able and attacks a player other than you if able.)
|
||||
7
forge-gui/res/cardsfolder/upcoming/jaheiras_respite.txt
Normal file
7
forge-gui/res/cardsfolder/upcoming/jaheiras_respite.txt
Normal file
@@ -0,0 +1,7 @@
|
||||
Name:Jaheira's Respite
|
||||
ManaCost:4 G
|
||||
Types:Instant
|
||||
A:SP$ ChangeZone | Origin$ Library | Destination$ Battlefield | ChangeType$ Land.Basic | ChangeNum$ X | AILogic$ Fog | Tapped$ True | SubAbility$ DBFog | SpellDescription$ Search your library for up to X basic land cards, where X is the number of creatures attacking you, put those cards onto the battlefield tapped, then shuffle. Prevent all combat damage that would be dealt this turn.
|
||||
SVar:X:Count$Valid Creature.attackingYou
|
||||
SVar:DBFog:DB$ Fog
|
||||
Oracle:Search your library for up to X basic land cards, where X is the number of creatures attacking you, put those cards onto the battlefield tapped, then shuffle.\nPrevent all combat damage that would be dealt this turn.
|
||||
10
forge-gui/res/cardsfolder/upcoming/javelin_of_lightning.txt
Normal file
10
forge-gui/res/cardsfolder/upcoming/javelin_of_lightning.txt
Normal file
@@ -0,0 +1,10 @@
|
||||
Name:Javelin of Lightning
|
||||
ManaCost:1 R
|
||||
Types:Artifact Equipment
|
||||
K:Flash
|
||||
T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TrigAttach | TriggerDescription$ When CARDNAME enters the battlefield, attach it to target creature you control.
|
||||
SVar:TrigAttach:DB$ Attach | ValidTgts$ Creature.YouCtrl | TgtPrompt$ Select target creature you control
|
||||
SVar:NeedsToPlay:Creature.YouCtrl+inZoneBattlefield
|
||||
S:Mode$ Continuous | Affected$ Creature.EquippedBy | AddPower$ 2 | AddKeyword$ First Strike | Condition$ PlayerTurn | Description$ As long as it's your turn, equipped creature gets +2/+0 and has first strike.
|
||||
K:Equip:4
|
||||
Oracle:Flash\nWhen Javelin of Lightning enters the battlefield, attach it to target creature you control.\nAs long as it's your turn, equipped creature gets +2/+0 and has first strike.\nEquip {4} ({4}: Attach to target creature you control. Equip only as a sorcery.)
|
||||
11
forge-gui/res/cardsfolder/upcoming/juvenile_mist_dragon.txt
Normal file
11
forge-gui/res/cardsfolder/upcoming/juvenile_mist_dragon.txt
Normal file
@@ -0,0 +1,11 @@
|
||||
Name:Juvenile Mist Dragon
|
||||
ManaCost:3 U U
|
||||
Types:Creature Dragon
|
||||
PT:4/3
|
||||
K:Flying
|
||||
T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TrigTap | TriggerDescription$ Confounding Clouds — When CARDNAME enters the battlefield, for each opponent, tap up to one target creature that player controls. Each of those creatures doesn't untap during its controller's next untap step.
|
||||
SVar:TapOneEach:DB$ Tap | ValidTgts$ Creature.OppCtrl | TgtPrompt$ Choose one target creature that each opponent controls | TargetMin$ 0 | TargetMax$ OneEach | TargetsWithDifferentControllers$ True | SubAbility$ DBPump
|
||||
SVar:DBPump:DB$ Pump | Defined$ Targeted | KW$ HIDDEN This card doesn't untap during your next untap step. | Duration$ Permanent
|
||||
SVar:OneEach:PlayerCountOpponents$Amount
|
||||
SVar:PlayMain1:TRUE
|
||||
Oracle:Flying\nConfounding Clouds — When Juvenile Mist Dragon enters the battlefield, for each opponent, tap up to one target creature that player controls. Each of those creatures doesn't untap during its controller's next untap step.
|
||||
@@ -0,0 +1,8 @@
|
||||
Name:Lurking Green Dragon
|
||||
ManaCost:3 G
|
||||
Types:Creature Dragon
|
||||
PT:4/4
|
||||
K:Flying
|
||||
S:Mode$ CantAttack | ValidCard$ Card.Self | UnlessDefenderControls$ Creature.withFlying | Description$ CARDNAME can't attack unless defending player controls a creature with flying.
|
||||
AI:RemoveDeck:Random
|
||||
Oracle:Flying\nLurking Green Dragon can't attack unless defending player controls a creature with flying.
|
||||
@@ -0,0 +1,13 @@
|
||||
Name:Mighty Servant of Leuk-o
|
||||
ManaCost:3
|
||||
Types:Artifact Vehicle
|
||||
PT:6/6
|
||||
K:Trample
|
||||
K:Ward:Discard<1/Card>
|
||||
T:Mode$ BecomesCrewed | ValidVehicle$ Card.Self | FirstTimeCrewed$ True | ValidCrewAmount$ 2 | Execute$ DBAnimate | TriggerDescription$ Whenever CARDNAME becomes crewed for the first time each turn, if it was crewed by exactly two creatures, it gains "Whenever this creature deals combat damage to a player, draw two cards" until end of turn.
|
||||
SVar:DBAnimate:DB$ Animate | Defined$ Self | Duration$ UntilEndOfTurn | Triggers$ TrigCDPlayer | StackDescription$ None
|
||||
SVar:TrigCDPlayer:Mode$ DamageDone | ValidSource$ Card.Self | ValidTarget$ Player | Execute$ DBDraw | CombatDamage$ True | TriggerZones$ Battlefield | TriggerDescription$ Whenever this creature deals combat damage to a player, draw two cards.
|
||||
SVar:DBDraw:DB$ Draw | NumCards$ 2
|
||||
K:Crew:4
|
||||
DeckHas:Ability$Discard
|
||||
Oracle:Trample\nWard — Discard a card.\nWhenever Mighty Servant of Leuk-o becomes crewed for the first time each turn, if it was crewed by exactly two creatures, it gains "Whenever this creature deals combat damage to a player, draw two cards" until end of turn.\nCrew 4
|
||||
@@ -0,0 +1,7 @@
|
||||
Name:Myconid Spore Tender
|
||||
ManaCost:3 G
|
||||
Types:Creature Fungus
|
||||
PT:4/1
|
||||
T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TrigDestroy | TriggerDescription$ Infesting Spores — When CARDNAME enters the battlefield, destroy up to one target artifact or enchantment.
|
||||
SVar:TrigDestroy:DB$ Destroy | TargetMin$ 0 | TargetMax$ 1 | ValidTgts$ Artifact,Enchantment | TgtPrompt$ Select target artifact or enchantment
|
||||
Oracle:Infesting Spores — When Myconid Spore Tender enters the battlefield, destroy up to one target artifact or enchantment.
|
||||
6
forge-gui/res/cardsfolder/upcoming/myrkuls_invoker.txt
Normal file
6
forge-gui/res/cardsfolder/upcoming/myrkuls_invoker.txt
Normal file
@@ -0,0 +1,6 @@
|
||||
Name:Myrkul's Invoker
|
||||
ManaCost:2 B
|
||||
Types:Creature Cat Rogue
|
||||
PT:2/3
|
||||
A:AB$ PumpAll | Cost$ 8 | ValidCards$ Creature.YouCtrl | NumAtt$ 2 | KW$ Menace | SpellDescription$ Psychic Blades — Creatures you control get +2/+0 and gain menace until end of turn. (A creature with menace can't be blocked except by two or more creatures.)
|
||||
Oracle:Psychic Blades — {8}: Creatures you control get +2/+0 and gain menace until end of turn. (A creature with menace can't be blocked except by two or more creatures.)
|
||||
Reference in New Issue
Block a user