mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-15 10:18:01 +00:00
Only creatures can be modified
This commit is contained in:
@@ -101,6 +101,7 @@ public abstract class CountersAi extends SpellAbilityAi {
|
||||
Card choice = null;
|
||||
|
||||
if (type.equals("P1P1")) {
|
||||
// TODO look for modified
|
||||
choice = ComputerUtilCard.getBestCreatureAI(list);
|
||||
|
||||
if (choice == null) {
|
||||
|
||||
@@ -3491,6 +3491,9 @@ public class Card extends GameEntity implements Comparable<Card>, IHasSVars {
|
||||
}
|
||||
|
||||
public final boolean isModified() {
|
||||
if (!isCreature()) {
|
||||
return false;
|
||||
}
|
||||
if (this.isEquipped() || this.hasCounters()) {
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user