Skip to content

Commit

Permalink
fix #12937 (Enduring Courage)
Browse files Browse the repository at this point in the history
  • Loading branch information
xenohedron committed Sep 29, 2024
1 parent e5a351f commit f690ddd
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions Mage.Sets/src/mage/cards/e/EnduringCourage.java
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,9 @@
import mage.cards.CardImpl;
import mage.cards.CardSetInfo;
import mage.constants.CardType;
import mage.constants.SetTargetPointer;
import mage.constants.SubType;
import mage.constants.Zone;
import mage.filter.StaticFilters;

import java.util.UUID;
Expand All @@ -29,9 +31,9 @@ public EnduringCourage(UUID ownerId, CardSetInfo setInfo) {
this.toughness = new MageInt(3);

// Whenever another creature you control enters, it gets +2/+0 and gains haste until end of turn.
Ability ability = new EntersBattlefieldAllTriggeredAbility(
Ability ability = new EntersBattlefieldAllTriggeredAbility(Zone.BATTLEFIELD,
new BoostTargetEffect(2, 0).setText("it gets +2/+0"),
StaticFilters.FILTER_ANOTHER_CREATURE_YOU_CONTROL
StaticFilters.FILTER_ANOTHER_CREATURE_YOU_CONTROL, false, SetTargetPointer.PERMANENT
);
ability.addEffect(new GainAbilityTargetEffect(HasteAbility.getInstance())
.setText("and gains haste until end of turn"));
Expand Down

0 comments on commit f690ddd

Please sign in to comment.