mirror of
https://github.com/correl/mage.git
synced 2024-12-27 03:00:13 +00:00
[DTK] Dragon-Scarred Bear, now with more Card Type Creature
This commit is contained in:
parent
d876d6d183
commit
f49ec506c7
1 changed files with 5 additions and 8 deletions
|
@ -34,11 +34,9 @@ import mage.abilities.common.ActivateIfConditionActivatedAbility;
|
||||||
import mage.abilities.condition.common.FormidableCondition;
|
import mage.abilities.condition.common.FormidableCondition;
|
||||||
import mage.abilities.costs.mana.ManaCostsImpl;
|
import mage.abilities.costs.mana.ManaCostsImpl;
|
||||||
import mage.abilities.effects.common.RegenerateSourceEffect;
|
import mage.abilities.effects.common.RegenerateSourceEffect;
|
||||||
import mage.abilities.effects.common.continuous.BoostSourceEffect;
|
|
||||||
import mage.cards.CardImpl;
|
import mage.cards.CardImpl;
|
||||||
import mage.constants.AbilityWord;
|
import mage.constants.AbilityWord;
|
||||||
import mage.constants.CardType;
|
import mage.constants.CardType;
|
||||||
import mage.constants.Duration;
|
|
||||||
import mage.constants.Rarity;
|
import mage.constants.Rarity;
|
||||||
import mage.constants.Zone;
|
import mage.constants.Zone;
|
||||||
|
|
||||||
|
@ -49,19 +47,18 @@ import mage.constants.Zone;
|
||||||
public class DragonScarredBear extends CardImpl {
|
public class DragonScarredBear extends CardImpl {
|
||||||
|
|
||||||
public DragonScarredBear(UUID ownerId) {
|
public DragonScarredBear(UUID ownerId) {
|
||||||
super(ownerId, 183, "Dragon-Scarred Bear", Rarity.COMMON, new CardType[]{}, "{2}{G}");
|
super(ownerId, 183, "Dragon-Scarred Bear", Rarity.COMMON, new CardType[]{CardType.CREATURE}, "{2}{G}");
|
||||||
this.expansionSetCode = "DTK";
|
this.expansionSetCode = "DTK";
|
||||||
this.supertype.add("Creature");
|
|
||||||
this.subtype.add("Bear");
|
this.subtype.add("Bear");
|
||||||
this.power = new MageInt(3);
|
this.power = new MageInt(3);
|
||||||
this.toughness = new MageInt(2);
|
this.toughness = new MageInt(2);
|
||||||
|
|
||||||
// <i>Formidable</i> - {1}{G}: Regenerate Dragon-Scarred Bear. Activate this only if creatures you control have total power 8 or greater.
|
// <i>Formidable</i> - {1}{G}: Regenerate Dragon-Scarred Bear. Activate this only if creatures you control have total power 8 or greater.
|
||||||
Ability ability = new ActivateIfConditionActivatedAbility(
|
Ability ability = new ActivateIfConditionActivatedAbility(
|
||||||
Zone.BATTLEFIELD,
|
Zone.BATTLEFIELD,
|
||||||
new RegenerateSourceEffect(),
|
new RegenerateSourceEffect(),
|
||||||
new ManaCostsImpl("{1}{G}"),
|
new ManaCostsImpl("{1}{G}"),
|
||||||
FormidableCondition.getInstance());
|
FormidableCondition.getInstance());
|
||||||
ability.setAbilityWord(AbilityWord.FORMIDABLE);
|
ability.setAbilityWord(AbilityWord.FORMIDABLE);
|
||||||
this.addAbility(ability);
|
this.addAbility(ability);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue