mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-20 12:48:00 +00:00
- Added Exclusion Ritual.
This commit is contained in:
@@ -6766,6 +6766,16 @@ public class Card extends GameEntity implements Comparable<Card> {
|
||||
if (!source.getRemembered().contains(this)) {
|
||||
return false;
|
||||
}
|
||||
} else if (property.equals("SameNameAsImprinted")) {
|
||||
boolean b = false;
|
||||
for (Card card : source.getImprinted()) {
|
||||
if (getName().equals(card.getName())) {
|
||||
b = true;
|
||||
}
|
||||
}
|
||||
if (!b) {
|
||||
return false;
|
||||
}
|
||||
} else {
|
||||
if (property.equals("ChosenType")) {
|
||||
if (!isType(source.getChosenType())) {
|
||||
|
||||
Reference in New Issue
Block a user