mirror of
https://github.com/correl/mage.git
synced 2024-11-15 03:00:16 +00:00
Fix Hidden Predators trigger (#10163)
* Remove extraneous comma * Fix trigger to filter opponent's permanents only * Fix text wording
This commit is contained in:
parent
1bfb339d57
commit
639106ad19
1 changed files with 2 additions and 2 deletions
|
@ -47,7 +47,7 @@ class HiddenPredatorsStateTriggeredAbility extends StateTriggeredAbility {
|
|||
|
||||
public HiddenPredatorsStateTriggeredAbility() {
|
||||
super(Zone.BATTLEFIELD, new BecomesCreatureSourceEffect(new HiddenPredatorsToken(), "", Duration.Custom, true, false));
|
||||
setTriggerPhrase("When an opponent controls a creature with 4 or greater power, if {this} is an enchantment, ");
|
||||
setTriggerPhrase("When an opponent controls a creature with power 4 or greater, if {this} is an enchantment");
|
||||
}
|
||||
|
||||
public HiddenPredatorsStateTriggeredAbility(final HiddenPredatorsStateTriggeredAbility ability) {
|
||||
|
@ -61,7 +61,7 @@ class HiddenPredatorsStateTriggeredAbility extends StateTriggeredAbility {
|
|||
|
||||
@Override
|
||||
public boolean checkTrigger(GameEvent event, Game game) {
|
||||
return !game.getBattlefield().getAllActivePermanents(filter, game).isEmpty();
|
||||
return !game.getBattlefield().getActivePermanents(filter, game.getControllerId(getSourceId()), game).isEmpty();
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
Loading…
Reference in a new issue