forked from External/mage
[40K] Implemented Gargoyle Flock
This commit is contained in:
parent
8094032665
commit
e9684c86ac
6 changed files with 163 additions and 40 deletions
|
|
@ -0,0 +1,23 @@
|
|||
package mage.abilities.condition.common;
|
||||
|
||||
import mage.abilities.Ability;
|
||||
import mage.abilities.condition.Condition;
|
||||
import mage.game.Game;
|
||||
import mage.watchers.common.CreatureEnteredControllerWatcher;
|
||||
|
||||
/**
|
||||
* @author TheElk801
|
||||
*/
|
||||
public enum CreatureEnteredUnderYourControlCondition implements Condition {
|
||||
instance;
|
||||
|
||||
@Override
|
||||
public boolean apply(Game game, Ability source) {
|
||||
return CreatureEnteredControllerWatcher.enteredCreatureForPlayer(source.getControllerId(), game);
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return "a creature entered the battlefield under your control this turn";
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue