Package mage.abilities

Examples of mage.abilities.SpecialAction


    return new CreateSpecialActionEffect(this);
  }

  @Override
  public boolean apply(Game game, Ability source) {
    SpecialAction newAction = (SpecialAction) action.copy();
    newAction.setSourceId(source.getSourceId());
    newAction.setControllerId(source.getControllerId());
    newAction.getTargets().addAll(source.getTargets());
    game.getState().getSpecialActions().add(newAction);
    return true;
  }
View Full Code Here


        return new CreateSpecialActionEffect(this);
    }

    @Override
    public boolean apply(Game game, Ability source) {
        SpecialAction newAction = (SpecialAction) action.copy();
        newAction.setSourceId(source.getSourceId());
        newAction.setControllerId(source.getControllerId());
        newAction.getTargets().addAll(source.getTargets());
        game.getState().getSpecialActions().add(newAction);
        return true;
    }
View Full Code Here

TOP

Related Classes of mage.abilities.SpecialAction

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.