mirror of
https://github.com/magefree/mage.git
synced 2025-12-24 20:41:58 -08:00
Added Timesifter.
This commit is contained in:
parent
a4e1444d63
commit
6162d4c80d
2 changed files with 127 additions and 3 deletions
|
|
@ -54,10 +54,9 @@ public class AddExtraTurnTargetEffect extends OneShotEffect {
|
|||
|
||||
@Override
|
||||
public boolean apply(Game game, Ability source) {
|
||||
if (source.getFirstTarget() != null) {
|
||||
game.getState().getTurnMods().add(new TurnMod(source.getFirstTarget(), false));
|
||||
if (this.getTargetPointer().getFirst(game, source) != null) {
|
||||
game.getState().getTurnMods().add(new TurnMod(this.getTargetPointer().getFirst(game, source), false));
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue