Fix Pyrohemia, add note in docs about default "onlyControlled" behavior

This commit is contained in:
Steven Knipe 2025-09-20 05:10:04 -07:00
parent 287afad212
commit aa6c97f8f2
2 changed files with 3 additions and 2 deletions

View file

@ -22,7 +22,7 @@ import java.util.UUID;
public final class Pyrohemia extends CardImpl {
private static final Condition condition = new PermanentsOnTheBattlefieldCondition(
new FilterCreaturePermanent("no creatures are on the battlefield"), ComparisonType.EQUAL_TO, 0
new FilterCreaturePermanent("no creatures are on the battlefield"), ComparisonType.EQUAL_TO, 0, false
);
public Pyrohemia(UUID ownerId, CardSetInfo setInfo) {

View file

@ -41,7 +41,8 @@ public class PermanentsOnTheBattlefieldCondition implements Condition {
* Applies a filter, a {@link ComparisonType}, and count to permanents on
* the battlefield when checking the condition during the
* {@link #apply(mage.game.Game, mage.abilities.Ability) apply} method
* invocation.
* invocation. By default, only controlled permanents are counted.
* If you want to check the whole battlefield, use a constructor with the boolean.
*
* @param filter
* @param type