mirror of
https://github.com/correl/mage.git
synced 2024-11-15 03:00:16 +00:00
[40K] Implemented Blight Grenade
This commit is contained in:
parent
b09a0ccc34
commit
03b65ed99a
2 changed files with 40 additions and 0 deletions
39
Mage.Sets/src/mage/cards/b/BlightGrenade.java
Normal file
39
Mage.Sets/src/mage/cards/b/BlightGrenade.java
Normal file
|
@ -0,0 +1,39 @@
|
|||
package mage.cards.b;
|
||||
|
||||
import mage.abilities.effects.common.DestroyTargetEffect;
|
||||
import mage.abilities.effects.common.continuous.BoostAllEffect;
|
||||
import mage.cards.CardImpl;
|
||||
import mage.cards.CardSetInfo;
|
||||
import mage.constants.CardType;
|
||||
import mage.constants.Duration;
|
||||
import mage.target.common.TargetCreaturePermanent;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
/**
|
||||
* @author TheElk801
|
||||
*/
|
||||
public final class BlightGrenade extends CardImpl {
|
||||
|
||||
public BlightGrenade(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId, setInfo, new CardType[]{CardType.SORCERY}, "{4}{B}");
|
||||
|
||||
// Destroy target creature.
|
||||
this.getSpellAbility().addEffect(new DestroyTargetEffect());
|
||||
this.getSpellAbility().addTarget(new TargetCreaturePermanent());
|
||||
|
||||
// All creatures get -3/-3 until end of turn.
|
||||
this.getSpellAbility().addEffect(new BoostAllEffect(
|
||||
-3, -3, Duration.EndOfTurn
|
||||
).concatBy("<br>"));
|
||||
}
|
||||
|
||||
private BlightGrenade(final BlightGrenade card) {
|
||||
super(card);
|
||||
}
|
||||
|
||||
@Override
|
||||
public BlightGrenade copy() {
|
||||
return new BlightGrenade(this);
|
||||
}
|
||||
}
|
|
@ -31,6 +31,7 @@ public final class Warhammer40000 extends ExpansionSet {
|
|||
cards.add(new SetCardInfo("Bile Blight", 195, Rarity.UNCOMMON, mage.cards.b.BileBlight.class));
|
||||
cards.add(new SetCardInfo("Bituminous Blast", 221, Rarity.UNCOMMON, mage.cards.b.BituminousBlast.class));
|
||||
cards.add(new SetCardInfo("Blasphemous Act", 204, Rarity.RARE, mage.cards.b.BlasphemousAct.class));
|
||||
cards.add(new SetCardInfo("Blight Grenade", 31, Rarity.RARE, mage.cards.b.BlightGrenade.class));
|
||||
cards.add(new SetCardInfo("Blood for the Blood God!", 108, Rarity.RARE, mage.cards.b.BloodForTheBloodGod.class));
|
||||
cards.add(new SetCardInfo("Bloodcrusher of Khorne", 72, Rarity.UNCOMMON, mage.cards.b.BloodcrusherOfKhorne.class));
|
||||
cards.add(new SetCardInfo("Brainstorm", 192, Rarity.COMMON, mage.cards.b.Brainstorm.class));
|
||||
|
|
Loading…
Reference in a new issue