forked from External/mage
Fix Pyrohemia, add note in docs about default "onlyControlled" behavior
This commit is contained in:
parent
287afad212
commit
aa6c97f8f2
2 changed files with 3 additions and 2 deletions
|
|
@ -22,7 +22,7 @@ import java.util.UUID;
|
||||||
public final class Pyrohemia extends CardImpl {
|
public final class Pyrohemia extends CardImpl {
|
||||||
|
|
||||||
private static final Condition condition = new PermanentsOnTheBattlefieldCondition(
|
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) {
|
public Pyrohemia(UUID ownerId, CardSetInfo setInfo) {
|
||||||
|
|
|
||||||
|
|
@ -41,7 +41,8 @@ public class PermanentsOnTheBattlefieldCondition implements Condition {
|
||||||
* Applies a filter, a {@link ComparisonType}, and count to permanents on
|
* Applies a filter, a {@link ComparisonType}, and count to permanents on
|
||||||
* the battlefield when checking the condition during the
|
* the battlefield when checking the condition during the
|
||||||
* {@link #apply(mage.game.Game, mage.abilities.Ability) apply} method
|
* {@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 filter
|
||||||
* @param type
|
* @param type
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue