- Fixed the crash that happens when destroying tokens.

- Fixed the Hunted creatures (tokens will be given to the opponent).
- Academy Rector can now fetch Auras and attach them to creatures (or lands).
- Fixed Crib Swap and Pongify.
This commit is contained in:
jendave
2011-08-06 03:21:42 +00:00
parent b8dff6960c
commit 7e94d1050f
5 changed files with 91 additions and 12 deletions

View File

@@ -4230,7 +4230,8 @@ public class CardFactory implements NewConstants {
{
if(AllZone.GameAction.isCardInPlay(getTargetCard()) && CardFactoryUtil.canTarget(card,getTargetCard()) )
{
CardFactoryUtil.makeToken("Ape", "G 3 3 Ape", card, "G", new String[] {"Creature", "Ape"}, 3, 3, new String[] {""} );
CardFactoryUtil.makeToken("Ape", "G 3 3 Ape", AllZone.GameAction.getOpponent(card.getController()), "G",
new String[] {"Creature", "Ape"}, 3, 3, new String[] {""} );
AllZone.GameAction.destroyNoRegeneration(getTargetCard());
}
}//resolve()
@@ -5593,7 +5594,8 @@ public class CardFactory implements NewConstants {
{
if(AllZone.GameAction.isCardInPlay(getTargetCard()) && CardFactoryUtil.canTarget(card, getTargetCard()) )
{
CardFactoryUtil.makeToken("Shapeshifter", "C 1 1 Shapeshifter", card, "", new String[] {"Creature", "Shapeshifter"}, 1, 1, new String[] {"Changeling"} );
CardFactoryUtil.makeToken("Shapeshifter", "C 1 1 Shapeshifter", AllZone.GameAction.getOpponent(card.getController()), "",
new String[] {"Creature", "Shapeshifter"}, 1, 1, new String[] {"Changeling"} );
//remove card from play
AllZone.GameAction.removeFromGame(getTargetCard());
}
@@ -17259,7 +17261,12 @@ return land.size() > 1 && CardFactoryUtil.AI_isMainPhase();
c.setType(sim.getType());
c.setText(sim.getSpellText());
c.setManaCost(sim.getManaCost());
if (!sim.getOwner().equals(""))
c.setOwner(sim.getOwner());
if (!sim.getController().equals(""))
c.setController(sim.getController());
return c;
}// copyStats()