Fix typo in creature types

This commit is contained in:
PurpleCrowbar 2024-01-08 16:46:23 +00:00
parent b3c55555a1
commit 19e829a959
3 changed files with 4 additions and 7 deletions

View file

@ -13,8 +13,6 @@ import mage.cards.CardSetInfo;
import mage.constants.CardType;
import mage.constants.SubType;
import mage.filter.StaticFilters;
import mage.filter.common.FilterControlledArtifactPermanent;
import mage.target.common.TargetControlledPermanent;
/**
*
@ -25,11 +23,11 @@ public final class SalvageSquad extends CardImpl {
public SalvageSquad(UUID ownerId, CardSetInfo setInfo) {
super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{W}{U}{B}");
this.subtype.add(SubType.JAWA);
this.subtype.add(SubType.ARTIFICIER);
this.subtype.add(SubType.ARTIFICER);
this.power = new MageInt(2);
this.toughness = new MageInt(2);
// When you Salvage Squad enters the battlefied, you may sacrifice an artifact. If you do, you gain 2 life and draw two cards.
// When Salvage Squad enters the battlefied, you may sacrifice an artifact. If you do, you gain 2 life and draw two cards.
DoIfCostPaid effect = new DoIfCostPaid(new GainLifeEffect(2), new SacrificeTargetCost(StaticFilters.FILTER_PERMANENT_ARTIFACT));
effect.addEffect(new DrawCardSourceControllerEffect(2));
this.addAbility(new EntersBattlefieldTriggeredAbility(effect));

View file

@ -27,11 +27,11 @@ public final class UgnaughtScrapWorker extends CardImpl {
public UgnaughtScrapWorker(UUID ownerId, CardSetInfo setInfo) {
super(ownerId,setInfo,new CardType[]{CardType.CREATURE},"{1}{U}");
this.subtype.add(SubType.UGNAUGHT);
this.subtype.add(SubType.ARTIFICIER);
this.subtype.add(SubType.ARTIFICER);
this.power = new MageInt(1);
this.toughness = new MageInt(2);
// Droid spell cost {1} less to cast.
// Droid spells you cast cost {1} less to cast.
this.addAbility(new SimpleStaticAbility(Zone.BATTLEFIELD, new SpellsCostReductionControllerEffect(filter, 1)));
}

View file

@ -76,7 +76,6 @@ public enum SubType {
ARCHON("Archon", SubTypeSet.CreatureType),
ARTIFICER("Artificer", SubTypeSet.CreatureType),
ARMY("Army", SubTypeSet.CreatureType),
ARTIFICIER("Artificier", SubTypeSet.CreatureType, true),
ASSASSIN("Assassin", SubTypeSet.CreatureType),
ASSEMBLY_WORKER("Assembly-Worker", SubTypeSet.CreatureType),
ASTARTES("Astartes", SubTypeSet.CreatureType),