mirror of
https://github.com/correl/mage.git
synced 2024-12-24 03:00:14 +00:00
fixed Valiant Rescuer text and watcher
This commit is contained in:
parent
cc589bb963
commit
5624dd6153
1 changed files with 8 additions and 1 deletions
|
@ -84,6 +84,12 @@ class ValiantRescuerTriggeredAbility extends TriggeredAbilityImpl {
|
|||
public TriggeredAbility copy() {
|
||||
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 {
|
||||
|
@ -96,7 +102,8 @@ class ValiantRescuerWatcher extends Watcher {
|
|||
|
||||
@Override
|
||||
public void watch(GameEvent event, Game game) {
|
||||
if (game.getState().getStack().isEmpty()) {
|
||||
if (event.getType() != GameEvent.EventType.ACTIVATED_ABILITY
|
||||
|| game.getState().getStack().isEmpty()) {
|
||||
return;
|
||||
}
|
||||
StackObject item = game.getState().getStack().getFirst();
|
||||
|
|
Loading…
Reference in a new issue