mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-20 20:58:03 +00:00
added the option Exile to spBounceTgt. Added Altar's Light.
This commit is contained in:
@@ -1,3 +1,35 @@
|
|||||||
|
Altar's Light
|
||||||
|
2 W W
|
||||||
|
Instant
|
||||||
|
Exile target artifact or enchantment.
|
||||||
|
spBounceTgt:Artifact,Enchantment:Exile
|
||||||
|
|
||||||
|
Hoodwink
|
||||||
|
1 U
|
||||||
|
Instant
|
||||||
|
Return target artifact, enchantment, or land to its owner's hand.
|
||||||
|
spBounceTgt:Artifact,Enchantment,Land:Hand
|
||||||
|
|
||||||
|
Disperse
|
||||||
|
1 U
|
||||||
|
Instant
|
||||||
|
Return target nonland permanent to its owner's hand.
|
||||||
|
spBounceTgt:Artifact,Enchantment,Creature,Planeswalker:Hand
|
||||||
|
|
||||||
|
Into Thin Air
|
||||||
|
5 U
|
||||||
|
Instant
|
||||||
|
Affinity for artifacts (This spell costs 1 less to cast for each artifact you control.) Return target artifact to its owner's hand.
|
||||||
|
spBounceTgt:Artifact:Hand
|
||||||
|
CostChange:Player:Less:1:Self:All:All:Affinity/Artifact
|
||||||
|
|
||||||
|
Symbol of Unsummoning
|
||||||
|
2 U
|
||||||
|
Sorcery
|
||||||
|
Return target creature to its owner's hand.
|
||||||
|
spBounceTgt:Creature:Hand
|
||||||
|
Draw a card.
|
||||||
|
|
||||||
Deadapult
|
Deadapult
|
||||||
2 R
|
2 R
|
||||||
Enchantment
|
Enchantment
|
||||||
@@ -98,32 +130,6 @@ Sorcery
|
|||||||
Put target creature on top of its owner's library.
|
Put target creature on top of its owner's library.
|
||||||
spBounceTgt:Creature:TopofLibrary
|
spBounceTgt:Creature:TopofLibrary
|
||||||
|
|
||||||
Hoodwink
|
|
||||||
1 U
|
|
||||||
Instant
|
|
||||||
Return target artifact, enchantment, or land to its owner's hand.
|
|
||||||
spBounceTgt:Artifact,Enchantment,Land
|
|
||||||
|
|
||||||
Disperse
|
|
||||||
1 U
|
|
||||||
Instant
|
|
||||||
Return target nonland permanent to its owner's hand.
|
|
||||||
spBounceTgt:Artifact,Enchantment,Creature,Planeswalker
|
|
||||||
|
|
||||||
Into Thin Air
|
|
||||||
5 U
|
|
||||||
Instant
|
|
||||||
Affinity for artifacts (This spell costs 1 less to cast for each artifact you control.) Return target artifact to its owner's hand.
|
|
||||||
spBounceTgt:Artifact
|
|
||||||
CostChange:Player:Less:1:Self:All:All:Affinity/Artifact
|
|
||||||
|
|
||||||
Symbol of Unsummoning
|
|
||||||
2 U
|
|
||||||
Sorcery
|
|
||||||
Return target creature to its owner's hand.
|
|
||||||
spBounceTgt:Creature
|
|
||||||
Draw a card.
|
|
||||||
|
|
||||||
Exiled Boggart
|
Exiled Boggart
|
||||||
1 B
|
1 B
|
||||||
Creature Goblin Rogue
|
Creature Goblin Rogue
|
||||||
|
|||||||
@@ -2210,7 +2210,7 @@ public class CardFactory implements NewConstants {
|
|||||||
tmpDesc = tmpDesc.substring(0, i);
|
tmpDesc = tmpDesc.substring(0, i);
|
||||||
final String Selec = "Select a target";
|
final String Selec = "Select a target";
|
||||||
|
|
||||||
final boolean TopofLibrary = (k.length == 3);
|
final String Destination = k[2];
|
||||||
|
|
||||||
card.clearSpellAbility();
|
card.clearSpellAbility();
|
||||||
|
|
||||||
@@ -2273,8 +2273,9 @@ public class CardFactory implements NewConstants {
|
|||||||
if(AllZone.GameAction.isCardInPlay(getTargetCard())
|
if(AllZone.GameAction.isCardInPlay(getTargetCard())
|
||||||
&& CardFactoryUtil.canTarget(card, getTargetCard())) {
|
&& CardFactoryUtil.canTarget(card, getTargetCard())) {
|
||||||
if(getTargetCard().isToken()) AllZone.getZone(getTargetCard()).remove(getTargetCard());
|
if(getTargetCard().isToken()) AllZone.getZone(getTargetCard()).remove(getTargetCard());
|
||||||
else { if(TopofLibrary) AllZone.GameAction.moveToTopOfLibrary(getTargetCard());
|
else { if(Destination.equals("TopofLibrary")) AllZone.GameAction.moveToTopOfLibrary(getTargetCard());
|
||||||
else {
|
else if(Destination.equals("Exile")) AllZone.GameAction.removeFromGame(getTargetCard());
|
||||||
|
else if(Destination.equals("Hand")) {
|
||||||
PlayerZone hand = AllZone.getZone(Constant.Zone.Hand, getTargetCard().getOwner());
|
PlayerZone hand = AllZone.getZone(Constant.Zone.Hand, getTargetCard().getOwner());
|
||||||
AllZone.GameAction.moveTo(hand, getTargetCard());
|
AllZone.GameAction.moveTo(hand, getTargetCard());
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user