fixed Valiant Rescuer text and watcher

This commit is contained in:
Evan Kranzler 2020-04-23 19:23:48 -04:00
parent cc589bb963
commit 5624dd6153

View file

@ -84,6 +84,12 @@ class ValiantRescuerTriggeredAbility extends TriggeredAbilityImpl {
public TriggeredAbility copy() { public TriggeredAbility copy() {
return null; return null;
} }
@Override
public String getRule() {
return "Whenever you cycle another card for the first time each turn, " +
"create a 1/1 white Human Soldier creature token.";
}
} }
class ValiantRescuerWatcher extends Watcher { class ValiantRescuerWatcher extends Watcher {
@ -96,7 +102,8 @@ class ValiantRescuerWatcher extends Watcher {
@Override @Override
public void watch(GameEvent event, Game game) { public void watch(GameEvent event, Game game) {
if (game.getState().getStack().isEmpty()) { if (event.getType() != GameEvent.EventType.ACTIVATED_ABILITY
|| game.getState().getStack().isEmpty()) {
return; return;
} }
StackObject item = game.getState().getStack().getFirst(); StackObject item = game.getState().getStack().getFirst();