mirror of
https://github.com/magefree/mage.git
synced 2026-01-23 03:39:54 -08:00
[BLB] various text fixes
This commit is contained in:
parent
ca1145c967
commit
fe4d6d3197
29 changed files with 120 additions and 83 deletions
|
|
@ -51,7 +51,7 @@ public class LoseAllAbilitiesTargetEffect extends ContinuousEffectImpl {
|
|||
return staticText;
|
||||
}
|
||||
return getTargetPointer().describeTargets(mode.getTargets(), "it")
|
||||
+ " loses all abilities " + (duration.toString().isEmpty() ? "" : ' ' + duration.toString());
|
||||
+ " loses all abilities" + (duration.toString().isEmpty() ? "" : ' ' + duration.toString());
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
|||
|
|
@ -2,12 +2,13 @@ package mage.game.permanent.token;
|
|||
|
||||
import mage.MageInt;
|
||||
import mage.abilities.common.SimpleStaticAbility;
|
||||
import mage.abilities.dynamicvalue.DynamicValue;
|
||||
import mage.abilities.dynamicvalue.common.PermanentsOnBattlefieldCount;
|
||||
import mage.abilities.effects.common.continuous.BoostSourceEffect;
|
||||
import mage.constants.CardType;
|
||||
import mage.constants.Duration;
|
||||
import mage.constants.SubType;
|
||||
import mage.constants.Zone;
|
||||
import mage.filter.FilterPermanent;
|
||||
import mage.filter.common.FilterControlledPermanent;
|
||||
import mage.filter.predicate.mageobject.AnotherPredicate;
|
||||
|
||||
|
|
@ -16,26 +17,23 @@ import mage.filter.predicate.mageobject.AnotherPredicate;
|
|||
*/
|
||||
public final class VrenRatToken extends TokenImpl {
|
||||
|
||||
private static final FilterControlledPermanent filter = new FilterControlledPermanent("other Rat you control");
|
||||
private static final FilterPermanent filter = new FilterControlledPermanent(SubType.RAT, "other Rat you control");
|
||||
|
||||
static {
|
||||
filter.add(SubType.RAT.getPredicate());
|
||||
filter.add(AnotherPredicate.instance);
|
||||
}
|
||||
|
||||
private static final DynamicValue xValue = new PermanentsOnBattlefieldCount(filter);
|
||||
|
||||
public VrenRatToken() {
|
||||
super("Rat Token", "1/1 black Rat creature tokens with \"This creature gets +1/+1 for each other Rat you control\"");
|
||||
super("Rat Token", "1/1 black Rat creature token with \"This token gets +1/+1 for each other Rat you control.\"");
|
||||
cardType.add(CardType.CREATURE);
|
||||
color.setBlack(true);
|
||||
subtype.add(SubType.RAT);
|
||||
power = new MageInt(1);
|
||||
toughness = new MageInt(1);
|
||||
|
||||
this.addAbility(new SimpleStaticAbility(
|
||||
new BoostSourceEffect(new PermanentsOnBattlefieldCount(filter),
|
||||
new PermanentsOnBattlefieldCount(filter), Duration.WhileOnBattlefield
|
||||
)
|
||||
));
|
||||
this.addAbility(new SimpleStaticAbility(new BoostSourceEffect(xValue, xValue, Duration.WhileOnBattlefield)));
|
||||
}
|
||||
|
||||
private VrenRatToken(final VrenRatToken token) {
|
||||
|
|
|
|||
|
|
@ -85,7 +85,7 @@ public final class CardUtil {
|
|||
public static final SimpleDateFormat sdf = new SimpleDateFormat("HH:mm:ss.SSS");
|
||||
|
||||
private static final List<String> costWords = Arrays.asList(
|
||||
"put", "return", "exile", "discard", "sacrifice", "remove", "tap", "reveal", "pay", "collect"
|
||||
"put", "return", "exile", "discard", "sacrifice", "remove", "tap", "reveal", "pay", "collect", "forage"
|
||||
);
|
||||
|
||||
// search set code in commands like "set_code-card_name"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue