mirror of
https://github.com/correl/mage.git
synced 2024-11-16 03:00:12 +00:00
Fixed Scoured Barrens and Secluded Steppe collector numbers [C15]. Adding missing flying ability to Victory's Herald.
This commit is contained in:
parent
b0a857a8cf
commit
3ff7b47b14
5 changed files with 219 additions and 218 deletions
|
@ -37,7 +37,7 @@ public class ScouredBarrens extends mage.sets.khansoftarkir.ScouredBarrens {
|
|||
|
||||
public ScouredBarrens(UUID ownerId) {
|
||||
super(ownerId);
|
||||
this.cardNumber = 302;
|
||||
this.cardNumber = 303;
|
||||
this.expansionSetCode = "C15";
|
||||
}
|
||||
|
||||
|
|
|
@ -37,7 +37,7 @@ public class SecludedSteppe extends mage.sets.onslaught.SecludedSteppe {
|
|||
|
||||
public SecludedSteppe(UUID ownerId) {
|
||||
super(ownerId);
|
||||
this.cardNumber = 303;
|
||||
this.cardNumber = 304;
|
||||
this.expansionSetCode = "C15";
|
||||
}
|
||||
|
||||
|
|
|
@ -29,9 +29,6 @@
|
|||
package mage.sets.mirrodinbesieged;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
import mage.constants.CardType;
|
||||
import mage.constants.Rarity;
|
||||
import mage.MageInt;
|
||||
import mage.abilities.Ability;
|
||||
import mage.abilities.common.AttacksTriggeredAbility;
|
||||
|
@ -39,7 +36,9 @@ import mage.abilities.effects.common.continuous.GainAbilityControlledEffect;
|
|||
import mage.abilities.keyword.FlyingAbility;
|
||||
import mage.abilities.keyword.LifelinkAbility;
|
||||
import mage.cards.CardImpl;
|
||||
import mage.constants.CardType;
|
||||
import mage.constants.Duration;
|
||||
import mage.constants.Rarity;
|
||||
import mage.filter.common.FilterAttackingCreature;
|
||||
|
||||
/**
|
||||
|
@ -55,6 +54,11 @@ public class VictorysHerald extends CardImpl {
|
|||
|
||||
this.power = new MageInt(4);
|
||||
this.toughness = new MageInt(4);
|
||||
|
||||
// Flying
|
||||
this.addAbility(FlyingAbility.getInstance());
|
||||
|
||||
// Whenever Victory's Herald attacks, attacking creatures gain flying and lifelink until end of turn.
|
||||
Ability ability = new AttacksTriggeredAbility(new GainAbilityControlledEffect(FlyingAbility.getInstance(), Duration.EndOfTurn, new FilterAttackingCreature()), false);
|
||||
ability.addEffect(new GainAbilityControlledEffect(LifelinkAbility.getInstance(), Duration.EndOfTurn, new FilterAttackingCreature()));
|
||||
this.addAbility(ability);
|
||||
|
|
|
@ -27,6 +27,7 @@
|
|||
*/
|
||||
package mage.sets.odyssey;
|
||||
|
||||
import java.util.UUID;
|
||||
import mage.abilities.Ability;
|
||||
import mage.abilities.common.SimpleStaticAbility;
|
||||
import mage.abilities.costs.common.ExileFromGraveCost;
|
||||
|
@ -44,8 +45,6 @@ import mage.game.Game;
|
|||
import mage.players.Player;
|
||||
import mage.target.common.TargetCardInYourGraveyard;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author jeffwadsworth
|
||||
|
@ -58,7 +57,7 @@ public class SkeletalScrying extends CardImpl {
|
|||
|
||||
|
||||
// As an additional cost to cast Skeletal Scrying, exile X cards from your graveyard.
|
||||
Ability ability = new SimpleStaticAbility(Zone.ALL,new SkeletalScryingRuleEffect());
|
||||
Ability ability = new SimpleStaticAbility(Zone.ALL, new SkeletalScryingRuleEffect());
|
||||
ability.setRuleAtTheTop(true);
|
||||
this.addAbility(ability);
|
||||
// You draw X cards and you lose X life.
|
||||
|
@ -88,7 +87,7 @@ class SkeletalScryingRuleEffect extends OneShotEffect {
|
|||
|
||||
public SkeletalScryingRuleEffect() {
|
||||
super(Outcome.Benefit);
|
||||
this.staticText = "As an additional cost to cast Skeletal Scrying, exile X cards from your graveyard";
|
||||
this.staticText = "As an additional cost to cast {this}, exile X cards from your graveyard";
|
||||
}
|
||||
|
||||
public SkeletalScryingRuleEffect(final SkeletalScryingRuleEffect effect) {
|
||||
|
|
|
@ -28,11 +28,9 @@
|
|||
|
||||
package mage.abilities.effects.common;
|
||||
|
||||
import java.util.UUID;
|
||||
import mage.abilities.Ability;
|
||||
import mage.abilities.condition.common.SourceTappedCondition;
|
||||
import mage.abilities.decorator.ConditionalContinuousRuleModifyingEffect;
|
||||
import mage.abilities.effects.common.DontUntapInControllersUntapStepTargetEffect;
|
||||
import mage.constants.Duration;
|
||||
import mage.game.Game;
|
||||
import mage.game.events.GameEvent;
|
||||
|
|
Loading…
Reference in a new issue