* Voracious Dragon - fixed that it doesn't deal damage after devour;
-
package mage.cards.v;
import mage.MageInt;
@@ -23,7 +22,6 @@ import java.util.List;
import java.util.UUID;
/**
- *
* @author LevelX2
*/
public final class VoraciousDragon extends CardImpl {
@@ -70,7 +68,7 @@ class TwiceDevouredGoblins implements DynamicValue {
DevourEffect devourEffect = (DevourEffect) abilityEffect;
int amountGoblins = 0;
for (List<String> subtypesItem : devourEffect.getSubtypes(game, sourcePermanent.getId())) {
- if (subtypesItem.contains(SubType.GOBLIN.toString())) {
+ if (subtypesItem.contains(SubType.GOBLIN)) {
++amountGoblins;
}
}
