mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-18 11:48:02 +00:00
Cards can enchant players - fix game copier for simulated ai to account for this.
This commit is contained in:
@@ -154,7 +154,7 @@ public class GameCopier {
|
||||
otherCard.setTimestamp(card.getTimestamp());
|
||||
otherCard.setSickness(card.hasSickness());
|
||||
if (card.isEnchanting()) {
|
||||
otherCard.setEnchanting(cardMap.get(card.getEnchanting()));
|
||||
otherCard.setEnchanting(gameObjectMap.map(card.getEnchanting()));
|
||||
}
|
||||
if (card.isEquipping()) {
|
||||
otherCard.equipCard(cardMap.get(card.getEquipping()));
|
||||
|
||||
Reference in New Issue
Block a user