forked from External/mage
[40K] Fix Malanthrope to only add +1/+1 counters for creatures (#9684)
This commit is contained in:
parent
70bd0e4d9d
commit
c68ef669e0
1 changed files with 2 additions and 1 deletions
|
|
@ -12,6 +12,7 @@ import mage.constants.Outcome;
|
|||
import mage.constants.SubType;
|
||||
import mage.constants.Zone;
|
||||
import mage.counters.CounterType;
|
||||
import mage.filter.StaticFilters;
|
||||
import mage.game.Game;
|
||||
import mage.game.permanent.Permanent;
|
||||
import mage.players.Player;
|
||||
|
|
@ -73,7 +74,7 @@ class MalanthropeEffect extends OneShotEffect {
|
|||
if (player == null || player.getGraveyard().isEmpty()) {
|
||||
return false;
|
||||
}
|
||||
int count = player.getGraveyard().size();
|
||||
int count = player.getGraveyard().count(StaticFilters.FILTER_CARD_CREATURE, game);
|
||||
player.moveCards(player.getGraveyard(), Zone.EXILED, source, game);
|
||||
Permanent permanent = source.getSourcePermanentIfItStillExists(game);
|
||||
if (permanent != null) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue