mirror of
https://github.com/correl/mage.git
synced 2025-01-12 19:25:44 +00:00
Updated Overabundance
This commit is contained in:
parent
7a2e0a0476
commit
dbcd3cb27d
1 changed files with 19 additions and 1 deletions
|
@ -28,13 +28,20 @@
|
|||
package mage.cards.o;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
import mage.abilities.common.TapForManaAllTriggeredAbility;
|
||||
import mage.abilities.common.TapForManaAllTriggeredManaAbility;
|
||||
import mage.abilities.effects.common.AddManaOfAnyTypeProducedEffect;
|
||||
import mage.abilities.effects.common.DamageTargetEffect;
|
||||
import mage.cards.CardImpl;
|
||||
import mage.cards.CardSetInfo;
|
||||
import mage.constants.CardType;
|
||||
import mage.constants.SetTargetPointer;
|
||||
import mage.filter.common.FilterLandPermanent;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author anonymous
|
||||
* @author elliott-king
|
||||
*/
|
||||
public class Overabundance extends CardImpl {
|
||||
|
||||
|
@ -43,6 +50,17 @@ public class Overabundance extends CardImpl {
|
|||
|
||||
|
||||
// Whenever a player taps a land for mana, that player adds one mana to his or her mana pool of any type that land produced, and Overabundance deals 1 damage to him or her.
|
||||
this.addAbility(new TapForManaAllTriggeredManaAbility(
|
||||
new AddManaOfAnyTypeProducedEffect(),
|
||||
new FilterLandPermanent( "a player taps a land"),
|
||||
SetTargetPointer.PERMANENT
|
||||
));
|
||||
|
||||
this.addAbility(new TapForManaAllTriggeredAbility(
|
||||
new DamageTargetEffect(1, true, "that player"),
|
||||
new FilterLandPermanent("a player taps a land"),
|
||||
SetTargetPointer.PLAYER
|
||||
));
|
||||
}
|
||||
|
||||
public Overabundance(final Overabundance card) {
|
||||
|
|
Loading…
Reference in a new issue