mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-16 18:58:00 +00:00
Merge branch 'stx_2' into 'master'
STX - 2 April See merge request core-developers/forge!4354
This commit is contained in:
@@ -541,7 +541,11 @@ public class CostAdjustment {
|
||||
}
|
||||
curSa = curSa.getSubAbility();
|
||||
}
|
||||
if (!targetValid) {
|
||||
if (st.hasParam("UnlessValidTarget")) {
|
||||
if (targetValid) {
|
||||
return false;
|
||||
}
|
||||
} else if (!targetValid) {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,23 @@
|
||||
Name:Blex, Vexing Pest
|
||||
ManaCost:2 G
|
||||
Types:Legendary Creature Pest
|
||||
PT:3/2
|
||||
S:Mode$ Continuous | EffectZone$ Battlefield | Affected$ Pest.Other+YouCtrl,Bat.Other+YouCtrl,Insect.Other+YouCtrl,Snake.Other+YouCtrl,Spider.Other+YouCtrl | AddPower$ 1 | AddToughness$ 1 | Description$ Other Pests, Bats, Insects, Snakes, and Spiders you control get +1/+1.
|
||||
T:Mode$ ChangesZone | Origin$ Battlefield | Destination$ Graveyard | ValidCard$ Card.Self | Execute$ TrigGainLife | TriggerDescription$ When CARDNAME dies, you gain 4 life.
|
||||
SVar:TrigGainLife:DB$ GainLife | Defined$ TriggeredCardController | LifeAmount$ 4
|
||||
DeckHas:Ability$LifeGain
|
||||
DeckHints:Type$Pest|Bat|Insect|Snake|Spider
|
||||
AlternateMode:Modal
|
||||
Oracle:Other Pests, Bats, Insects, Snakes, and Spiders you control get +1/+1.\nWhen Blex, Vexing Pest dies, you gain 4 life.
|
||||
|
||||
ALTERNATE
|
||||
|
||||
Name:Search for Blex
|
||||
ManaCost:2 B B
|
||||
Types:Sorcery
|
||||
A:SP$ Dig | DigNum$ 5 | AnyNumber$ True | DestinationZone$ Hand | RememberChanged$ True | DestinationZone2$ Graveyard | SubAbility$ DBLoseLife | StackDescription$ SpellDescription | SpellDescription$ Look at the top five cards of your library. You may put any number of them into your hand and the rest into your graveyard.
|
||||
SVar:DBLoseLife:DB$ LoseLife | LifeAmount$ X | Defined$ You | SubAbility$ DBCleanup | StackDescription$ SpellDescription | SpellDescription$ You lose 3 life for each card you put into your hand this way.
|
||||
SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True
|
||||
SVar:X:Remembered$Valid Card/Times.3
|
||||
DeckHas:Ability$Graveyard
|
||||
Oracle:Look at the top five cards of your library. You may put any number of them into your hand and the rest into your graveyard. You lose 3 life for each card you put into your hand this way.
|
||||
@@ -0,0 +1,15 @@
|
||||
Name:Mavinda, Students' Advocate
|
||||
ManaCost:2 W
|
||||
Types:Legendary Creature Bird Advisor
|
||||
PT:2/3
|
||||
K:Flying
|
||||
A:AB$ Effect | Cost$ 0 | ValidTgts$ Instant.YouOwn,Sorcery.YouOwn | TgtZone$ Graveyard | TgtPrompt$ Select target instant or sorcery card in your graveyard | ActivationLimit$ 1 | RememberObjects$ Targeted | StaticAbilities$ MayPlay,RaiseCost | ReplacementEffects$ ReplaceGraveyard | SubAbility$ DBCleanup | SpellDescription$ You may cast target instant or sorcery card from your graveyard this turn. If that spell doesn't target a creature you control, it costs {8} more to cast this way. If that spell would be put into your graveyard, exile it instead. Activate only once each turn. (You still pay the spell's costs. Timing rules for the spell still apply.)
|
||||
SVar:MayPlay:Mode$ Continuous | MayPlay$ True | EffectZone$ Command | Affected$ Card.IsRemembered | AffectedZone$ Graveyard | Description$ You may cast target instant or sorcery card from your graveyard this turn. (You still pay the spell's costs. Timing rules for the spell still apply.)
|
||||
SVar:RaiseCost:Mode$ RaiseCost | ValidCard$ Card.IsRemembered | ValidTarget$ Creature.YouCtrl | UnlessValidTarget$ True | Activator$ You | Type$ Spell | Amount$ 8 | EffectZone$ Command | Description$ If that spell doesn't target a creature you control, it costs {8} more to cast this way.
|
||||
SVar:ReplaceGraveyard:Event$ Moved | ValidCard$ Card.IsRemembered | Destination$ Graveyard | ReplaceWith$ MoveExile | Description$ If that spell would be put into your graveyard, exile it instead.
|
||||
SVar:MoveExile:DB$ ChangeZone | Defined$ ReplacedCard | Origin$ All | Destination$ Exile | SubAbility$ ExileSelf
|
||||
SVar:ExileSelf:DB$ ChangeZone | Defined$ Self | Origin$ Command | Destination$ Exile
|
||||
SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True
|
||||
DeckHas:Ability$Graveyard
|
||||
DeckNeeds:Types$Instant|Sorcery
|
||||
Oracle:Flying\n{0}: You may cast target instant or sorcery card from your graveyard this turn. If that spell doesn't target a creature you control, it costs {8} more to cast this way. If that spell would be put into your graveyard, exile it instead. Activate only once each turn. (You still pay the spell's costs. Timing rules for the spell still apply.)
|
||||
@@ -1,5 +1,5 @@
|
||||
Name:Necrotic Fumes
|
||||
ManaCost:1 B B
|
||||
Types:Sorcery Lesson
|
||||
A:SP$ ChangeZone | Cost$ B B Exile<1/Creature> | ValidTgts$ Creature,Planeswalker | TgtPrompt$ Select target creature or planeswalker | Origin$ Battlefield | Destination$ Exile | SpellDescription$ Exile target creature or planeswalker.
|
||||
Oracle:As an additional cost to cast this spell, exile a creature you control.\nExile target creature or planeswalker.
|
||||
A:SP$ ChangeZone | Cost$ B B Exile<1/Creature> | ValidTgts$ Creature,Planeswalker | TgtPrompt$ Select target creature or planeswalker | Origin$ Battlefield | Destination$ Exile | SpellDescription$ Exile target creature or planeswalker.
|
||||
Oracle:As an additional cost to cast this spell, exile a creature you control.\nExile target creature or planeswalker.
|
||||
|
||||
@@ -0,0 +1,17 @@
|
||||
Name:Selfless Glyphweaver
|
||||
ManaCost:2 W
|
||||
Types:Creature Human Cleric
|
||||
PT:2/3
|
||||
A:AB$ PumpAll | Cost$ Exile<1/CARDNAME> | ValidCards$ Creature.YouCtrl | KW$ Indestructible | SpellDescription$ Creatures you control gain indestructible until end of turn.
|
||||
AlternateMode:Modal
|
||||
Oracle:Exile Selfless Glyphweaver: Creatures you control gain indestructible until end of turn.
|
||||
|
||||
ALTERNATE
|
||||
|
||||
Name:Deadly Vanity
|
||||
ManaCost:5 B B B
|
||||
Types:Sorcery
|
||||
A:SP$ ChooseCard | Defined$ You | Amount$ 1 | Choices$ Creature,Planeswalker | ChoiceTitle$ Choose a creature or planeswalker | Mandatory$ True | ChoiceZone$ Battlefield | SubAbility$ DBDestroyAll | RememberChosen$ True | AILogic$ BestCard | StackDescription$ SpellDescription | SpellDescription$ Choose a creature or planeswalker,
|
||||
SVar:DBDestroyAll:DB$ DestroyAll | ValidCards$ Creature.IsNotRemembered,Planeswalker.IsNotRemembered | SubAbility$ DBCleanup | StackDescription$ SpellDescription | SpellDescription$ then destroy all other creatures and planeswalkers.
|
||||
SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True
|
||||
Oracle:Choose a creature or planeswalker, then destroy all other creatures and planeswalkers.
|
||||
Reference in New Issue
Block a user