* Voracious Dragon - fixed that it doesn't deal damage after devour;

This commit is contained in:
Oleg Agafonov 2019-06-30 11:43:34 +04:00
parent 4c71b55457
commit 6ab76ce91d

View file

@ -1,4 +1,3 @@
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;
}
}