mirror of
https://github.com/magefree/mage.git
synced 2025-12-25 04:52:07 -08:00
[LCC] Implement March of the Canonized (#11540)
This commit is contained in:
parent
2871762a01
commit
4e1a2218b2
4 changed files with 66 additions and 5 deletions
|
|
@ -1,4 +1,3 @@
|
|||
|
||||
package mage.abilities.condition;
|
||||
|
||||
import mage.abilities.Ability;
|
||||
|
|
@ -6,7 +5,6 @@ import mage.constants.ComparisonType;
|
|||
import mage.game.Game;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author LevelX2
|
||||
*/
|
||||
public abstract class IntCompareCondition implements Condition {
|
||||
|
|
@ -14,7 +12,7 @@ public abstract class IntCompareCondition implements Condition {
|
|||
protected final ComparisonType type;
|
||||
protected final int value;
|
||||
|
||||
public IntCompareCondition(ComparisonType type, int value) {
|
||||
protected IntCompareCondition(ComparisonType type, int value) {
|
||||
this.type = type;
|
||||
this.value = value;
|
||||
}
|
||||
|
|
@ -24,7 +22,7 @@ public abstract class IntCompareCondition implements Condition {
|
|||
@Override
|
||||
public final boolean apply(Game game, Ability source) {
|
||||
int inputValue = getInputValue(game, source);
|
||||
return ComparisonType.compare(inputValue , type, value);
|
||||
return ComparisonType.compare(inputValue, type, value);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
|||
|
|
@ -20,7 +20,7 @@ public final class IxalanVampireToken extends TokenImpl {
|
|||
addAbility(LifelinkAbility.getInstance());
|
||||
}
|
||||
|
||||
protected IxalanVampireToken(final IxalanVampireToken token) {
|
||||
private IxalanVampireToken(final IxalanVampireToken token) {
|
||||
super(token);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue