mirror of
https://github.com/correl/mage.git
synced 2024-12-25 11:11:16 +00:00
* Voracious Dragon - fixed that it doesn't deal damage after devour;
This commit is contained in:
parent
4c71b55457
commit
6ab76ce91d
1 changed files with 5 additions and 7 deletions
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue