[MOC] Implement Path of the Animist

This commit is contained in:
theelk801 2023-04-23 16:26:14 -04:00
parent b8858a881e
commit 7fc5943b07
4 changed files with 77 additions and 1 deletions

View file

@ -0,0 +1,36 @@
package mage.abilities.effects.common;
import mage.abilities.Ability;
import mage.abilities.effects.OneShotEffect;
import mage.constants.AbilityWord;
import mage.constants.Outcome;
import mage.game.Game;
/**
* @author TheElk801
*/
public class WillOfThePlaneswalkersEffect extends OneShotEffect {
public WillOfThePlaneswalkersEffect() {
super(Outcome.Benefit);
staticText = AbilityWord.WILL_OF_THE_COUNCIL.formatWord() + "Starting with you, each player votes " +
"for planeswalk or chaos. If planeswalk gets more votes, planeswalk. " +
"If chaos gets more votes or the vote is tied, chaos ensues";
concatBy("<br>");
}
private WillOfThePlaneswalkersEffect(final WillOfThePlaneswalkersEffect effect) {
super(effect);
}
@Override
public WillOfThePlaneswalkersEffect copy() {
return new WillOfThePlaneswalkersEffect(this);
}
@Override
public boolean apply(Game game, Ability source) {
// TODO: Implement when planes have been refactored
return true;
}
}

View file

@ -52,7 +52,8 @@ public enum AbilityWord {
TEMPTING_OFFER("Tempting offer"),
THRESHOLD("Threshold"),
UNDERGROWTH("Undergrowth"),
WILL_OF_THE_COUNCIL("Will of the council");
WILL_OF_THE_COUNCIL("Will of the council"),
WILL_OF_THE_PLANESWALKERS("Will of the planeswalkers");
private final String text;