mirror of
https://github.com/correl/mage.git
synced 2025-01-13 11:01:58 +00:00
Some minor chages.
This commit is contained in:
parent
06d05eb56d
commit
40febbe086
4 changed files with 6 additions and 5 deletions
|
@ -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) {
|
||||||
|
|
|
@ -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;
|
||||||
|
|
|
@ -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) {
|
||||||
|
|
|
@ -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) {
|
||||||
|
|
Loading…
Reference in a new issue