mirror of
https://github.com/correl/mage.git
synced 2024-11-15 19:19:33 +00:00
Fixed really a bug of Foundry Street Denizen giving bonus to all permanents instaed of only controlled creatures. Fixes issue #121.
This commit is contained in:
parent
07db2c8736
commit
5781d2ac4a
1 changed files with 4 additions and 2 deletions
|
@ -28,7 +28,6 @@
|
|||
package mage.sets.gatecrash;
|
||||
|
||||
import java.util.UUID;
|
||||
import mage.Constants;
|
||||
import mage.Constants.CardType;
|
||||
import mage.Constants.Rarity;
|
||||
import mage.MageInt;
|
||||
|
@ -37,8 +36,10 @@ import mage.abilities.common.EntersBattlefieldAllTriggeredAbility;
|
|||
import mage.abilities.effects.common.continious.BoostSourceEffect;
|
||||
import mage.cards.CardImpl;
|
||||
import mage.filter.FilterPermanent;
|
||||
import mage.filter.common.FilterControlledCreaturePermanent;
|
||||
import mage.filter.predicate.mageobject.ColorPredicate;
|
||||
import mage.filter.predicate.permanent.AnotherPredicate;
|
||||
import mage.filter.predicate.permanent.ControllerPredicate;
|
||||
|
||||
/**
|
||||
*
|
||||
|
@ -46,9 +47,10 @@ import mage.filter.predicate.permanent.AnotherPredicate;
|
|||
*/
|
||||
public class FoundryStreetDenizen extends CardImpl<FoundryStreetDenizen> {
|
||||
|
||||
private static final FilterPermanent filter = new FilterCreaturePermanent("another red creature");
|
||||
private static final FilterPermanent filter = new FilterCreaturePermanent("another red creature under your control");
|
||||
static {
|
||||
filter.add(new AnotherPredicate());
|
||||
filter.add(new ControllerPredicate(TargetController.YOU));
|
||||
filter.add(new ColorPredicate(ObjectColor.RED));
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue