mirror of
https://github.com/correl/mage.git
synced 2025-01-12 11:08:01 +00:00
fixed Arclight Pheonix ability not triggering (fixes #5333)
This commit is contained in:
parent
7e799ef5bc
commit
69f84b2583
1 changed files with 4 additions and 2 deletions
|
@ -17,6 +17,7 @@ import mage.cards.CardSetInfo;
|
|||
import mage.constants.CardType;
|
||||
import mage.constants.TargetController;
|
||||
import mage.constants.WatcherScope;
|
||||
import mage.constants.Zone;
|
||||
import mage.game.Game;
|
||||
import mage.game.events.GameEvent;
|
||||
import mage.game.stack.Spell;
|
||||
|
@ -44,8 +45,9 @@ public final class ArclightPhoenix extends CardImpl {
|
|||
// At the beginning of combat on your turn, if you cast 3 or more instants and/or sorceries this turn, you may return Arclight Phoenix from your graveyard to the battlefield.
|
||||
this.addAbility(new ConditionalInterveningIfTriggeredAbility(
|
||||
new BeginningOfCombatTriggeredAbility(
|
||||
Zone.GRAVEYARD,
|
||||
new ReturnSourceFromGraveyardToBattlefieldEffect(),
|
||||
TargetController.YOU, true
|
||||
TargetController.YOU, true, false
|
||||
), ArclightPhoenixCondition.instance,
|
||||
"At the beginning of combat on your turn, "
|
||||
+ "if you've cast three or more instant "
|
||||
|
@ -79,7 +81,7 @@ enum ArclightPhoenixCondition implements Condition {
|
|||
|
||||
class ArclightPhoenixWatcher extends Watcher {
|
||||
|
||||
private Map<UUID, Integer> instantSorceryCount = new HashMap();
|
||||
private final Map<UUID, Integer> instantSorceryCount = new HashMap();
|
||||
|
||||
public ArclightPhoenixWatcher() {
|
||||
super(ArclightPhoenixWatcher.class.getSimpleName(), WatcherScope.GAME);
|
||||
|
|
Loading…
Reference in a new issue