mirror of
https://github.com/magefree/mage.git
synced 2025-12-24 04:22:01 -08:00
* Suspend ability - fixed that suspend can be activated from opponent's hand;
This commit is contained in:
parent
fb4065ba66
commit
9fa487e60a
9 changed files with 97 additions and 27 deletions
|
|
@ -44,6 +44,13 @@ public interface ActivatedAbility extends Ability {
|
|||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* WARNING, don't forget to call super.canActivate on override in card's code
|
||||
*
|
||||
* @param playerId
|
||||
* @param game
|
||||
* @return
|
||||
*/
|
||||
ActivationStatus canActivate(UUID playerId, Game game); // has to return a reference to the permitting ability/source
|
||||
|
||||
void setMayActivate(TargetController mayActivate);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue