mirror of
https://github.com/magefree/mage.git
synced 2025-12-23 20:11:59 -08:00
[LCI] Implement Basking Capybara
This commit is contained in:
parent
f37eac6891
commit
b095cfd5a1
3 changed files with 46 additions and 0 deletions
44
Mage.Sets/src/mage/cards/b/BaskingCapybara.java
Normal file
44
Mage.Sets/src/mage/cards/b/BaskingCapybara.java
Normal file
|
|
@ -0,0 +1,44 @@
|
|||
package mage.cards.b;
|
||||
|
||||
import mage.MageInt;
|
||||
import mage.abilities.common.SimpleStaticAbility;
|
||||
import mage.abilities.condition.common.DescendCondition;
|
||||
import mage.abilities.decorator.ConditionalContinuousEffect;
|
||||
import mage.abilities.effects.common.continuous.BoostSourceEffect;
|
||||
import mage.cards.CardImpl;
|
||||
import mage.cards.CardSetInfo;
|
||||
import mage.constants.AbilityWord;
|
||||
import mage.constants.CardType;
|
||||
import mage.constants.Duration;
|
||||
import mage.constants.SubType;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
/**
|
||||
* @author TheElk801
|
||||
*/
|
||||
public final class BaskingCapybara extends CardImpl {
|
||||
|
||||
public BaskingCapybara(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{1}{G}");
|
||||
|
||||
this.subtype.add(SubType.CAPYBARA);
|
||||
this.power = new MageInt(1);
|
||||
this.toughness = new MageInt(3);
|
||||
|
||||
// Descend 4 -- Basking Capybara gets +3/+0 as long as there are four or more permanent cards in your graveyard.
|
||||
this.addAbility(new SimpleStaticAbility(new ConditionalContinuousEffect(
|
||||
new BoostSourceEffect(3, 0, Duration.WhileOnBattlefield), DescendCondition.FOUR,
|
||||
"{this} gets +3/+0 as long as there are four or more permanent cards in your graveyard"
|
||||
)).setAbilityWord(AbilityWord.DESCEND_4).addHint(DescendCondition.getHint()));
|
||||
}
|
||||
|
||||
private BaskingCapybara(final BaskingCapybara card) {
|
||||
super(card);
|
||||
}
|
||||
|
||||
@Override
|
||||
public BaskingCapybara copy() {
|
||||
return new BaskingCapybara(this);
|
||||
}
|
||||
}
|
||||
|
|
@ -28,6 +28,7 @@ public final class TheLostCavernsOfIxalan extends ExpansionSet {
|
|||
cards.add(new SetCardInfo("Akawalli, the Seething Tower", 220, Rarity.UNCOMMON, mage.cards.a.AkawalliTheSeethingTower.class));
|
||||
cards.add(new SetCardInfo("Amalia Benavides Aguirre", 221, Rarity.RARE, mage.cards.a.AmaliaBenavidesAguirre.class));
|
||||
cards.add(new SetCardInfo("Bartolome del Presidio", 224, Rarity.UNCOMMON, mage.cards.b.BartolomeDelPresidio.class));
|
||||
cards.add(new SetCardInfo("Basking Capybara", 175, Rarity.COMMON, mage.cards.b.BaskingCapybara.class));
|
||||
cards.add(new SetCardInfo("Bedrock Tortoise", 176, Rarity.RARE, mage.cards.b.BedrockTortoise.class));
|
||||
cards.add(new SetCardInfo("Belligerent Yearling", 133, Rarity.UNCOMMON, mage.cards.b.BelligerentYearling.class));
|
||||
cards.add(new SetCardInfo("Bitter Triumph", 91, Rarity.UNCOMMON, mage.cards.b.BitterTriumph.class));
|
||||
|
|
|
|||
|
|
@ -109,6 +109,7 @@ public enum SubType {
|
|||
CALAMARI("Calamari", SubTypeSet.CreatureType, true), // Star Wars
|
||||
CAMARID("Camarid", SubTypeSet.CreatureType),
|
||||
CAMEL("Camel", SubTypeSet.CreatureType),
|
||||
CAPYBARA("Capybara", SubTypeSet.CreatureType),
|
||||
CARIBOU("Caribou", SubTypeSet.CreatureType),
|
||||
CARRIER("Carrier", SubTypeSet.CreatureType),
|
||||
CAT("Cat", SubTypeSet.CreatureType),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue