mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-16 10:48:00 +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;
|
Card choice = null;
|
||||||
|
|
||||||
if (type.equals("P1P1")) {
|
if (type.equals("P1P1")) {
|
||||||
|
// TODO look for modified
|
||||||
choice = ComputerUtilCard.getBestCreatureAI(list);
|
choice = ComputerUtilCard.getBestCreatureAI(list);
|
||||||
|
|
||||||
if (choice == null) {
|
if (choice == null) {
|
||||||
|
|||||||
@@ -3491,6 +3491,9 @@ public class Card extends GameEntity implements Comparable<Card>, IHasSVars {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public final boolean isModified() {
|
public final boolean isModified() {
|
||||||
|
if (!isCreature()) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
if (this.isEquipped() || this.hasCounters()) {
|
if (this.isEquipped() || this.hasCounters()) {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user