Tokens and command objects reworked (part 2 of 2, tokens/emblems)

This commit is contained in:
Oleg Agafonov 2023-05-08 02:18:42 +04:00
parent 5f55c7c667
commit f2d93f224f
591 changed files with 1368 additions and 4425 deletions

View file

@ -22,8 +22,7 @@ public final class KothFireOfResistanceEmblem extends Emblem {
// 7: You get an emblem with "Whenever a Mountain enters the battlefield under your control, this emblem deals 4 damage to any target."
public KothFireOfResistanceEmblem() {
this.setName("Emblem Koth");
this.setExpansionSetCodeForImage("ONE");
super("Emblem Koth");
Ability ability = new EntersBattlefieldControlledTriggeredAbility(
Zone.COMMAND, new DamageTargetEffect(4).setText("this emblem deals 4 damage to any target"),
@ -31,4 +30,13 @@ public final class KothFireOfResistanceEmblem extends Emblem {
ability.addTarget(new TargetAnyTarget());
getAbilities().add(ability);
}
private KothFireOfResistanceEmblem(final KothFireOfResistanceEmblem card) {
super(card);
}
@Override
public KothFireOfResistanceEmblem copy() {
return new KothFireOfResistanceEmblem(this);
}
}