mirror of
https://github.com/magefree/mage.git
synced 2026-01-10 12:52:06 -08:00
[ONE] Implement Koth, Fire of Resistance (#9825)
This commit is contained in:
parent
c89f3bac00
commit
c1d425ba09
3 changed files with 100 additions and 0 deletions
|
|
@ -0,0 +1,34 @@
|
|||
package mage.game.command.emblems;
|
||||
|
||||
import mage.abilities.Ability;
|
||||
import mage.abilities.common.EntersBattlefieldControlledTriggeredAbility;
|
||||
import mage.abilities.effects.common.DamageTargetEffect;
|
||||
import mage.constants.SubType;
|
||||
import mage.constants.Zone;
|
||||
import mage.filter.FilterPermanent;
|
||||
import mage.game.command.Emblem;
|
||||
import mage.target.common.TargetAnyTarget;
|
||||
|
||||
/**
|
||||
* @author PurpleCrowbar
|
||||
*/
|
||||
public final class KothFireOfResistanceEmblem extends Emblem {
|
||||
|
||||
private static final FilterPermanent filterMountain = new FilterPermanent("a Mountain");
|
||||
|
||||
static {
|
||||
filterMountain.add(SubType.MOUNTAIN.getPredicate());
|
||||
}
|
||||
|
||||
// −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");
|
||||
|
||||
Ability ability = new EntersBattlefieldControlledTriggeredAbility(
|
||||
Zone.COMMAND, new DamageTargetEffect(4).setText("this emblem deals 4 damage to any target"),
|
||||
filterMountain, false);
|
||||
ability.addTarget(new TargetAnyTarget());
|
||||
getAbilities().add(ability);
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue