forked from External/mage
32 lines
831 B
Java
32 lines
831 B
Java
package mage.cards.b;
|
|
|
|
import mage.Mana;
|
|
import mage.abilities.dynamicvalue.common.CreaturesYouControlCount;
|
|
import mage.abilities.effects.mana.DynamicManaEffect;
|
|
import mage.cards.CardImpl;
|
|
import mage.cards.CardSetInfo;
|
|
import mage.constants.CardType;
|
|
|
|
import java.util.UUID;
|
|
|
|
/**
|
|
* @author North
|
|
*/
|
|
public final class BattleHymn extends CardImpl {
|
|
|
|
public BattleHymn(UUID ownerId, CardSetInfo setInfo) {
|
|
super(ownerId, setInfo, new CardType[]{CardType.INSTANT}, "{1}{R}");
|
|
|
|
// Add {R} for each creature you control.
|
|
this.getSpellAbility().addEffect(new DynamicManaEffect(Mana.RedMana(1), CreaturesYouControlCount.SINGULAR));
|
|
}
|
|
|
|
private BattleHymn(final BattleHymn card) {
|
|
super(card);
|
|
}
|
|
|
|
@Override
|
|
public BattleHymn copy() {
|
|
return new BattleHymn(this);
|
|
}
|
|
}
|