mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-19 12:18:00 +00:00
Fix so summoning sickness icon appears initially
This commit is contained in:
@@ -278,6 +278,7 @@ public class Card extends GameEntity implements Comparable<Card>, IIdentifiable
|
||||
characteristicsMap.put(CardCharacteristicName.FaceDown, CardUtil.getFaceDownCharacteristic(this));
|
||||
view.updateChangedColorWords(this);
|
||||
view.updateChangedTypes(this);
|
||||
view.updateSickness(this);
|
||||
}
|
||||
|
||||
public boolean changeToState(final CardCharacteristicName state) {
|
||||
|
||||
@@ -156,10 +156,10 @@ public class CardView extends GameEntityView {
|
||||
return isFirstTurnControlled() && !getOriginal().hasHaste();
|
||||
}
|
||||
public boolean isSick() {
|
||||
return getZone() == ZoneType.Battlefield && hasSickness();
|
||||
return getZone() == ZoneType.Battlefield && getOriginal().isCreature() && hasSickness();
|
||||
}
|
||||
void updateSickness(Card c) {
|
||||
set(TrackableProperty.Sickness, c.isInPlay() && c.isSick());
|
||||
set(TrackableProperty.Sickness, c.isFirstTurnControlled());
|
||||
}
|
||||
|
||||
public boolean isTapped() {
|
||||
|
||||
Reference in New Issue
Block a user