mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-15 18:28:00 +00:00
Merge branch 'colfenor' into 'master'
CMR: Colfenor, the Last Yew and RememberTriggeringCard!!! See merge request core-developers/forge!3316
This commit is contained in:
@@ -573,6 +573,11 @@ public class TriggerHandler {
|
|||||||
host.addRemembered(sa.getActivatingPlayer());
|
host.addRemembered(sa.getActivatingPlayer());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (regtrig.hasParam("RememberTriggeringCard")) {
|
||||||
|
Card triggeredCard = ((Card) sa.getTriggeringObject(AbilityKey.Card));
|
||||||
|
host.addRemembered(triggeredCard);
|
||||||
|
}
|
||||||
|
|
||||||
sa.setStackDescription(sa.toString());
|
sa.setStackDescription(sa.toString());
|
||||||
if (sa.getApi() == ApiType.Charm && !sa.isWrapper()) {
|
if (sa.getApi() == ApiType.Charm && !sa.isWrapper()) {
|
||||||
// need to be set for demonic pact to look for chosen modes
|
// need to be set for demonic pact to look for chosen modes
|
||||||
|
|||||||
13
forge-gui/res/cardsfolder/upcoming/colfenor_the_last_yew.txt
Executable file
13
forge-gui/res/cardsfolder/upcoming/colfenor_the_last_yew.txt
Executable file
@@ -0,0 +1,13 @@
|
|||||||
|
Name:Colfenor, the Last Yew
|
||||||
|
ManaCost:3 W B G
|
||||||
|
Types:Legendary Creature Treefolk Shaman
|
||||||
|
PT:3/7
|
||||||
|
K:Vigilance
|
||||||
|
K:Reach
|
||||||
|
T:Mode$ ChangesZone | Origin$ Battlefield | Destination$ Graveyard | ValidCard$ Creature.Other+YouCtrl | RememberTriggeringCard$ True | TriggerZones$ Battlefield | Execute$ TrigChange | TriggerDescription$ Whenever CARDNAME or another creature you control dies, return up to one other target creature card with lesser toughness from your graveyard to your hand.
|
||||||
|
T:Mode$ ChangesZone | Origin$ Battlefield | Destination$ Graveyard | ValidCard$ Card.Self | Execute$ TrigChange | Secondary$ True | TriggerController$ TriggeredCardController | TriggerDescription$ Whenever CARDNAME or another creature you control dies, return up to one other target creature card with lesser toughness from your graveyard to your hand.
|
||||||
|
SVar:TrigChange:DB$ ChangeZone | TargetMin$ 0 | TargetMax$ 1 | Origin$ Graveyard | Destination$ Hand | ValidTgts$ Creature.Other+IsNotRemembered+toughnessLTX+YouOwn | TgtPrompt$ Select up to one other target creature card with lesser toughness from your graveyard to return to your hand | References$ X | SubAbility$ DBCleanup
|
||||||
|
SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True
|
||||||
|
SVar:X:TriggeredCard$CardToughness
|
||||||
|
DeckHas:Ability$Graveyard
|
||||||
|
Oracle:Vigilance, reach\nWhenever Colfenor, the Last Yew or another creature you control dies, return up to one other target creature card with lesser toughness from your graveyard to your hand.
|
||||||
Reference in New Issue
Block a user