- Since Morph creatures don't have an official Card in the database, they need to be copied instead of being looked up

This commit is contained in:
Sol
2014-06-01 02:46:14 +00:00
parent f813eef30f
commit f2e7347ad3

View File

@@ -686,7 +686,7 @@ public abstract class PumpAiBase extends SpellAbilityAi {
public Card pumpedCreature(final Player ai, final SpellAbility sa, final Card c, final int d, final int a, public Card pumpedCreature(final Player ai, final SpellAbility sa, final Card c, final int d, final int a,
final List<String> keywords) { final List<String> keywords) {
Card pumped = c.isToken() ? CardFactory.copyStats(c, ai) : CardFactory.getCard(c.getPaperCard(), ai); Card pumped = c.isToken() || c.isFaceDown() ? CardFactory.copyStats(c, ai) : CardFactory.getCard(c.getPaperCard(), ai);
pumped.setSickness(c.hasSickness()); pumped.setSickness(c.hasSickness());
final long timestamp = c.getGame().getNextTimestamp(); final long timestamp = c.getGame().getNextTimestamp();
final ArrayList<String> kws = new ArrayList<String>(); final ArrayList<String> kws = new ArrayList<String>();