mirror of
https://github.com/correl/mage.git
synced 2024-12-25 11:11:16 +00:00
fix voracious Dragon, Goblins were never counted properly
This commit is contained in:
parent
ae33adb262
commit
da287bb4ed
1 changed files with 1 additions and 1 deletions
|
@ -70,7 +70,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)) {
|
||||
if (subtypesItem.contains(SubType.GOBLIN.toString())) {
|
||||
++amountGoblins;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue