mirror of
https://github.com/correl/mage.git
synced 2024-12-24 11:50:45 +00:00
* Tide Drifter and Ruination Guide - Fixed that they buffed themself.
This commit is contained in:
parent
e7e0125720
commit
35d4106311
3 changed files with 4 additions and 7 deletions
|
@ -40,7 +40,6 @@ import mage.constants.Rarity;
|
||||||
import mage.constants.Zone;
|
import mage.constants.Zone;
|
||||||
import mage.filter.common.FilterCreaturePermanent;
|
import mage.filter.common.FilterCreaturePermanent;
|
||||||
import mage.filter.predicate.mageobject.ColorlessPredicate;
|
import mage.filter.predicate.mageobject.ColorlessPredicate;
|
||||||
import mage.filter.predicate.permanent.AnotherPredicate;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
|
@ -51,7 +50,6 @@ public class RuinationGuide extends CardImpl {
|
||||||
private static final FilterCreaturePermanent filter = new FilterCreaturePermanent("Other colorless creatures you control");
|
private static final FilterCreaturePermanent filter = new FilterCreaturePermanent("Other colorless creatures you control");
|
||||||
|
|
||||||
static {
|
static {
|
||||||
filter.add(new AnotherPredicate());
|
|
||||||
filter.add(new ColorlessPredicate());
|
filter.add(new ColorlessPredicate());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -68,7 +66,7 @@ public class RuinationGuide extends CardImpl {
|
||||||
// Ingest
|
// Ingest
|
||||||
this.addAbility(new IngestAbility());
|
this.addAbility(new IngestAbility());
|
||||||
// Other colorless creatures you control get +1/+0.
|
// Other colorless creatures you control get +1/+0.
|
||||||
this.addAbility(new SimpleStaticAbility(Zone.BATTLEFIELD, new BoostControlledEffect(1, 0, Duration.WhileOnBattlefield, filter)));
|
this.addAbility(new SimpleStaticAbility(Zone.BATTLEFIELD, new BoostControlledEffect(1, 0, Duration.WhileOnBattlefield, filter, true)));
|
||||||
}
|
}
|
||||||
|
|
||||||
public RuinationGuide(final RuinationGuide card) {
|
public RuinationGuide(final RuinationGuide card) {
|
||||||
|
|
|
@ -39,7 +39,6 @@ import mage.constants.Rarity;
|
||||||
import mage.constants.Zone;
|
import mage.constants.Zone;
|
||||||
import mage.filter.common.FilterCreaturePermanent;
|
import mage.filter.common.FilterCreaturePermanent;
|
||||||
import mage.filter.predicate.mageobject.ColorlessPredicate;
|
import mage.filter.predicate.mageobject.ColorlessPredicate;
|
||||||
import mage.filter.predicate.permanent.AnotherPredicate;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
|
@ -50,7 +49,6 @@ public class TideDrifter extends CardImpl {
|
||||||
private static final FilterCreaturePermanent filter = new FilterCreaturePermanent("Other colorless creatures you control");
|
private static final FilterCreaturePermanent filter = new FilterCreaturePermanent("Other colorless creatures you control");
|
||||||
|
|
||||||
static {
|
static {
|
||||||
filter.add(new AnotherPredicate());
|
|
||||||
filter.add(new ColorlessPredicate());
|
filter.add(new ColorlessPredicate());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -65,7 +63,7 @@ public class TideDrifter extends CardImpl {
|
||||||
// Devoid
|
// Devoid
|
||||||
this.addAbility(new DevoidAbility(this.color));
|
this.addAbility(new DevoidAbility(this.color));
|
||||||
// Other colorless creatures you control get +0/+1.
|
// Other colorless creatures you control get +0/+1.
|
||||||
this.addAbility(new SimpleStaticAbility(Zone.BATTLEFIELD, new BoostControlledEffect(0, 1, Duration.WhileOnBattlefield, filter)));
|
this.addAbility(new SimpleStaticAbility(Zone.BATTLEFIELD, new BoostControlledEffect(0, 1, Duration.WhileOnBattlefield, filter, true)));
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -81,7 +81,8 @@ public class BoostControlledEffect extends ContinuousEffectImpl {
|
||||||
* @param power
|
* @param power
|
||||||
* @param toughness
|
* @param toughness
|
||||||
* @param duration
|
* @param duration
|
||||||
* @param filter
|
* @param filter AnotherPredicate is not working, you need to use the
|
||||||
|
* excludeSource option
|
||||||
* @param lockedIn if true, power and toughness will be calculated only
|
* @param lockedIn if true, power and toughness will be calculated only
|
||||||
* once, when the ability resolves
|
* once, when the ability resolves
|
||||||
* @param excludeSource
|
* @param excludeSource
|
||||||
|
|
Loading…
Reference in a new issue