forked from External/mage
[CLB] Implemented White Plume Adventurer
This commit is contained in:
parent
4777466b50
commit
86dad5e54f
13 changed files with 524 additions and 9 deletions
|
|
@ -0,0 +1,32 @@
|
|||
package mage.abilities.effects.common;
|
||||
|
||||
import mage.abilities.Ability;
|
||||
import mage.abilities.effects.OneShotEffect;
|
||||
import mage.constants.Outcome;
|
||||
import mage.game.Game;
|
||||
|
||||
/**
|
||||
* @author TheElk801
|
||||
*/
|
||||
public class TakeTheInitiativeEffect extends OneShotEffect {
|
||||
|
||||
public TakeTheInitiativeEffect() {
|
||||
super(Outcome.Benefit);
|
||||
staticText = "you take the initiative";
|
||||
}
|
||||
|
||||
private TakeTheInitiativeEffect(final TakeTheInitiativeEffect effect) {
|
||||
super(effect);
|
||||
}
|
||||
|
||||
@Override
|
||||
public TakeTheInitiativeEffect copy() {
|
||||
return new TakeTheInitiativeEffect(this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean apply(Game game, Ability source) {
|
||||
game.takeInitiative(source, source.getControllerId());
|
||||
return true;
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue