mirror of
https://github.com/magefree/mage.git
synced 2025-12-22 11:32:00 -08:00
cards
This commit is contained in:
parent
a8fefad276
commit
cf0ef7b398
5 changed files with 401 additions and 16 deletions
|
|
@ -0,0 +1,26 @@
|
|||
package mage.abilities.common;
|
||||
|
||||
import mage.Constants;
|
||||
import mage.abilities.effects.Effect;
|
||||
|
||||
/**
|
||||
* @author Loki
|
||||
*/
|
||||
public class PutIntoGraveFromAnywhereTriggeredAbility extends ZoneChangeTriggeredAbility<PutIntoGraveFromAnywhereTriggeredAbility> {
|
||||
public PutIntoGraveFromAnywhereTriggeredAbility(Effect effect, boolean optional) {
|
||||
super(Constants.Zone.GRAVEYARD, effect, "When {this} is put into a graveyard from anywhere, ", optional);
|
||||
}
|
||||
|
||||
public PutIntoGraveFromAnywhereTriggeredAbility(Effect effect) {
|
||||
this(effect, false);
|
||||
}
|
||||
|
||||
public PutIntoGraveFromAnywhereTriggeredAbility(final PutIntoGraveFromAnywhereTriggeredAbility ability) {
|
||||
super(ability);
|
||||
}
|
||||
|
||||
@Override
|
||||
public PutIntoGraveFromAnywhereTriggeredAbility copy() {
|
||||
return new PutIntoGraveFromAnywhereTriggeredAbility(this);
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue