mirror of
https://github.com/magefree/mage.git
synced 2025-12-27 05:52:06 -08:00
[DFT] Implement Prowcatcher Specialist
This commit is contained in:
parent
272e91c6c4
commit
5738f582ca
3 changed files with 78 additions and 0 deletions
|
|
@ -0,0 +1,31 @@
|
|||
package mage.abilities.keyword;
|
||||
|
||||
import mage.abilities.ActivatedAbilityImpl;
|
||||
import mage.abilities.costs.Cost;
|
||||
import mage.abilities.effects.Effect;
|
||||
import mage.constants.Zone;
|
||||
|
||||
/**
|
||||
* @author TheElk801
|
||||
*/
|
||||
public class ExhaustAbility extends ActivatedAbilityImpl {
|
||||
|
||||
public ExhaustAbility(Effect effect, Cost cost) {
|
||||
super(Zone.BATTLEFIELD, effect, cost);
|
||||
}
|
||||
|
||||
private ExhaustAbility(final ExhaustAbility ability) {
|
||||
super(ability);
|
||||
this.maxActivationsPerGame = 1;
|
||||
}
|
||||
|
||||
@Override
|
||||
public ExhaustAbility copy() {
|
||||
return new ExhaustAbility(this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public String getRule() {
|
||||
return "Exhaust — " + super.getRule() + " <i>(Activate each exhaust ability only once.)</i>";
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue