some fixes

This commit is contained in:
xenohedron 2024-09-08 23:53:17 -04:00
parent 03a83df35a
commit cd4f4880e5
5 changed files with 7 additions and 6 deletions

View file

@ -43,7 +43,7 @@ public final class AdewaleBreakerOfChains extends CardImpl {
// When Adewale enters the battlefield, reveal the top six cards of your library. Put an Assassin, Pirate, or Vehicle card from among them into your hand and the rest on the bottom of your library in a random order.
this.addAbility(new EntersBattlefieldTriggeredAbility(
new RevealLibraryPickControllerEffect(
6, 1, filter, PutCards.HAND, PutCards.BOTTOM_RANDOM
6, 1, filter, PutCards.HAND, PutCards.BOTTOM_RANDOM, false
), false));
// Whenever a Vehicle you control deals combat damage to a player, you may return Adewale from your graveyard to your hand.

View file

@ -50,6 +50,7 @@ public final class CaduceusStaffOfHermes extends CardImpl {
), AttachmentType.EQUIPMENT), condition,
"and has \"Prevent all damage that would be dealt to this creature.\""
));
this.addAbility(ability);
// Equip {W}{W}
this.addAbility(new EquipAbility(Outcome.BoostCreature, new ManaCostsImpl<>("{W}{W}"), false));

View file

@ -2,7 +2,7 @@ package mage.cards.e;
import mage.MageInt;
import mage.abilities.Ability;
import mage.abilities.common.DealsCombatDamageTriggeredAbility;
import mage.abilities.common.DealsCombatDamageToAPlayerTriggeredAbility;
import mage.abilities.effects.OneShotEffect;
import mage.abilities.keyword.HasteAbility;
import mage.abilities.keyword.TrampleAbility;
@ -40,7 +40,7 @@ public final class EivorWolfKissed extends CardImpl {
this.addAbility(HasteAbility.getInstance());
// Whenever Eivor, Wolf-Kissed deals combat damage to a player, you mill that many cards. You may put a Saga card and/or a land card from among them onto the battlefield.
this.addAbility(new DealsCombatDamageTriggeredAbility(new EivorWolfKissedEffect(), false));
this.addAbility(new DealsCombatDamageToAPlayerTriggeredAbility(new EivorWolfKissedEffect(), false));
}
private EivorWolfKissed(final EivorWolfKissed card) {

View file

@ -52,7 +52,8 @@ public final class MjolnirStormHammer extends CardImpl {
ability.addEffect(new AddCountersTargetEffect(CounterType.STUN.createInstance())
.setText(" and put a stun counter on it"));
ability.addTarget(new TargetPermanent(filter));
ability.addEffect(new DamagePlayersEffect(TappedCreaturesControlledByTargetsControllerCount.instance, TargetController.OPPONENT));
ability.addEffect(new DamagePlayersEffect(TappedCreaturesControlledByTargetsControllerCount.instance, TargetController.OPPONENT)
.setText("Then {this} deals damage to each opponent equal to the number of tapped creatures that opponent controls."));
this.addAbility(ability);
// Equip {4}

View file

@ -1,4 +1,3 @@
package mage.cards.v;
import mage.MageObjectReference;
@ -42,7 +41,7 @@ public final class VigorousCharge extends CardImpl {
this.getSpellAbility().addTarget(new TargetCreaturePermanent());
this.getSpellAbility().addEffect(new GainAbilityTargetEffect(TrampleAbility.getInstance(), Duration.EndOfTurn));
// Whenever that creature deals combat damage this turn, if this spell was kicked, you gain life equal to that damage.
this.getSpellAbility().addEffect(new ConditionalOneShotEffect(new VigorousChargeEffect(), KickedCondition.ONCE));
this.getSpellAbility().addEffect(new ConditionalOneShotEffect(new VigorousChargeEffect(), KickedCondition.ONCE, staticText));
}