mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-17 11:18:01 +00:00
Clean up
This commit is contained in:
@@ -124,8 +124,6 @@ public class CardFactory {
|
|||||||
final Game game = source.getGame();
|
final Game game = source.getGame();
|
||||||
final Card c = new Card(game.nextCardId(), original.getPaperCard(), game);
|
final Card c = new Card(game.nextCardId(), original.getPaperCard(), game);
|
||||||
copyCopiableCharacteristics(original, c);
|
copyCopiableCharacteristics(original, c);
|
||||||
// fix old cardstates
|
|
||||||
buildAbilities(c);
|
|
||||||
|
|
||||||
if (sourceSA.hasParam("NonLegendary")) {
|
if (sourceSA.hasParam("NonLegendary")) {
|
||||||
c.removeType(CardType.Supertype.Legendary);
|
c.removeType(CardType.Supertype.Legendary);
|
||||||
|
|||||||
@@ -1688,7 +1688,7 @@ public class CardProperty {
|
|||||||
if (card.getCastSAFallBack() == null) {
|
if (card.getCastSAFallBack() == null) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
return card.getCastSA().isBlitz();
|
return card.getCastSAFallBack().isBlitz();
|
||||||
} else if (property.equals("dashed")) {
|
} else if (property.equals("dashed")) {
|
||||||
if (card.getCastSAFallBack() == null) {
|
if (card.getCastSAFallBack() == null) {
|
||||||
return false;
|
return false;
|
||||||
|
|||||||
Reference in New Issue
Block a user