mirror of
https://github.com/correl/mage.git
synced 2024-11-15 11:09:30 +00:00
* Temple Altisaur - Fixed that the prevention effect was applied to all creatures, not just Dinosaurs (fixes #4364).
This commit is contained in:
parent
ea99c7fb72
commit
f3a37553a5
1 changed files with 1 additions and 0 deletions
|
@ -102,6 +102,7 @@ class TempleAltisaurPreventEffect extends PreventionEffectImpl {
|
||||||
Permanent permanent = game.getPermanent(event.getTargetId());
|
Permanent permanent = game.getPermanent(event.getTargetId());
|
||||||
if (permanent != null
|
if (permanent != null
|
||||||
&& !permanent.getId().equals(source.getSourceId())
|
&& !permanent.getId().equals(source.getSourceId())
|
||||||
|
&& permanent.hasSubtype(SubType.DINOSAUR, game)
|
||||||
&& permanent.getControllerId().equals(source.getControllerId())) {
|
&& permanent.getControllerId().equals(source.getControllerId())) {
|
||||||
return super.applies(event, source, game);
|
return super.applies(event, source, game);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue