mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-16 18:58:00 +00:00
Fixed an issue where when a Licid creature was in its alternate state, its picture would not be shown correctly.
This commit is contained in:
@@ -469,6 +469,10 @@ public class Card extends GameEntity implements Comparable<Card> {
|
||||
public final boolean isSplitCard() {
|
||||
return characteristicsMap.containsKey(CardCharacteristicName.LeftSplit);
|
||||
}
|
||||
|
||||
public final boolean isLicid() {
|
||||
return characteristicsMap.containsKey(CardCharacteristicName.Licid);
|
||||
}
|
||||
|
||||
/**
|
||||
* Checks if is cloned.
|
||||
|
||||
@@ -285,6 +285,10 @@ public class CardFactory {
|
||||
c.setState(CardCharacteristicName.RightSplit);
|
||||
c.setImageKey(originalPicture);
|
||||
}
|
||||
else if (c.isLicid()) {
|
||||
c.setState(CardCharacteristicName.Licid);
|
||||
c.setImageKey(originalPicture);
|
||||
}
|
||||
|
||||
c.setCurSetCode(cp.getEdition());
|
||||
c.setRarity(cp.getRarity());
|
||||
|
||||
Reference in New Issue
Block a user