mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-18 03:38:01 +00:00
- Fixed Pongify and Crib Swap (for real this time).
- Removed "number of cards in {player} removed zone:{number}" console output.
This commit is contained in:
@@ -4681,7 +4681,7 @@ public class CardFactory implements NewConstants {
|
|||||||
{
|
{
|
||||||
if(AllZone.GameAction.isCardInPlay(getTargetCard()) && CardFactoryUtil.canTarget(card,getTargetCard()) )
|
if(AllZone.GameAction.isCardInPlay(getTargetCard()) && CardFactoryUtil.canTarget(card,getTargetCard()) )
|
||||||
{
|
{
|
||||||
CardFactoryUtil.makeToken("Ape", "G 3 3 Ape", AllZone.GameAction.getOpponent(getTargetCard().getController()), "G",
|
CardFactoryUtil.makeToken("Ape", "G 3 3 Ape", getTargetCard().getController(), "G",
|
||||||
new String[] {"Creature", "Ape"}, 3, 3, new String[] {""} );
|
new String[] {"Creature", "Ape"}, 3, 3, new String[] {""} );
|
||||||
AllZone.GameAction.destroyNoRegeneration(getTargetCard());
|
AllZone.GameAction.destroyNoRegeneration(getTargetCard());
|
||||||
}
|
}
|
||||||
@@ -6045,7 +6045,7 @@ public class CardFactory implements NewConstants {
|
|||||||
{
|
{
|
||||||
if(AllZone.GameAction.isCardInPlay(getTargetCard()) && CardFactoryUtil.canTarget(card, getTargetCard()) )
|
if(AllZone.GameAction.isCardInPlay(getTargetCard()) && CardFactoryUtil.canTarget(card, getTargetCard()) )
|
||||||
{
|
{
|
||||||
CardFactoryUtil.makeToken("Shapeshifter", "C 1 1 Shapeshifter", AllZone.GameAction.getOpponent(getTargetCard().getController()), "",
|
CardFactoryUtil.makeToken("Shapeshifter", "C 1 1 Shapeshifter", getTargetCard().getController(), "",
|
||||||
new String[] {"Creature", "Shapeshifter"}, 1, 1, new String[] {"Changeling"} );
|
new String[] {"Creature", "Shapeshifter"}, 1, 1, new String[] {"Changeling"} );
|
||||||
//remove card from play
|
//remove card from play
|
||||||
AllZone.GameAction.removeFromGame(getTargetCard());
|
AllZone.GameAction.removeFromGame(getTargetCard());
|
||||||
|
|||||||
@@ -38,6 +38,7 @@ public class EndOfTurn implements java.io.Serializable
|
|||||||
|
|
||||||
AllZone.StateBasedEffects.rePopulateStateBasedList();
|
AllZone.StateBasedEffects.rePopulateStateBasedList();
|
||||||
|
|
||||||
|
/*
|
||||||
PlayerZone cz = AllZone.getZone(Constant.Zone.Removed_From_Play, Constant.Player.Computer);
|
PlayerZone cz = AllZone.getZone(Constant.Zone.Removed_From_Play, Constant.Player.Computer);
|
||||||
PlayerZone hz = AllZone.getZone(Constant.Zone.Removed_From_Play, Constant.Player.Human);
|
PlayerZone hz = AllZone.getZone(Constant.Zone.Removed_From_Play, Constant.Player.Human);
|
||||||
|
|
||||||
@@ -46,6 +47,7 @@ public class EndOfTurn implements java.io.Serializable
|
|||||||
|
|
||||||
System.out.println("number of cards in compy removed zone: " + c.size());
|
System.out.println("number of cards in compy removed zone: " + c.size());
|
||||||
System.out.println("number of cards in human removed zone: " + h.size());
|
System.out.println("number of cards in human removed zone: " + h.size());
|
||||||
|
*/
|
||||||
|
|
||||||
execute(at);
|
execute(at);
|
||||||
}//executeAt()
|
}//executeAt()
|
||||||
|
|||||||
Reference in New Issue
Block a user