mirror of
https://github.com/correl/mage.git
synced 2024-11-15 03:00:16 +00:00
- Fixed #6788.
This commit is contained in:
parent
af74fb335c
commit
8aa5154e81
1 changed files with 6 additions and 1 deletions
|
@ -94,7 +94,12 @@ class CrypticTrilobiteManaCondition extends ManaCondition implements Condition {
|
|||
|
||||
@Override
|
||||
public boolean apply(Game game, Ability source) {
|
||||
return source != null && source.getAbilityType() == AbilityType.ACTIVATED;
|
||||
if (source != null) {
|
||||
// ex: SimpleManaAbility is an ACTIVATED ability, but it is categorized as a MANA ability
|
||||
return source.getAbilityType() == AbilityType.MANA
|
||||
|| source.getAbilityType() == AbilityType.ACTIVATED;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
Loading…
Reference in a new issue