mirror of
https://github.com/magefree/mage.git
synced 2025-12-30 07:22:03 -08:00
Implemented Mistfolk
This commit is contained in:
parent
c95f5b55fc
commit
34e4012540
3 changed files with 87 additions and 3 deletions
|
|
@ -13,7 +13,6 @@ import mage.game.permanent.Permanent;
|
|||
import mage.target.common.TargetCreaturePermanent;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author TheElk801
|
||||
*/
|
||||
public class MentorAbility extends AttacksTriggeredAbility {
|
||||
|
|
@ -22,7 +21,7 @@ public class MentorAbility extends AttacksTriggeredAbility {
|
|||
|
||||
static {
|
||||
filter.add(new AttackingPredicate());
|
||||
filter.add(new MentorAbilityPredicate());
|
||||
filter.add(MentorAbilityPredicate.instance);
|
||||
}
|
||||
|
||||
public MentorAbility() {
|
||||
|
|
@ -46,7 +45,8 @@ public class MentorAbility extends AttacksTriggeredAbility {
|
|||
|
||||
}
|
||||
|
||||
class MentorAbilityPredicate implements ObjectSourcePlayerPredicate<ObjectSourcePlayer<Card>> {
|
||||
enum MentorAbilityPredicate implements ObjectSourcePlayerPredicate<ObjectSourcePlayer<Card>> {
|
||||
instance;
|
||||
|
||||
@Override
|
||||
public boolean apply(ObjectSourcePlayer<Card> input, Game game) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue