mirror of
https://github.com/magefree/mage.git
synced 2025-12-25 04:52:07 -08:00
* Refelecting Pool - Fixed that mana that Exotic Orchard could produce was not taken into account.
This commit is contained in:
parent
4018d39dab
commit
7d60d884c3
2 changed files with 28 additions and 1 deletions
|
|
@ -69,6 +69,12 @@ public class AnyColorLandsProduceManaAbility extends ActivatedManaAbilityImpl {
|
|||
public List<Mana> getNetMana(Game game) {
|
||||
return ((AnyColorLandsProduceManaEffect) getEffects().get(0)).getNetMana(game, this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean definesMana() {
|
||||
return true;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
class AnyColorLandsProduceManaEffect extends ManaEffect {
|
||||
|
|
@ -155,7 +161,7 @@ class AnyColorLandsProduceManaEffect extends ManaEffect {
|
|||
}
|
||||
|
||||
private Mana getManaTypes(Game game, Ability source) {
|
||||
List<Permanent> lands = game.getBattlefield().getActivePermanents(filter, source.getControllerId(), game);
|
||||
List<Permanent> lands = game.getBattlefield().getActivePermanents(filter, source.getControllerId(), source.getSourceId(), game);
|
||||
Mana types = new Mana();
|
||||
for (Permanent land : lands) {
|
||||
Abilities<ActivatedManaAbilityImpl> mana = land.getAbilities().getActivatedManaAbilities(Zone.BATTLEFIELD);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue