mirror of
https://github.com/magefree/mage.git
synced 2026-01-10 21:02:08 -08:00
a few small fixes
This commit is contained in:
parent
993cc44f69
commit
395a138610
3 changed files with 6 additions and 6 deletions
|
|
@ -1,9 +1,8 @@
|
|||
package mage.cards.i;
|
||||
|
||||
import mage.abilities.dynamicvalue.AdditiveDynamicValue;
|
||||
import mage.abilities.dynamicvalue.DynamicValue;
|
||||
import mage.abilities.dynamicvalue.IntPlusDynamicValue;
|
||||
import mage.abilities.dynamicvalue.common.SpellsCastNotFromHandValue;
|
||||
import mage.abilities.dynamicvalue.common.StaticValue;
|
||||
import mage.abilities.effects.common.DamageAllEffect;
|
||||
import mage.abilities.effects.common.DamagePlayersEffect;
|
||||
import mage.abilities.keyword.ForetellAbility;
|
||||
|
|
@ -22,7 +21,7 @@ import java.util.UUID;
|
|||
*/
|
||||
public final class ImpendingFlux extends CardImpl {
|
||||
|
||||
private static final DynamicValue xValue = new AdditiveDynamicValue(SpellsCastNotFromHandValue.instance, StaticValue.get(1));
|
||||
private static final DynamicValue xValue = new IntPlusDynamicValue(1, SpellsCastNotFromHandValue.instance);
|
||||
|
||||
public ImpendingFlux(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId, setInfo, new CardType[]{CardType.SORCERY}, "{2}{R}");
|
||||
|
|
|
|||
|
|
@ -11,6 +11,7 @@ import mage.abilities.hint.Hint;
|
|||
import mage.cards.AdventureCard;
|
||||
import mage.cards.CardSetInfo;
|
||||
import mage.constants.CardType;
|
||||
import mage.constants.ComparisonType;
|
||||
import mage.constants.SubType;
|
||||
import mage.filter.FilterCard;
|
||||
import mage.filter.FilterPermanent;
|
||||
|
|
@ -25,12 +26,12 @@ import java.util.UUID;
|
|||
public final class TwiceUponATime extends AdventureCard {
|
||||
|
||||
private static final FilterPermanent filter = new FilterControlledPermanent(SubType.DOCTOR, "you control two or more Doctors");
|
||||
private static final Condition condition = new PermanentsOnTheBattlefieldCondition(filter);
|
||||
private static final Condition condition = new PermanentsOnTheBattlefieldCondition(filter, ComparisonType.MORE_THAN, 1);
|
||||
private static final Hint hint = new ConditionHint(condition, "You control two or more Doctors");
|
||||
private static final FilterCard filter2 = new FilterCard("a Doctor card");
|
||||
|
||||
static {
|
||||
filter.add(SubType.DOCTOR.getPredicate());
|
||||
filter2.add(SubType.DOCTOR.getPredicate());
|
||||
}
|
||||
|
||||
public TwiceUponATime(UUID ownerId, CardSetInfo setInfo) {
|
||||
|
|
|
|||
|
|
@ -17,7 +17,7 @@ public enum DescendCondition implements Condition {
|
|||
FOUR(4),
|
||||
EIGHT(8);
|
||||
private static final Hint hint = new ValueHint(
|
||||
"Permanent cards in you graveyard",
|
||||
"Permanent cards in your graveyard",
|
||||
new CardsInControllerGraveyardCount(StaticFilters.FILTER_CARD_PERMANENT)
|
||||
);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue