mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-17 19:28:01 +00:00
- Added Wrexial, the Risen Deep.
This commit is contained in:
1
.gitattributes
vendored
1
.gitattributes
vendored
@@ -10218,6 +10218,7 @@ res/cardsfolder/w/wrench_mind.txt svneol=native#text/plain
|
|||||||
res/cardsfolder/w/wrens_run_packmaster.txt svneol=native#text/plain
|
res/cardsfolder/w/wrens_run_packmaster.txt svneol=native#text/plain
|
||||||
res/cardsfolder/w/wretched_anurid.txt svneol=native#text/plain
|
res/cardsfolder/w/wretched_anurid.txt svneol=native#text/plain
|
||||||
res/cardsfolder/w/wretched_banquet.txt -text
|
res/cardsfolder/w/wretched_banquet.txt -text
|
||||||
|
res/cardsfolder/w/wrexial_the_risen_deep.txt -text
|
||||||
res/cardsfolder/w/wring_flesh.txt svneol=native#text/plain
|
res/cardsfolder/w/wring_flesh.txt svneol=native#text/plain
|
||||||
res/cardsfolder/w/wu_admiral.txt svneol=native#text/plain
|
res/cardsfolder/w/wu_admiral.txt svneol=native#text/plain
|
||||||
res/cardsfolder/w/wu_elite_cavalry.txt svneol=native#text/plain
|
res/cardsfolder/w/wu_elite_cavalry.txt svneol=native#text/plain
|
||||||
|
|||||||
16
res/cardsfolder/w/wrexial_the_risen_deep.txt
Normal file
16
res/cardsfolder/w/wrexial_the_risen_deep.txt
Normal file
@@ -0,0 +1,16 @@
|
|||||||
|
Name:Wrexial, the Risen Deep
|
||||||
|
ManaCost:3 U U B
|
||||||
|
Types:Legendary Creature Kraken
|
||||||
|
Text:no text
|
||||||
|
PT:5/8
|
||||||
|
K:Islandwalk
|
||||||
|
K:Swampwalk
|
||||||
|
T:Mode$ DamageDone | ValidSource$ Card.Self | ValidTarget$ Player | CombatDamage$ True | Execute$ TrigPump | TriggerZones$ Battlefield | TriggerDescription$ Whenever CARDNAME deals combat damage to a player, you may cast target instant or sorcery card from that player's graveyard without paying its mana cost. If that card would be put into a graveyard this turn, exile it instead.
|
||||||
|
SVar:TrigPump:AB$ Pump | Cost$ 0 | TgtZone$ Graveyard | ValidTgts$ Instant.YouDontCtrl,Sorcery.YouDontCtrl | TgtPrompt$ Choose target instant or sorcery card from an opponent's graveyard | KW$ HIDDEN If CARDNAME would be put into a graveyard, exile it instead. | PumpZone$ Graveyard | SubAbility$ TrigPlay
|
||||||
|
SVar:TrigPlay:DB$ Play | Defined$ Targeted | WithoutManaCost$ True
|
||||||
|
SVar:Rarity:Mythic
|
||||||
|
SVar:Picture:http://www.wizards.com/global/images/magic/general/wrexial_the_risen_deep.jpg
|
||||||
|
SetInfo:COM|Mythic|http://magiccards.info/scans/en/cmd/239.jpg
|
||||||
|
SetInfo:WWK|Mythic|http://magiccards.info/scans/en/wwk/120.jpg
|
||||||
|
Oracle:Islandwalk, swampwalk\nWhenever Wrexial, the Risen Deep deals combat damage to a player, you may cast target instant or sorcery card from that player's graveyard without paying its mana cost. If that card would be put into a graveyard this turn, exile it instead.
|
||||||
|
End
|
||||||
@@ -1017,7 +1017,6 @@ public final class AbilityFactoryChangeZone {
|
|||||||
if (params.containsKey("Unimprint")) {
|
if (params.containsKey("Unimprint")) {
|
||||||
card.clearImprinted();
|
card.clearImprinted();
|
||||||
}
|
}
|
||||||
System.out.println("change fetchList:" + fetchList);
|
|
||||||
|
|
||||||
for (int i = 0; i < changeNum; i++) {
|
for (int i = 0; i < changeNum; i++) {
|
||||||
if ((fetchList.size() == 0) || (destination == null)) {
|
if ((fetchList.size() == 0) || (destination == null)) {
|
||||||
|
|||||||
@@ -308,7 +308,12 @@ public final class AbilityFactoryPlay {
|
|||||||
newSA.setDescription(sa.getDescription() + " (without paying its mana cost)");
|
newSA.setDescription(sa.getDescription() + " (without paying its mana cost)");
|
||||||
AllZone.getGameAction().playSpellAbility(newSA);
|
AllZone.getGameAction().playSpellAbility(newSA);
|
||||||
} else if (tgtSA.canPlayAI()) {
|
} else if (tgtSA.canPlayAI()) {
|
||||||
ComputerUtil.playSpellAbilityWithoutPayingManaCost(tgtSA);
|
if (sa instanceof Spell) {
|
||||||
|
Spell spell = (Spell) sa;
|
||||||
|
if (spell.canPlayFromEffectAI(false, true)) {
|
||||||
|
ComputerUtil.playSpellAbilityWithoutPayingManaCost(tgtSA);
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
if (controller.isHuman()) {
|
if (controller.isHuman()) {
|
||||||
|
|||||||
@@ -555,6 +555,7 @@ public class AbilityFactoryPump {
|
|||||||
*/
|
*/
|
||||||
private boolean pumpTgtAI(final SpellAbility sa, final int defense, final int attack, final boolean mandatory) {
|
private boolean pumpTgtAI(final SpellAbility sa, final int defense, final int attack, final boolean mandatory) {
|
||||||
if (!mandatory
|
if (!mandatory
|
||||||
|
&& sa.getPayCosts() != null
|
||||||
&& AllZone.getPhaseHandler().isAfter(Constant.Phase.COMBAT_DECLARE_BLOCKERS_INSTANT_ABILITY)
|
&& AllZone.getPhaseHandler().isAfter(Constant.Phase.COMBAT_DECLARE_BLOCKERS_INSTANT_ABILITY)
|
||||||
&& !(this.abilityFactory.isCurse() && ((defense < 0) || !this
|
&& !(this.abilityFactory.isCurse() && ((defense < 0) || !this
|
||||||
.containsCombatRelevantKeyword(this.keywords)))) {
|
.containsCombatRelevantKeyword(this.keywords)))) {
|
||||||
@@ -571,7 +572,12 @@ public class AbilityFactoryPump {
|
|||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
list = this.getPumpCreatures(defense, attack, sa);
|
if (!tgt.canTgtCreature()) {
|
||||||
|
Zone zone = tgt.getZone().get(0);
|
||||||
|
list = AllZoneUtil.getCardsIn(zone);
|
||||||
|
} else {
|
||||||
|
list = this.getPumpCreatures(defense, attack, sa);
|
||||||
|
}
|
||||||
if (tgt.canTgtPlayer() && !tgt.canOnlyTgtOpponent()) {
|
if (tgt.canTgtPlayer() && !tgt.canOnlyTgtOpponent()) {
|
||||||
tgt.addTarget(AllZone.getComputerPlayer());
|
tgt.addTarget(AllZone.getComputerPlayer());
|
||||||
return true;
|
return true;
|
||||||
@@ -617,7 +623,7 @@ public class AbilityFactoryPump {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
t = CardFactoryUtil.getBestCreatureAI(list);
|
t = CardFactoryUtil.getBestAI(list);
|
||||||
tgt.addTarget(t);
|
tgt.addTarget(t);
|
||||||
list.remove(t);
|
list.remove(t);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user