forked from External/mage
Improved canActivate support:
* added support of non controller activates in ActivatedManaAbility (mayActivate); * removed custom code from ActivatedManaAbility; * removed custom code from Mana Cache; * added additional comments;
This commit is contained in:
parent
bdeb0dde66
commit
33380f09c2
8 changed files with 33 additions and 29 deletions
|
|
@ -173,7 +173,7 @@ public abstract class ActivatedAbilityImpl extends AbilityImpl implements Activa
|
|||
}
|
||||
|
||||
/**
|
||||
* Basic activation check. It contains costs and targets legality too.
|
||||
* Activated ability check, not spells. It contains costs and targets legality too.
|
||||
* <p>
|
||||
* WARNING, don't forget to call super.canActivate on override in card's code in most cases.
|
||||
*
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue