mirror of
https://github.com/correl/mage.git
synced 2024-12-26 03:00:11 +00:00
Fixed Curse of the Nightly Hunt
This commit is contained in:
parent
528acab300
commit
0a670ded4a
1 changed files with 5 additions and 2 deletions
|
@ -96,8 +96,11 @@ class CurseOfTheNightlyHuntEffect extends RequirementEffect<CurseOfTheNightlyHun
|
|||
|
||||
@Override
|
||||
public boolean applies(Permanent permanent, Ability source, Game game) {
|
||||
if (source.getControllerId().equals(permanent.getControllerId())) {
|
||||
return true;
|
||||
Permanent enchantment = game.getPermanent(source.getSourceId());
|
||||
if (enchantment != null && enchantment.getAttachedTo() != null) {
|
||||
if (source.getControllerId().equals(enchantment.getAttachedTo())) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue