mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-19 20:28:00 +00:00
- Added AI support for Perilous Research (given the right deck).
This commit is contained in:
@@ -4995,6 +4995,11 @@ public class Card extends GameEntity implements Comparable<Card>, IIdentifiable
|
||||
if (!isCommander) {
|
||||
return false;
|
||||
}
|
||||
} else if (property.startsWith("HasSVar")) {
|
||||
final String svar = property.substring(8);
|
||||
if (!hasSVar(svar)) {
|
||||
return false;
|
||||
}
|
||||
} else {
|
||||
if (!isType(property)) {
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user