mirror of
https://github.com/magefree/mage.git
synced 2025-12-28 14:32:06 -08:00
fix #12463 (Faith's Fetters)
This commit is contained in:
parent
1750797036
commit
fb051a70b5
1 changed files with 1 additions and 3 deletions
|
|
@ -84,9 +84,7 @@ class FaithsFettersEffect extends ContinuousRuleModifyingEffectImpl {
|
|||
Permanent enchantment = game.getPermanent(source.getSourceId());
|
||||
if (enchantment != null && enchantment.isAttachedTo(event.getSourceId())) {
|
||||
Optional<Ability> ability = game.getAbility(event.getTargetId(), event.getSourceId());
|
||||
if (ability.isPresent() && ability.get().isManaAbility()) {
|
||||
return true;
|
||||
}
|
||||
return ability.isPresent() && ability.get().isNonManaActivatedAbility();
|
||||
|
||||
}
|
||||
return false;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue