mirror of
https://github.com/magefree/mage.git
synced 2025-12-27 22:12:03 -08:00
- Fixed #6056. Please test when you can. Now you will see other abilities/spellAbilities from cards presented during the cast from exile. Overload, Emerge, Surge, etc.
This commit is contained in:
parent
76da8dd539
commit
2de7c136ea
11 changed files with 135 additions and 66 deletions
|
|
@ -3478,4 +3478,9 @@ public class TestPlayer implements Player {
|
|||
public FilterMana getPhyrexianColors() {
|
||||
return computerPlayer.getPhyrexianColors();
|
||||
}
|
||||
|
||||
@Override
|
||||
public SpellAbility chooseAbilityForCast(Card card, Game game, boolean noMana) {
|
||||
return card.getSpellAbility();
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1386,5 +1386,10 @@ public class PlayerStub implements Player {
|
|||
public FilterMana getPhyrexianColors() {
|
||||
return (new FilterMana());
|
||||
}
|
||||
|
||||
@Override
|
||||
public SpellAbility chooseAbilityForCast(Card card, Game game, boolean noMana) {
|
||||
return card.getSpellAbility();
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue