mirror of
https://github.com/correl/mage.git
synced 2024-12-24 11:50:45 +00:00
fix Issue 135
This commit is contained in:
parent
bdd6a3b988
commit
e7510eb209
1 changed files with 2 additions and 0 deletions
|
@ -41,6 +41,7 @@ import mage.abilities.effects.OneShotEffect;
|
|||
import mage.abilities.mana.GreenManaAbility;
|
||||
import mage.cards.CardImpl;
|
||||
import mage.counters.common.PlusOneCounter;
|
||||
import mage.filter.Filter;
|
||||
import mage.filter.FilterPermanent;
|
||||
import mage.game.Game;
|
||||
import mage.game.permanent.Permanent;
|
||||
|
@ -95,6 +96,7 @@ class OranRiefTheVastwoodEffect extends OneShotEffect<OranRiefTheVastwoodEffect>
|
|||
FilterPermanent filter = new FilterPermanent();
|
||||
filter.getCardType().add(CardType.CREATURE);
|
||||
filter.getColor().setGreen(true);
|
||||
filter.setScopeColor(Filter.ComparisonScope.Any);
|
||||
filter.setUseColor(true);
|
||||
for (Permanent permanent: game.getBattlefield().getActivePermanents(filter, source.getControllerId(), game)) {
|
||||
if (permanent.getTurnsOnBattlefield() == 0) {
|
||||
|
|
Loading…
Reference in a new issue