forked from External/mage
[AFR] added tokens and images download support;
This commit is contained in:
parent
88484f5a1e
commit
654ee7791c
20 changed files with 125 additions and 34 deletions
|
|
@ -1,6 +1,7 @@
|
|||
|
||||
package mage.game.permanent.token;
|
||||
|
||||
import java.util.Arrays;
|
||||
import java.util.Collections;
|
||||
|
||||
import mage.MageInt;
|
||||
|
|
@ -27,11 +28,15 @@ public final class DevilToken extends TokenImpl {
|
|||
color.setRed(true);
|
||||
power = new MageInt(1);
|
||||
toughness = new MageInt(1);
|
||||
|
||||
// When this creature dies, it deals 1 damage to any target.
|
||||
Effect effect = new DamageTargetEffect(1);
|
||||
effect.setText("it deals 1 damage to any target");
|
||||
Ability ability = new DiesSourceTriggeredAbility(effect);
|
||||
ability.addTarget(new TargetAnyTarget());
|
||||
this.addAbility(ability);
|
||||
|
||||
availableImageSetCodes = Arrays.asList("SOI", "WAR", "AFR");
|
||||
}
|
||||
|
||||
public DevilToken(final DevilToken token) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue