* Temple Altisaur - Fixed that the prevention effect was applied to all creatures, not just Dinosaurs (fixes #4364).

This commit is contained in:
LevelX2 2018-01-08 10:52:03 +01:00
parent ea99c7fb72
commit f3a37553a5

View file

@ -102,6 +102,7 @@ class TempleAltisaurPreventEffect extends PreventionEffectImpl {
Permanent permanent = game.getPermanent(event.getTargetId());
if (permanent != null
&& !permanent.getId().equals(source.getSourceId())
&& permanent.hasSubtype(SubType.DINOSAUR, game)
&& permanent.getControllerId().equals(source.getControllerId())) {
return super.applies(event, source, game);
}