mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-20 12:48:00 +00:00
for cards like Clone and friends, the picture on the battlefield will now be the original Clone images (but the overlay and info in CardDetailPanel will be for the cloned target). I think this is a fairly intuitive way to handle it, and it mimics what you would see during an in-person match.
This commit is contained in:
@@ -2131,6 +2131,8 @@ public class CardFactoryCreatures {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void resolve() {
|
public void resolve() {
|
||||||
|
String imageFileName = card.getImageFilename();
|
||||||
|
|
||||||
if (card.getController().isComputer()) {
|
if (card.getController().isComputer()) {
|
||||||
final CardList creatures = AllZoneUtil.getCreaturesInPlay();
|
final CardList creatures = AllZoneUtil.getCreaturesInPlay();
|
||||||
if (!creatures.isEmpty()) {
|
if (!creatures.isEmpty()) {
|
||||||
@@ -2184,6 +2186,8 @@ public class CardFactoryCreatures {
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//keep the Clone card image for the cloned card
|
||||||
|
card.setImageFilename(imageFileName);
|
||||||
AllZone.getGameAction().moveToPlay(card);
|
AllZone.getGameAction().moveToPlay(card);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user