foul-magics/Mage/src/main/java/mage/game/permanent/token/BloodAvatarToken.java
Evan Kranzler 9e0ea945ca
Refactoring token names to reflect new rule (ready for review) (#8446)
* updated Riptide Replicator and Volrath's Laboratory

* refactored token names

* some test fixes

* more test fixes

* even more test fixes

* the final test fixes

* fixed a few missed tokens

* merge fix

* fixed a test failure

* fixed test failure

* updated ignored verify test

* fixed token images not appearing

* updated tests
2022-03-14 22:37:21 -04:00

43 lines
1.3 KiB
Java

package mage.game.permanent.token;
import mage.MageInt;
import mage.abilities.common.AttacksTriggeredAbility;
import mage.abilities.effects.common.DamagePlayersEffect;
import mage.abilities.keyword.HasteAbility;
import mage.constants.CardType;
import mage.constants.SubType;
import mage.constants.TargetController;
import java.util.Arrays;
/**
* @author TheElk801
*/
public final class BloodAvatarToken extends TokenImpl {
public BloodAvatarToken() {
super("Avatar Token", "3/6 black and red Avatar creature token with haste and \"Whenever this creature attacks, it deals 3 damage to each opponent.\"");
cardType.add(CardType.CREATURE);
color.setBlack(true);
color.setRed(true);
subtype.add(SubType.AVATAR);
power = new MageInt(3);
toughness = new MageInt(6);
addAbility(HasteAbility.getInstance());
addAbility(new AttacksTriggeredAbility(
new DamagePlayersEffect(3, TargetController.OPPONENT), false,
"Whenever this creature attacks, it deals 3 damage to each opponent."
));
availableImageSetCodes = Arrays.asList("STX");
}
private BloodAvatarToken(final BloodAvatarToken token) {
super(token);
}
public BloodAvatarToken copy() {
return new BloodAvatarToken(this);
}
}