Merge pull request #3372 from ingmargoudt/changelings

change getSubtype(game).contains(..) to hasSubtype(..) to include che…
This commit is contained in:
LevelX2 2017-05-14 06:32:48 +02:00 committed by GitHub
commit d1e4a7f6b0
23 changed files with 28 additions and 34 deletions

View file

@ -66,7 +66,7 @@ public class BecomesBlackZombieAdditionEffect extends ContinuousEffectImpl {
switch (layer) {
case TypeChangingEffects_4:
if (sublayer == SubLayer.NA) {
if (!creature.getSubtype(game).contains("Zombie")) {
if (!creature.hasSubtype("Zombie", game)) {
creature.getSubtype(game).add("Zombie");
}
}