mirror of
https://github.com/correl/mage.git
synced 2024-12-26 11:09:27 +00:00
Text fixes
This commit is contained in:
parent
3562047beb
commit
08ea70e359
4 changed files with 7 additions and 9 deletions
|
@ -44,7 +44,7 @@ import mage.filter.predicate.mageobject.SubtypePredicate;
|
||||||
*/
|
*/
|
||||||
public class CabalSlaver extends CardImpl {
|
public class CabalSlaver extends CardImpl {
|
||||||
|
|
||||||
private static final FilterPermanent filter = new FilterPermanent("Goblin");
|
private static final FilterPermanent filter = new FilterPermanent("a Goblin");
|
||||||
|
|
||||||
static {
|
static {
|
||||||
filter.add(new SubtypePredicate("Goblin"));
|
filter.add(new SubtypePredicate("Goblin"));
|
||||||
|
|
|
@ -48,8 +48,8 @@ import mage.target.common.TargetCreaturePermanent;
|
||||||
* @author fireshoes
|
* @author fireshoes
|
||||||
*/
|
*/
|
||||||
public class GoblinTaskmaster extends CardImpl {
|
public class GoblinTaskmaster extends CardImpl {
|
||||||
|
|
||||||
private static final FilterCreaturePermanent filter = new FilterCreaturePermanent("Goblin");
|
private static final FilterCreaturePermanent filter = new FilterCreaturePermanent("Goblin creature");
|
||||||
|
|
||||||
static {
|
static {
|
||||||
filter.add(new SubtypePredicate("Goblin"));
|
filter.add(new SubtypePredicate("Goblin"));
|
||||||
|
@ -66,7 +66,7 @@ public class GoblinTaskmaster extends CardImpl {
|
||||||
Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new BoostTargetEffect(1, 0, Duration.EndOfTurn), new ManaCostsImpl("{1}{R}"));
|
Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new BoostTargetEffect(1, 0, Duration.EndOfTurn), new ManaCostsImpl("{1}{R}"));
|
||||||
ability.addTarget(new TargetCreaturePermanent(filter));
|
ability.addTarget(new TargetCreaturePermanent(filter));
|
||||||
this.addAbility(ability);
|
this.addAbility(ability);
|
||||||
|
|
||||||
// Morph {R}
|
// Morph {R}
|
||||||
this.addAbility(new MorphAbility(this, new ManaCostsImpl("{R}")));
|
this.addAbility(new MorphAbility(this, new ManaCostsImpl("{R}")));
|
||||||
}
|
}
|
||||||
|
|
|
@ -49,7 +49,7 @@ import mage.target.common.TargetControlledPermanent;
|
||||||
*/
|
*/
|
||||||
public class SeasideHaven extends CardImpl {
|
public class SeasideHaven extends CardImpl {
|
||||||
|
|
||||||
private static final FilterControlledPermanent filter = new FilterControlledPermanent("Bird");
|
private static final FilterControlledPermanent filter = new FilterControlledPermanent("a Bird");
|
||||||
|
|
||||||
static{
|
static{
|
||||||
filter.add(new SubtypePredicate("Bird"));
|
filter.add(new SubtypePredicate("Bird"));
|
||||||
|
|
|
@ -29,7 +29,6 @@ package mage.sets.onslaught;
|
||||||
|
|
||||||
import java.util.Set;
|
import java.util.Set;
|
||||||
import java.util.UUID;
|
import java.util.UUID;
|
||||||
|
|
||||||
import mage.abilities.Ability;
|
import mage.abilities.Ability;
|
||||||
import mage.abilities.effects.ContinuousEffect;
|
import mage.abilities.effects.ContinuousEffect;
|
||||||
import mage.abilities.effects.Effect;
|
import mage.abilities.effects.Effect;
|
||||||
|
@ -58,7 +57,6 @@ public class Standardize extends CardImpl {
|
||||||
this.expansionSetCode = "ONS";
|
this.expansionSetCode = "ONS";
|
||||||
|
|
||||||
// Choose a creature type other than Wall. Each creature becomes that type until end of turn.
|
// Choose a creature type other than Wall. Each creature becomes that type until end of turn.
|
||||||
|
|
||||||
this.getSpellAbility().addEffect(new StandardizeEffect());
|
this.getSpellAbility().addEffect(new StandardizeEffect());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -78,7 +76,7 @@ class StandardizeEffect extends OneShotEffect {
|
||||||
|
|
||||||
public StandardizeEffect() {
|
public StandardizeEffect() {
|
||||||
super(Outcome.BoostCreature);
|
super(Outcome.BoostCreature);
|
||||||
staticText = "choose a creature type other than wall, each creature's type becomes that type until end of turn";
|
staticText = "choose a creature type other than Wall. Each creature becomes that type until end of turn";
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -93,7 +91,7 @@ class StandardizeEffect extends OneShotEffect {
|
||||||
String chosenType = "";
|
String chosenType = "";
|
||||||
if (player != null && permanent != null) {
|
if (player != null && permanent != null) {
|
||||||
Choice typeChoice = new ChoiceImpl(true);
|
Choice typeChoice = new ChoiceImpl(true);
|
||||||
typeChoice.setMessage("Choose creature type other than Wall");
|
typeChoice.setMessage("Choose a creature type other than Wall");
|
||||||
Set<String> types = CardRepository.instance.getCreatureTypes();
|
Set<String> types = CardRepository.instance.getCreatureTypes();
|
||||||
types.remove("Wall");
|
types.remove("Wall");
|
||||||
typeChoice.setChoices(types);
|
typeChoice.setChoices(types);
|
||||||
|
|
Loading…
Reference in a new issue