mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-17 19:28:01 +00:00
Update scripts (#5175)
Co-authored-by: tool4EvEr <tool4EvEr@192.168.0.60>
This commit is contained in:
@@ -2037,7 +2037,7 @@ public class AbilityUtils {
|
||||
}
|
||||
|
||||
if (sq[0].equals("CrewSize")) {
|
||||
return doXMath(c.getCrewedByThisTurn().size(), expr, c, ctb);
|
||||
return doXMath(c.getCrewedByThisTurn() == null ? 0 : c.getCrewedByThisTurn().size(), expr, c, ctb);
|
||||
}
|
||||
|
||||
if (sq[0].equals("Intensity")) {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
Name:Calix, Guided By Fate
|
||||
Name:Calix, Guided by Fate
|
||||
ManaCost:1 G W
|
||||
Types:Legendary Enchantment Creature Human Druid
|
||||
PT:2/2
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
Name:Coming in Hot
|
||||
Name:Coming In Hot
|
||||
ManaCost:R
|
||||
Types:Instant
|
||||
A:SP$ Pump | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumAtt$ +1 | KW$ First Strike | SubAbility$ DBScry | SpellDescription$ Target creature gets +1/+0 and gains first strike until end of turn. Scry 1.
|
||||
|
||||
@@ -5,6 +5,6 @@ PT:4/4
|
||||
K:Flying
|
||||
T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ MindFishing | TriggerDescription$ When CARDNAME enters the battlefield, target opponent mills five cards. You may cast an instant or sorcery card from among them without paying its mana cost.
|
||||
SVar:MindFishing:DB$ Mill | NumCards$ 5 | ValidTgts$ Opponent | TgtPrompt$ Select target opponent to mill | RememberMilled$ True | SubAbility$ FishyCast
|
||||
SVar:FishyCast:DB$ Play | ValidZone$ Graveyard | Valid$ Instant.IsRemembered,Sorcery.IsRemembered | Controller$ You | WithoutManaCost$ True | ValidSA$ Spell | Optional$ True | Amount$ 1 | SubAbility$ DBCleanup
|
||||
SVar:FishyCast:DB$ Play | ValidZone$ Graveyard,Exile | Valid$ Instant.IsRemembered,Sorcery.IsRemembered | Controller$ You | WithoutManaCost$ True | ValidSA$ Spell | Optional$ True | Amount$ 1 | SubAbility$ DBCleanup
|
||||
SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True
|
||||
Oracle:Flying\nWhen Jace's Mindseeker enters the battlefield, target opponent mills five cards. You may cast an instant or sorcery spell from among them without paying its mana cost.
|
||||
|
||||
@@ -5,7 +5,7 @@ PT:1/4
|
||||
T:Mode$ CommitCrime | ValidPlayer$ You | TriggerZones$ Battlefield | Execute$ TrigPutCounter | ActivationLimit$ 1 | TriggerDescription$ Whenever you commit a crime, put a +1/+1 counter on CARDNAME. Then you may exile a card from a graveyard. If a creature card was exiled this way, you may have NICKNAME become a copy of that card until end of turn. This ability triggers only once each turn. (Targeting opponents, anything they control, and/or cards in their graveyards is a crime.)
|
||||
SVar:TrigPutCounter:DB$ PutCounter | Defined$ Self | CounterType$ P1P1 | CounterNum$ 1 | SubAbility$ DBExile
|
||||
SVar:DBExile:DB$ ChangeZone | ChangeType$ Card | Origin$ Graveyard | Optional$ True | Hidden$ True | Destination$ Exile | RememberChanged$ True | SubAbility$ DBCopy
|
||||
SVar:DBCopy:DB$ Clone | Defined$ Remembered | CloneTarget$ Self | Optional$ True | Duration$ UntilEndOfTurn | SubAbility$ DBCleanup
|
||||
SVar:DBCopy:DB$ Clone | Defined$ Remembered.Creature | CloneTarget$ Self | Optional$ True | Duration$ UntilEndOfTurn | SubAbility$ DBCleanup
|
||||
SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True
|
||||
DeckHas:Ability$Counters
|
||||
DeckHints:Ability$Mill|Graveyard
|
||||
|
||||
@@ -2,7 +2,7 @@ Name:Martyrdom
|
||||
ManaCost:1 W W
|
||||
Types:Instant
|
||||
A:SP$ Animate | ValidTgts$ Creature.YouCtrl | TgtPrompt$ Select target creature you control | Abilities$ Martyr | TransferActivator$ True | StackDescription$ Until end of turn, {c:Targeted} gains "{0}: The next 1 damage that would be dealt to target creature, planeswalker, or player this turn is dealt to this creature instead." | SpellDescription$ Until end of turn, target creature you control gains "{0}: The next 1 damage that would be dealt to target creature, planeswalker, or player this turn is dealt to this creature instead." Only you may activate this ability.
|
||||
SVar:Martyr:AB$ Effect | Cost$ 0 | ValidTgts$ Any | TgtPrompt$ Select any target to redirect damage from | Amount$ 1 | ReplacementEffects$ DamageEvent | Duration$ UntilHostLeavesPlayOrEOT | RememberObjects$ Targeted | ImprintCards$ Self | ExileOnMoved$ Battlefield | StackDescription$ The next 1 damage that would be dealt to {Targeted} this turn is dealt to {c:Self} instead. | SpellDescription$ The next 1 damage that would be dealt to target creature, planeswalker, or player this turn is dealt to CARDNAME instead.
|
||||
SVar:Martyr:AB$ Effect | Cost$ 0 | ValidTgts$ Creature,Planeswalker,Player | TgtPrompt$ Select a creature, planeswalker, or player to redirect damage from | Amount$ 1 | ReplacementEffects$ DamageEvent | Duration$ UntilHostLeavesPlayOrEOT | RememberObjects$ Targeted | ImprintCards$ Self | ExileOnMoved$ Battlefield | StackDescription$ The next 1 damage that would be dealt to {Targeted} this turn is dealt to {c:Self} instead. | SpellDescription$ The next 1 damage that would be dealt to target creature, planeswalker, or player this turn is dealt to CARDNAME instead.
|
||||
SVar:DamageEvent:Event$ DamageDone | IsPresent$ Card.IsImprinted+Creature | ValidTarget$ Player.IsRemembered,Card.IsRemembered | ReplaceWith$ DamageEventDmg | DamageTarget$ Imprinted | Description$ The next 1 damage that would be dealt to this target this turn is dealt to EFFECTSOURCE instead.
|
||||
SVar:DamageEventDmg:DB$ ReplaceSplitDamage | DamageTarget$ Imprinted
|
||||
Oracle:Until end of turn, target creature you control gains "{0}: The next 1 damage that would be dealt to target creature, planeswalker, or player this turn is dealt to this creature instead." Only you may activate this ability.
|
||||
|
||||
@@ -4,7 +4,7 @@ Types:Legendary Creature Goblin Noble
|
||||
PT:4/4
|
||||
T:Mode$ ChangesZone | ValidCard$ Card.Self | Origin$ Any | Destination$ Battlefield | Execute$ TrigDig | TriggerDescription$ When CARDNAME enters the battlefield, reveal the top six cards of your library. Put all Goblin creature cards with mana value 5 or less from among them onto the battlefield and the rest on the bottom of your library in a random order.
|
||||
SVar:TrigDig:DB$ Dig | DigNum$ 6 | Reveal$ True | ChangeNum$ All | ChangeValid$ Creature.Goblin+cmcLE5 | DestinationZone$ Battlefield | DestinationZone2$ Library | LibraryPosition$ -1 | RestRandomOrder$ True
|
||||
T:Mode$ Attacks | ValidCard$ Card.Self | Execute$ TrigPump | TriggerDescription$ Whenever CARDNAME attacks, it gets +1/+1 until end of turn for each other Goblin you control.
|
||||
T:Mode$ Attacks | ValidCard$ Card.Self | Execute$ TrigPump | TriggerDescription$ Whenever NICKNAME attacks, it gets +1/+1 until end of turn for each other Goblin you control.
|
||||
SVar:TrigPump:DB$ Pump | Defined$ Self | NumAtt$ X | NumDef$ X
|
||||
SVar:X:Count$Valid Goblin.Other+YouCtrl
|
||||
DeckHints:Type$Goblin
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
Name:Pillage The Bog
|
||||
Name:Pillage the Bog
|
||||
ManaCost:B G
|
||||
Types:Sorcery
|
||||
A:SP$ Dig | DigNum$ X | ChangeNum$ 1 | RestRandomOrder$ True | SpellDescription$ Look at the top X cards of your library, where X is twice the number of lands you control. Put one of them into your hand and the rest on the bottom of your library in a random order.
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
Name:Wibbly-Wobbly, Timey-Wimey
|
||||
Name:Wibbly-wobbly, Timey-wimey
|
||||
ManaCost:1 U
|
||||
Types:Sorcery
|
||||
A:SP$ TimeTravel | SubAbility$ DBDraw | SpellDescription$ Time travel. (For each suspended card you own and each permanent you control with a time counter on it, you may add or remove a time counter.)
|
||||
|
||||
Reference in New Issue
Block a user