Skip to content

Commit

Permalink
Merge pull request Card-Forge#3372 from Simisays/LOTR25
Browse files Browse the repository at this point in the history
LTC 5 cards
  • Loading branch information
kevlahnota authored Jun 30, 2023
2 parents 0e9f091 + 83f94b6 commit 409a3a6
Show file tree
Hide file tree
Showing 6 changed files with 61 additions and 0 deletions.
2 changes: 2 additions & 0 deletions forge-game/src/main/java/forge/game/card/CounterEnumType.java
Original file line number Diff line number Diff line change
Expand Up @@ -310,6 +310,8 @@ public enum CounterEnumType {
REPRIEVE("REPR", 240, 120, 50),

REJECTION("REJECT", 212, 235, 242),

RIBBON("RIBBON", 233, 245, 232),

RITUAL("RITUAL", 155, 17, 30),

Expand Down
15 changes: 15 additions & 0 deletions forge-gui/res/cardsfolder/upcoming/mirkwood_elk.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
Name:Mirkwood Elk
ManaCost:5 G
Types:Creature Elk
PT:6/6
K:Trample
T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TrigChange | TriggerDescription$ Whenever CARDNAME enters the battlefield or attacks, return target Elf card from your graveyard to your hand. You gain life equal to that card's power.
T:Mode$ Attacks | ValidCard$ Card.Self | Execute$ TrigChange | TriggerZones$ Battlefield | Secondary$ True | TriggerDescription$ Whenever CARDNAME enters the battlefield or attacks, return target Elf card from your graveyard to your hand. You gain life equal to that card's power.
SVar:TrigChange:DB$ ChangeZone | Origin$ Graveyard | Destination$ Hand | ValidTgts$ Elf.YouOwn | RememberChanged$ True | SubAbility$ DBGainLife
SVar:DBGainLife:DB$ GainLife | Defined$ You | LifeAmount$ X | SubAbility$ DBCleanup
SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True
SVar:X:Remembered$CardPower
SVar:HasAttackEffect:TRUE
DeckHas:Ability$LifeGain
DeckHints:Type$Elf|Graveyard
Oracle:Trample\nWhenever Mirkwood Elk enters the battlefield or attacks, return target Elf card from your graveyard to your hand. You gain life equal to that card's power.
12 changes: 12 additions & 0 deletions forge-gui/res/cardsfolder/upcoming/of_herbs_and_stewed_rabbit.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
Name:Of Herbs and Stewed Rabbit
ManaCost:2 W
Types:Enchantment Saga
K:Saga:3:DBPutCounter,DBDraw,DBHalfing
SVar:DBPutCounter:DB$ PutCounter | ValidTgts$ Creature | TargetMin$ 0 | TargetMax$ 1 | TgtPrompt$ Select up to one target creature | CounterType$ P1P1 | SubAbility$ DBFood | SpellDescription$ Put a +1/+1 counter on up to one target creature. Create a Food token.
SVar:DBFood:DB$ Token | TokenAmount$ 1 | TokenScript$ c_a_food_sac
SVar:DBDraw:DB$ Draw | SubAbility$ DBFood | SpellDescription$ Draw a card. Create a Food token.
SVar:DBHalfing:DB$ Token | TokenAmount$ X | TokenScript$ w_1_1_halfling | SpellDescription$ Create a 1/1 white Halfling creature token for each Food you control.
SVar:X:Count$Valid Food.YouCtrl
DeckHas:Ability$Token|Sacrifice|Counters & Type$Artifact|Food|Halfling
DeckHints:Type$Food
Oracle:(As this Saga enters and after your draw step, add a lore counter. Sacrifice after III.)\nI — Put a +1/+1 counter on up to one target creature. Create a Food token.\nII — Draw a card. Create a Food token.\nIII — Create a 1/1 white Halfling creature token for each Food you control.
15 changes: 15 additions & 0 deletions forge-gui/res/cardsfolder/upcoming/prize_pig.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
Name:Prize Pig
ManaCost:1 G
Types:Creature Boar
PT:0/3
T:Mode$ LifeGained | TriggerZones$ Battlefield | ValidPlayer$ You | Execute$ TrigPutCounter | TriggerDescription$ Whenever you gain life, put that many ribbon counters on CARDNAME. Then if there are three or more ribbon counters on CARDNAME, remove those counters and untap it.
SVar:TrigPutCounter:DB$ PutCounter | Defined$ Self | CounterType$ RIBBON | CounterNum$ Y | SubAbility$ DBRemoveCounters
SVar:DBRemoveCounters:DB$ RemoveCounter | CounterType$ RIBBON | CounterNum$ All | RememberRemoved$ True | ConditionDefined$ Self | ConditionPresent$ Card.counters_GE3_RIBBON | SubAbility$ DBUntap
SVar:DBUntap:DB$ Untap | ConditionCheckSVar$ X | SubAbility$ DBCleanup
SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True
SVar:X:Count$RememberedSize
SVar:Y:TriggerCount$LifeAmount
A:AB$ Mana | Cost$ T | Produced$ Any | SpellDescription$ Add one mana of any color.
DeckHints:Ability$LifeGain
DeckHas:Ability$Counters
Oracle:Whenever you gain life, put that many ribbon counters on Prize Pig. Then if there are three or more ribbon counters on Prize Pig, remove those counters and untap it.\n{T}: Add one mana of any color.
6 changes: 6 additions & 0 deletions forge-gui/res/cardsfolder/upcoming/raise_the_palisade.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
Name:Raise the Palisade
ManaCost:4 U
Types:Sorcery
A:SP$ ChooseType | Defined$ You | Type$ Creature | SubAbility$ DBReturnAll | AILogic$ MostProminentComputerControls | SpellDescription$ Choose a creature type. Return all creatures that aren't of the chosen type to their owners' hands.
SVar:DBReturnAll:DB$ ChangeZoneAll | ChangeType$ Creature.IsNotChosenType | Origin$ Battlefield | Destination$ Hand
Oracle:Choose a creature type. Return all creatures that aren't of the chosen type to their owners' hands.
11 changes: 11 additions & 0 deletions forge-gui/res/cardsfolder/upcoming/rampaging_war_mammoth.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
Name:Rampaging War Mammoth
ManaCost:5 R R
Types:Creature Elephant
PT:9/7
K:Trample
K:Cycling:X 2 R
T:Mode$ Cycled | ValidCard$ Card.Self | Execute$ TrigDestroy | TriggerDescription$ When you cycle CARDNAME, destroy up to X target artifacts.
SVar:TrigDestroy:DB$ Destroy | ValidTgts$ Artifact | TgtPrompt$ Select up to X target artifacts | TargetMin$ 0 | TargetMax$ X
SVar:X:Count$xPaid
DeckHas:Ability$Discard
Oracle:Trample\nCycling {X}{2}{R} ({X}{2}{R}, Discard this card: Draw a card.)\nWhen you cycle Rampaging War Mammoth, destroy up to X target artifacts.

0 comments on commit 409a3a6

Please sign in to comment.