[ZNR] fixed Drana, the Last Bloodchief not making the returned creature a vampire (#7046)

This commit is contained in:
Evan Kranzler 2020-09-24 19:56:28 -04:00
parent 44a8954edf
commit 602fe3740d

View file

@ -121,16 +121,8 @@ class DranaTheLastBloodchiefSubtypeEffect extends ContinuousEffectImpl {
@Override
public boolean apply(Layer layer, SubLayer sublayer, Ability source, Game game) {
Permanent creature;
if (source.getTargets().getFirstTarget() == null) {
creature = game.getPermanent(getTargetPointer().getFirst(game, source));
} else {
creature = game.getPermanent(source.getTargets().getFirstTarget());
if (creature == null) {
creature = game.getPermanentEntering(source.getTargets().getFirstTarget());
}
}
if (creature != null && mor.refersTo(creature, game)) {
Permanent creature = mor.getPermanent(game);
if (creature != null) {
if (!creature.hasSubtype(SubType.VAMPIRE, game)) {
creature.getSubtype(game).add(SubType.VAMPIRE);
}