mirror of
https://github.com/correl/mage.git
synced 2024-12-26 11:09:27 +00:00
[GTC] Add hint to Ground Assault and fix text of Massive Raid
This commit is contained in:
parent
b9eb118604
commit
e4206169b2
2 changed files with 5 additions and 7 deletions
|
@ -1,12 +1,11 @@
|
|||
package mage.cards.g;
|
||||
|
||||
import mage.abilities.dynamicvalue.DynamicValue;
|
||||
import mage.abilities.dynamicvalue.common.PermanentsOnBattlefieldCount;
|
||||
import mage.abilities.dynamicvalue.common.LandsYouControlCount;
|
||||
import mage.abilities.effects.common.DamageTargetEffect;
|
||||
import mage.abilities.hint.common.LandsYouControlHint;
|
||||
import mage.cards.CardImpl;
|
||||
import mage.cards.CardSetInfo;
|
||||
import mage.constants.CardType;
|
||||
import mage.filter.StaticFilters;
|
||||
import mage.target.common.TargetCreaturePermanent;
|
||||
|
||||
import java.util.UUID;
|
||||
|
@ -16,14 +15,13 @@ import java.util.UUID;
|
|||
*/
|
||||
public final class GroundAssault extends CardImpl {
|
||||
|
||||
private static final DynamicValue xValue = new PermanentsOnBattlefieldCount(StaticFilters.FILTER_CONTROLLED_PERMANENT_LAND);
|
||||
|
||||
public GroundAssault(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId, setInfo, new CardType[]{CardType.SORCERY}, "{R}{G}");
|
||||
|
||||
// Ground Assault deals damage to target creature equal to the number of lands you control.
|
||||
this.getSpellAbility().addEffect(new DamageTargetEffect(xValue).setText("{this} deals damage to target creature equal to the number of lands you control"));
|
||||
this.getSpellAbility().addEffect(new DamageTargetEffect(LandsYouControlCount.instance).setText("{this} deals damage to target creature equal to the number of lands you control"));
|
||||
this.getSpellAbility().addTarget(new TargetCreaturePermanent());
|
||||
this.getSpellAbility().addHint(LandsYouControlHint.instance);
|
||||
}
|
||||
|
||||
private GroundAssault(final GroundAssault card) {
|
||||
|
|
|
@ -19,7 +19,7 @@ public final class MassiveRaid extends CardImpl {
|
|||
super(ownerId, setInfo, new CardType[]{CardType.INSTANT}, "{1}{R}{R}");
|
||||
|
||||
// Massive Raid deals damage to any target equal to the number of creatures you control.
|
||||
this.getSpellAbility().addEffect(new DamageTargetEffect(CreaturesYouControlCount.instance));
|
||||
this.getSpellAbility().addEffect(new DamageTargetEffect(CreaturesYouControlCount.instance).setText("{this} deals damage to any target equal to the number of creatures you control"));
|
||||
this.getSpellAbility().addTarget(new TargetAnyTarget());
|
||||
this.getSpellAbility().addHint(CreaturesYouControlHint.instance);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue