forked from External/mage
fix [LTR] Orcish Bowmasters (#10547)
The "except the first one they draw in each of their draw steps" part of the trigger was not properly checked, and cards drawn on your end step was never triggering an opposing Orcish Bowmasters. `OpponentDrawCardExceptFirstCardDrawStepTriggeredAbility` is a triggered ability that initializes a watcher `CardsDrawnDuringDrawStepWatcher`. However `OrTriggeredAbility` was not exposing its sub triggers' watchers to the game engine. I am not sure the global fix to `OrTriggeredAbility` is better than a `triggeredAbility.addWatcher(...)` in OrcishBowmaster.java. Also, the trigger text was not set at the proper level.
This commit is contained in:
parent
6b5d4abb69
commit
1f0189a098
2 changed files with 6 additions and 3 deletions
|
|
@ -41,6 +41,10 @@ public class OrTriggeredAbility extends TriggeredAbilityImpl {
|
|||
for (TriggeredAbility ability : triggeredAbilities) {
|
||||
//Remove useless data
|
||||
ability.getEffects().clear();
|
||||
|
||||
for(Watcher watcher : ability.getWatchers()) {
|
||||
super.addWatcher(watcher);
|
||||
}
|
||||
}
|
||||
setTriggerPhrase(generateTriggerPhrase());
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue