mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-17 03:08:02 +00:00
Rottenmouth Viper (#5704)
This commit is contained in:
@@ -35,7 +35,7 @@ public enum CounterEnumType {
|
|||||||
|
|
||||||
LOYALTY("LOYAL", 198, 198, 198),
|
LOYALTY("LOYAL", 198, 198, 198),
|
||||||
|
|
||||||
ACORN("ACORN", 139,69,19),
|
ACORN("ACORN", 139, 69, 19),
|
||||||
|
|
||||||
AEGIS("AEGIS", 207, 207, 207),
|
AEGIS("AEGIS", 207, 207, 207),
|
||||||
|
|
||||||
@@ -53,6 +53,8 @@ public enum CounterEnumType {
|
|||||||
|
|
||||||
BLESSING("BLESS", 251, 0, 94),
|
BLESSING("BLESS", 251, 0, 94),
|
||||||
|
|
||||||
|
BLIGHT("BLGHT", 130, 115, 160),
|
||||||
|
|
||||||
BLOOD("BLOOD", 255, 108, 111),
|
BLOOD("BLOOD", 255, 108, 111),
|
||||||
|
|
||||||
BLOODLINE("BLDLN", 224, 44, 44),
|
BLOODLINE("BLDLN", 224, 44, 44),
|
||||||
|
|||||||
19
forge-gui/res/cardsfolder/upcoming/rottenmouth_viper.txt
Normal file
19
forge-gui/res/cardsfolder/upcoming/rottenmouth_viper.txt
Normal file
@@ -0,0 +1,19 @@
|
|||||||
|
Name:Rottenmouth Viper
|
||||||
|
ManaCost:5 B
|
||||||
|
Types:Creature Elemental Snake
|
||||||
|
PT:6/6
|
||||||
|
A:SP$ PermanentCreature | Cost$ 5 B Sac<X/Permanent.nonLand/nonland permanent> | AILogic$ SacToReduceCost
|
||||||
|
S:Mode$ ReduceCost | ValidCard$ Card.Self | Type$ Spell | Amount$ X | EffectZone$ All | Relative$ True | Description$ As an additional cost to cast this spell, you may sacrifice any number of nonland permanents. This spell costs {1} less to cast for each permanent sacrificed this way.
|
||||||
|
SVar:X:Count$xPaid
|
||||||
|
SVar:AIPreference:SacCost$Artifact.token+nonLegendary,Creature.token+powerLE2+toughnessLE2,Creature.cmcLE2+powerLE2+toughnessLE2
|
||||||
|
T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TrigPutCounter | TriggerDescription$ Whenever CARDNAME enters or attacks, put a blight counter on it. Then for each blight counter on it, each opponent loses 4 life unless that player sacrifices a nonland permanent or discards a card.
|
||||||
|
T:Mode$ Attacks | ValidCard$ Card.Self | Execute$ TrigPutCounter | Secondary$ True | TriggerDescription$ Whenever CARDNAME enters or attacks, put a blight counter on it. Then for each blight counter on it, each opponent loses 4 life unless that player sacrifices a nonland permanent or discards a card.
|
||||||
|
SVar:DBPutCounter:DB$ PutCounter | CounterType$ BLIGHT | CounterNum$ 1 | SubAbility$ DBRepeat
|
||||||
|
SVar:DBRepeat:DB$ Repeat | MaxRepeat$ Y | RepeatSubAbility$ RepeatTorment | AILogic$ MaxY | StackDescription$ Each opponent loses 4 life unless that player sacrifices a nonland permanent or discards a card.
|
||||||
|
SVar:RepeatTorment:DB$ GenericChoice | Defined$ Opponent | TempRemember$ Chooser | Choices$ SacNonland,Discard | FallbackAbility$ LoseLifeFallback | AILogic$ PayUnlessCost
|
||||||
|
SVar:Discard:DB$ LoseLife | Defined$ Remembered | LifeAmount$ 4 | UnlessCost$ Discard<1/Card> | UnlessPayer$ Remembered | SpellDescription$ You lose 4 life unless you discard a card
|
||||||
|
SVar:SacNonland:DB$ LoseLife | Defined$ Remembered | LifeAmount$ 4 | UnlessCost$ Sac<1/Permanent.nonLand/nonland permanent> | UnlessPayer$ Remembered | SpellDescription$ You lose 4 life unless you sacrifice a nonland permanent
|
||||||
|
SVar:LoseLifeFallback:DB$ LoseLife | Defined$ Remembered | LifeAmount$ 4
|
||||||
|
SVar:Y:Count$CardCounters.BLIGHT
|
||||||
|
DeckHas:Ability$Sacrifice|Counters
|
||||||
|
Oracle:As an additional cost to cast this spell, you may sacrifice any number of nonland permanents. This spell costs {1} less to cast for each permanent sacrificed this way.\nWhenever Rottenmouth Viper enters or attacks, put a blight counter on it. Then for each blight counter on it, each opponent loses 4 life unless that player sacrifices a nonland permanent or discards a card.
|
||||||
Reference in New Issue
Block a user