Some minor chages.

This commit is contained in:
LevelX2 2014-12-02 22:27:10 +01:00
parent 06d05eb56d
commit 40febbe086
4 changed files with 6 additions and 5 deletions

View file

@ -55,10 +55,11 @@ public class RuthlessCullblade extends CardImpl {
this.power = new MageInt(2); this.power = new MageInt(2);
this.toughness = new MageInt(1); this.toughness = new MageInt(1);
// Ruthless Cullblade gets +2/+1 as long as an opponent has 10 or less life.
this.addAbility(new SimpleStaticAbility(Zone.BATTLEFIELD, this.addAbility(new SimpleStaticAbility(Zone.BATTLEFIELD,
new ConditionalContinousEffect(new BoostSourceEffect(2, 1, Duration.Custom), new ConditionalContinousEffect(new BoostSourceEffect(2, 1, Duration.WhileOnBattlefield),
new TenOrLessLifeCondition(TenOrLessLifeCondition.CheckType.AN_OPPONENT), new TenOrLessLifeCondition(TenOrLessLifeCondition.CheckType.AN_OPPONENT),
"Ruthless Cullblade gets +2/+1 as long as an opponent has 10 or less life."))); "{this} gets +2/+1 as long as an opponent has 10 or less life.")));
} }
public RuthlessCullblade(final RuthlessCullblade card) { public RuthlessCullblade(final RuthlessCullblade card) {

View file

@ -40,7 +40,7 @@ public class TenOrLessLifeCondition implements Condition {
public static enum CheckType { AN_OPPONENT, CONTROLLER, TARGET_OPPONENT }; public static enum CheckType { AN_OPPONENT, CONTROLLER, TARGET_OPPONENT };
private CheckType type; private final CheckType type;
public TenOrLessLifeCondition ( CheckType type ) { public TenOrLessLifeCondition ( CheckType type ) {
this.type = type; this.type = type;

View file

@ -60,7 +60,7 @@ public class SearchLibraryPutInHandEffect extends SearchEffect {
} }
public SearchLibraryPutInHandEffect(TargetCardInLibrary target, boolean revealCards, boolean forceShuffle) { public SearchLibraryPutInHandEffect(TargetCardInLibrary target, boolean revealCards, boolean forceShuffle) {
this(target, revealCards, forceShuffle, "Search your library for "); this(target, revealCards, forceShuffle, "search your library for ");
} }
public SearchLibraryPutInHandEffect(TargetCardInLibrary target, boolean revealCards, boolean forceShuffle, String rulePrefix) { public SearchLibraryPutInHandEffect(TargetCardInLibrary target, boolean revealCards, boolean forceShuffle, String rulePrefix) {

View file

@ -39,7 +39,7 @@ import mage.filter.predicate.other.OwnerPredicate;
public class FilterOwnedCard extends FilterCard { public class FilterOwnedCard extends FilterCard {
public FilterOwnedCard() { public FilterOwnedCard() {
this("creature card"); this("card");
} }
public FilterOwnedCard(String name) { public FilterOwnedCard(String name) {