removed some vestigial commented code

This commit is contained in:
Evan Kranzler 2019-01-16 18:25:00 -05:00
parent 1144bf3b4f
commit 191e9903ba

View file

@ -64,63 +64,4 @@ class KrarksThumbEffect extends ContinuousEffectImpl {
public boolean apply(Game game, Ability source) {
return false;
}
@Override
public boolean hasLayer(Layer layer) {
return layer == Layer.RulesEffects;
}
}
//class KrarksThumbEffect extends ReplacementEffectImpl {
//
// KrarksThumbEffect() {
// super(Duration.WhileOnBattlefield, Outcome.Benefit);
// staticText = "If you would flip a coin, instead flip two coins and ignore one";
// }
//
// private KrarksThumbEffect(final KrarksThumbEffect effect) {
// super(effect);
// }
//
// @Override
// public boolean replaceEvent(GameEvent event, Ability source, Game game) {
// Player player = game.getPlayer(event.getPlayerId());
// if (player == null || !player.getId().equals(source.getControllerId())) {
// return false;
// }
// FlipCoinEvent flipEvent = (FlipCoinEvent) event;
// boolean secondFlip = RandomUtil.nextBoolean();
// game.informPlayers(player.getLogName() + " flipped a " + flipEvent.getResultName()
// + " and a " + CardUtil.booleanToFlipName(secondFlip)
// );
// boolean chosenFlip = player.chooseUse(
// Outcome.Benefit, "Choose which coin you want",
// (flipEvent.isWinnable() ? "(You chose " + flipEvent.getChosenName() + ")" : null),
// flipEvent.getResultName(), CardUtil.booleanToFlipName(secondFlip), source, game
// );
// if (!chosenFlip) {
// flipEvent.setResult(secondFlip);
// }
// game.informPlayers(player.getLogName() + " chooses to keep " + flipEvent.getResultName());
// return false;
// }
//
// @Override
// public boolean checksEventType(GameEvent event, Game game) {
// return event.getType() == GameEvent.EventType.FLIP_COIN;
// }
//
// @Override
// public boolean applies(GameEvent event, Ability source, Game game) {
// return source.isControlledBy(event.getPlayerId());
// }
//
// @Override
// public boolean apply(Game game, Ability source) {
// return false;
// }
//
// @Override
// public KrarksThumbEffect copy() {
// return new KrarksThumbEffect(this);
// }
//}