mirror of
https://github.com/magefree/mage.git
synced 2025-12-26 13:32:06 -08:00
43 lines
1.3 KiB
Java
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", "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);
|
|
}
|
|
}
|