mirror of
https://github.com/magefree/mage.git
synced 2025-12-26 05:22:02 -08:00
[MID] Implemented Teferi, Who Slows the Sunset (#8267)
* [MID] Implemented Teferi, Who Slows the Sunset * [MID] Refactored Teferi, Who Slows the Sunset: - Add Targets during activation ? Don't know where / how to properly implement the Emblem effect yet * [MID] Refactored Teferi, Who Slows the Sunset: - Add Targets during activation ? Don't know where / how to properly implement the Emblem effect yet
This commit is contained in:
parent
de4afab118
commit
aec68ac9d5
3 changed files with 119 additions and 0 deletions
|
|
@ -0,0 +1,19 @@
|
|||
package mage.game.command.emblems;
|
||||
|
||||
import mage.abilities.common.BeginningOfDrawTriggeredAbility;
|
||||
import mage.abilities.common.SimpleStaticAbility;
|
||||
import mage.abilities.effects.common.DrawCardSourceControllerEffect;
|
||||
import mage.abilities.effects.common.continuous.UntapAllDuringEachOtherPlayersUntapStepEffect;
|
||||
import mage.constants.TargetController;
|
||||
import mage.constants.Zone;
|
||||
import mage.filter.common.FilterControlledPermanent;
|
||||
import mage.game.command.Emblem;
|
||||
|
||||
public class TeferiWhoSlowsTheSunsetEmblem extends Emblem {
|
||||
// You get an emblem with "Untap all permanents you control during each opponent's untap step" and "You draw a card during each opponent's draw step."
|
||||
public TeferiWhoSlowsTheSunsetEmblem() {
|
||||
this.setName("Emblem Teferi");
|
||||
this.getAbilities().add(new SimpleStaticAbility(Zone.COMMAND, new UntapAllDuringEachOtherPlayersUntapStepEffect(new FilterControlledPermanent("permanents you control"))));
|
||||
this.getAbilities().add(new BeginningOfDrawTriggeredAbility(Zone.COMMAND, new DrawCardSourceControllerEffect(1), TargetController.OPPONENT, false));
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue