fixed Rakdos, the Showstopper destroying noncreature permanents

This commit is contained in:
Evan Kranzler 2019-01-12 10:21:40 -05:00
parent 581db3d6e0
commit 5399d4d33b

View file

@ -76,6 +76,7 @@ class RakdosTheShowstopperEffect extends OneShotEffect {
}
for (Permanent permanent : game.getBattlefield().getActivePermanents(source.getControllerId(), game)) {
if (permanent != null
&& permanent.isCreature()
&& !permanent.hasSubtype(SubType.DEMON, game)
&& !permanent.hasSubtype(SubType.DEVIL, game)
&& !permanent.hasSubtype(SubType.IMP, game)