Package mage.abilities.dynamicvalue.common

Examples of mage.abilities.dynamicvalue.common.StaticValue


    public CreateTokenTargetEffect(Token token) {
        this(token, new StaticValue(1));
    }

    public CreateTokenTargetEffect(Token token, int amount) {
        this(token, new StaticValue(amount));
    }
View Full Code Here


public class PutLibraryIntoGraveTargetEffect extends OneShotEffect {

    private DynamicValue amount;

    public PutLibraryIntoGraveTargetEffect(int amount) {
        this(new StaticValue(amount));
    }
View Full Code Here

    public BoostControlledEffect(int power, int toughness, Duration duration, boolean excludeSource) {
        this(power, toughness, duration, new FilterCreaturePermanent("creatures"), excludeSource);
    }

    public BoostControlledEffect(int power, int toughness, Duration duration, FilterCreaturePermanent filter) {
        this(new StaticValue(power), new StaticValue(toughness), duration, filter, false);
    }
View Full Code Here

    public BoostControlledEffect(int power, int toughness, Duration duration, FilterCreaturePermanent filter) {
        this(new StaticValue(power), new StaticValue(toughness), duration, filter, false);
    }

    public BoostControlledEffect(int power, int toughness, Duration duration, FilterCreaturePermanent filter, boolean excludeSource) {
        this(new StaticValue(power), new StaticValue(toughness), duration, filter, excludeSource);
    }
View Full Code Here

                    objects.add(perm.getId());
                }
            }
        }
        if (this.lockedIn) {
            power = new StaticValue(power.calculate(game, source, this));
            toughness = new StaticValue(toughness.calculate(game, source, this));
        }
    }
View Full Code Here

    public BoostAllEffect(int power, int toughness, Duration duration, boolean excludeSource) {
        this(power, toughness, duration, new FilterCreaturePermanent("All creatures"), excludeSource);
    }

    public BoostAllEffect(int power, int toughness, Duration duration, FilterCreaturePermanent filter, boolean excludeSource) {
        this(new StaticValue(power), new StaticValue(toughness), duration, filter, excludeSource);
    }
View Full Code Here

                    objects.add(perm.getId());
                }
            }
        }
        if (lockedInPT) {
            power = new StaticValue(power.calculate(game, source, this));
            toughness = new StaticValue(toughness.calculate(game, source, this));
        }
    }
View Full Code Here

    private boolean attacking;
    private UUID lastAddedTokenId;
    private ArrayList<UUID> lastAddedTokenIds = new ArrayList<>();

    public CreateTokenEffect(Token token) {
        this(token, new StaticValue(1));
    }
View Full Code Here

    public CreateTokenEffect(Token token) {
        this(token, new StaticValue(1));
    }

    public CreateTokenEffect(Token token, int amount) {
        this(token, new StaticValue(amount));
    }
View Full Code Here

    public CreateTokenEffect(Token token, DynamicValue amount) {
        this(token, amount, false, false);
    }
   
    public CreateTokenEffect(Token token, int amount, boolean tapped, boolean attacking) {
        this(token, new StaticValue(amount), tapped, attacking);
    }
View Full Code Here

TOP

Related Classes of mage.abilities.dynamicvalue.common.StaticValue

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.