mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-20 12:48:00 +00:00
Fix new ID for copy
This commit is contained in:
@@ -1643,7 +1643,7 @@ public class ComputerUtilCard {
|
|||||||
*/
|
*/
|
||||||
public static Card getPumpedCreature(final Player ai, final SpellAbility sa,
|
public static Card getPumpedCreature(final Player ai, final SpellAbility sa,
|
||||||
final Card c, int toughness, int power, final List<String> keywords) {
|
final Card c, int toughness, int power, final List<String> keywords) {
|
||||||
Card pumped = CardFactory.copyCard(c, true);
|
Card pumped = CardFactory.copyCard(c, false);
|
||||||
pumped.setSickness(c.hasSickness());
|
pumped.setSickness(c.hasSickness());
|
||||||
final long timestamp = c.getGame().getNextTimestamp();
|
final long timestamp = c.getGame().getNextTimestamp();
|
||||||
final List<String> kws = new ArrayList<>();
|
final List<String> kws = new ArrayList<>();
|
||||||
|
|||||||
@@ -231,7 +231,6 @@ public class CardFactory {
|
|||||||
|
|
||||||
// Would like to move this away from in-game entities
|
// Would like to move this away from in-game entities
|
||||||
String originalPicture = cp.getImageKey(false);
|
String originalPicture = cp.getImageKey(false);
|
||||||
//System.out.println(c.getName() + " -> " + originalPicture);
|
|
||||||
c.setImageKey(originalPicture);
|
c.setImageKey(originalPicture);
|
||||||
c.setToken(cp.isToken());
|
c.setToken(cp.isToken());
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user