mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-19 12:18:00 +00:00
- CNS: Added Drakestown Forgotten and Scourge of the Throne
This commit is contained in:
2
.gitattributes
vendored
2
.gitattributes
vendored
@@ -14899,6 +14899,8 @@ forge-gui/res/cardsfolder/w/wurmskin_forger.txt svneol=native#text/plain
|
||||
forge-gui/res/cardsfolder/w/wurmweaver_coil.txt svneol=native#text/plain
|
||||
forge-gui/res/cardsfolder/w/wydwen_the_biting_gale.txt svneol=native#text/plain
|
||||
forge-gui/res/cardsfolder/w/wyluli_wolf.txt svneol=native#text/plain
|
||||
forge-gui/res/cardsfolder/x/drakestown_forgotten.txt -text
|
||||
forge-gui/res/cardsfolder/x/scourge_of_the_throne.txt -text
|
||||
forge-gui/res/cardsfolder/x/xantcha.txt -text
|
||||
forge-gui/res/cardsfolder/x/xanthic_statue.txt svneol=native#text/plain
|
||||
forge-gui/res/cardsfolder/x/xantid_swarm.txt -text
|
||||
|
||||
@@ -18,6 +18,7 @@
|
||||
package forge.game.trigger;
|
||||
|
||||
import forge.game.Game;
|
||||
import forge.game.GameEntity;
|
||||
import forge.game.TriggerReplacementBase;
|
||||
import forge.game.card.Card;
|
||||
import forge.game.phase.PhaseHandler;
|
||||
@@ -281,10 +282,16 @@ public abstract class Trigger extends TriggerReplacementBase {
|
||||
}
|
||||
|
||||
String condition = this.mapParams.get("Condition");
|
||||
if( "AltCost".equals(condition) ) {
|
||||
if ("AltCost".equals(condition)) {
|
||||
final Card moved = (Card) runParams.get("Card");
|
||||
if( null != moved && !moved.isOptionalCostPaid(OptionalCost.AltCost))
|
||||
return false;
|
||||
} else if ("AttackedPlayerWithMostLife".equals(condition)) {
|
||||
GameEntity attacked = (GameEntity) runParams.get("Attacked");
|
||||
if (attacked == null || !attacked.isValid("Player.withMostLife",
|
||||
this.getHostCard().getController(), this.getHostCard())) {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
12
forge-gui/res/cardsfolder/x/drakestown_forgotten.txt
Normal file
12
forge-gui/res/cardsfolder/x/drakestown_forgotten.txt
Normal file
@@ -0,0 +1,12 @@
|
||||
Name:Drakestown Forgotten
|
||||
ManaCost:4 B
|
||||
Types:Creature Zombie
|
||||
PT:0/0
|
||||
K:etbCounter:P1P1:X:no Condition:CARDNAME enters the battlefield with X +1/+1 counters on it, where X is the number of creature cards in all graveyards.
|
||||
SVar:X:Count$TypeInAllYards.Creature
|
||||
SVar:NeedsToPlayVar:X GE4
|
||||
A:AB$ Pump | Cost$ 2 B SubCounter<1/P1P1> | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumAtt$ -1 | NumDef$ -1 | IsCurse$ True | SpellDescription$ Target creature gets -1/-1 until end of turn.
|
||||
SVar:Picture:http://www.wizards.com/global/images/magic/general/drakestown_forgotten.jpg
|
||||
|
||||
|
||||
|
||||
10
forge-gui/res/cardsfolder/x/scourge_of_the_throne.txt
Normal file
10
forge-gui/res/cardsfolder/x/scourge_of_the_throne.txt
Normal file
@@ -0,0 +1,10 @@
|
||||
Name:Scourge of the Throne
|
||||
ManaCost:4 R R
|
||||
Types:Creature Dragon
|
||||
PT:5/5
|
||||
K:Flying
|
||||
K:Dethrone
|
||||
T:Mode$ Attacks | ValidCard$ Creature.Self | TriggerZones$ Battlefield | Execute$ TrigUntap | FirstAttack$ True | Condition$ AttackedPlayerWithMostLife | TriggerDescription$ Whenever CARDNAME attacks for the first time each turn, if it's attacking the player with the most life or tied for most life, untap all attacking creatures. After this phase, there is an additional combat phase.
|
||||
SVar:TrigUntap:AB$ UntapAll | Cost$ 0 | ValidCards$ Creature.YouCtrl | SubAbility$ DBAddCombat
|
||||
SVar:DBAddCombat:DB$ AddPhase | ExtraPhase$ BeginCombat | AfterPhase$ EndCombat
|
||||
SVar:Picture:http://www.wizards.com/global/images/magic/general/scourge_of_the_throne.jpg
|
||||
Reference in New Issue
Block a user