mirror of
https://github.com/magefree/mage.git
synced 2026-01-26 05:09:16 -08:00
Fixed token image handling for Rat token.
This commit is contained in:
parent
6480fb33b9
commit
5cc9e22bd5
4 changed files with 58 additions and 44 deletions
|
|
@ -34,7 +34,6 @@ import mage.constants.CardType;
|
|||
import mage.constants.Rarity;
|
||||
import mage.constants.Zone;
|
||||
import mage.MageInt;
|
||||
import mage.ObjectColor;
|
||||
import mage.abilities.Ability;
|
||||
import mage.abilities.common.SimpleActivatedAbility;
|
||||
import mage.abilities.common.SimpleStaticAbility;
|
||||
|
|
@ -49,7 +48,7 @@ import mage.constants.Duration;
|
|||
import mage.filter.common.FilterControlledCreaturePermanent;
|
||||
import mage.filter.common.FilterCreaturePermanent;
|
||||
import mage.filter.predicate.mageobject.SubtypePredicate;
|
||||
import mage.game.permanent.token.Token;
|
||||
import mage.game.permanent.token.RatToken;
|
||||
import mage.target.common.TargetControlledPermanent;
|
||||
|
||||
/**
|
||||
|
|
@ -98,16 +97,3 @@ public class MarrowGnawer extends CardImpl<MarrowGnawer> {
|
|||
}
|
||||
|
||||
}
|
||||
|
||||
class RatToken extends Token {
|
||||
|
||||
public RatToken() {
|
||||
super("Rat", "1/1 black Rat creature token");
|
||||
cardType.add(CardType.CREATURE);
|
||||
color = ObjectColor.BLACK;
|
||||
subtype.add("Rat");
|
||||
power = new MageInt(1);
|
||||
toughness = new MageInt(1);
|
||||
}
|
||||
|
||||
}
|
||||
|
|
@ -33,7 +33,6 @@ import mage.constants.Duration;
|
|||
import mage.constants.Rarity;
|
||||
import mage.constants.Zone;
|
||||
import mage.MageInt;
|
||||
import mage.ObjectColor;
|
||||
import mage.abilities.common.DiesCreatureTriggeredAbility;
|
||||
import mage.abilities.common.SimpleStaticAbility;
|
||||
import mage.abilities.effects.common.CreateTokenEffect;
|
||||
|
|
@ -46,7 +45,7 @@ import mage.filter.predicate.Predicates;
|
|||
import mage.filter.predicate.mageobject.SubtypePredicate;
|
||||
import mage.filter.predicate.permanent.AnotherPredicate;
|
||||
import mage.filter.predicate.permanent.TokenPredicate;
|
||||
import mage.game.permanent.token.Token;
|
||||
import mage.game.permanent.token.RatToken;
|
||||
|
||||
/**
|
||||
*
|
||||
|
|
@ -91,15 +90,3 @@ public class OgreSlumlord extends CardImpl<OgreSlumlord> {
|
|||
return new OgreSlumlord(this);
|
||||
}
|
||||
}
|
||||
|
||||
class RatToken extends Token {
|
||||
|
||||
public RatToken() {
|
||||
super("Rat", "1/1 black Rat creature token");
|
||||
cardType.add(CardType.CREATURE);
|
||||
color = ObjectColor.BLACK;
|
||||
subtype.add("Rat");
|
||||
power = new MageInt(1);
|
||||
toughness = new MageInt(1);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -30,12 +30,10 @@ package mage.sets.stronghold;
|
|||
import java.util.UUID;
|
||||
import mage.constants.CardType;
|
||||
import mage.constants.Rarity;
|
||||
import mage.MageInt;
|
||||
import mage.ObjectColor;
|
||||
import mage.abilities.effects.common.CreateTokenEffect;
|
||||
import mage.abilities.keyword.BuybackAbility;
|
||||
import mage.cards.CardImpl;
|
||||
import mage.game.permanent.token.Token;
|
||||
import mage.game.permanent.token.RatToken;
|
||||
|
||||
/**
|
||||
*
|
||||
|
|
@ -64,15 +62,3 @@ public class LabRats extends CardImpl<LabRats> {
|
|||
return new LabRats(this);
|
||||
}
|
||||
}
|
||||
|
||||
class RatToken extends Token {
|
||||
|
||||
public RatToken() {
|
||||
super("Rat", "1/1 black Rat creature token");
|
||||
cardType.add(CardType.CREATURE);
|
||||
color = ObjectColor.BLACK;
|
||||
subtype.add("Rat");
|
||||
power = new MageInt(1);
|
||||
toughness = new MageInt(1);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue