mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-17 11:18:01 +00:00
- 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:
@@ -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>();
|
||||||
|
|||||||
Reference in New Issue
Block a user