forked from External/mage
* Reworked some parts of transform handling. Fixes #2396.
This commit is contained in:
parent
e57da7598e
commit
86648c7190
157 changed files with 246 additions and 204 deletions
|
|
@ -37,7 +37,6 @@ import mage.abilities.Ability;
|
|||
import mage.cards.Card;
|
||||
import mage.constants.Rarity;
|
||||
import mage.constants.Zone;
|
||||
import mage.counters.Counters;
|
||||
import mage.game.Controllable;
|
||||
import mage.game.Game;
|
||||
import mage.game.GameState;
|
||||
|
|
@ -251,10 +250,11 @@ public interface Permanent extends Card, Controllable {
|
|||
/**
|
||||
* Checks by restriction effects if the permanent can transform
|
||||
*
|
||||
* @param ability the ability that causes the transform
|
||||
* @param game
|
||||
* @return true - permanent can transform
|
||||
*/
|
||||
boolean canTransform(Game game);
|
||||
boolean canTransform(Ability ability, Game game);
|
||||
|
||||
boolean removeFromCombat(Game game);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue