mirror of
https://github.com/magefree/mage.git
synced 2025-12-28 06:22:01 -08:00
Added Chronatog Totem and Proteus Staff.
This commit is contained in:
parent
dafe138dd9
commit
eb97a8aa20
3 changed files with 355 additions and 0 deletions
|
|
@ -0,0 +1,39 @@
|
|||
/*
|
||||
* To change this license header, choose License Headers in Project Properties.
|
||||
* To change this template file, choose Tools | Templates
|
||||
* and open the template in the editor.
|
||||
*/
|
||||
package mage.abilities.effects.common.turn;
|
||||
|
||||
import mage.abilities.Ability;
|
||||
import mage.abilities.effects.OneShotEffect;
|
||||
import mage.constants.Outcome;
|
||||
import mage.game.Game;
|
||||
import mage.game.turn.TurnMod;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author Mael
|
||||
*/
|
||||
public class SkipNextTurnSourceEffect extends OneShotEffect {
|
||||
|
||||
public SkipNextTurnSourceEffect() {
|
||||
super(Outcome.Neutral);
|
||||
staticText = "You skip your next turn";
|
||||
}
|
||||
|
||||
public SkipNextTurnSourceEffect(final SkipNextTurnSourceEffect effect) {
|
||||
super(effect);
|
||||
}
|
||||
|
||||
@Override
|
||||
public SkipNextTurnSourceEffect copy() {
|
||||
return new SkipNextTurnSourceEffect(this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean apply(Game game, Ability source) {
|
||||
game.getState().getTurnMods().add(new TurnMod(source.getControllerId(), true));
|
||||
return true;
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue