mirror of
https://github.com/magefree/mage.git
synced 2025-12-25 04:52:07 -08:00
Merge pull request #4573 from delftswa2018/feature/UphillBattle
[WIP] Implemented Uphill Battle
This commit is contained in:
commit
ef809e837c
3 changed files with 171 additions and 1 deletions
|
|
@ -1097,6 +1097,8 @@ public abstract class PlayerImpl implements Player, Serializable {
|
|||
if (!ignoreTiming && !playLandAbility.canActivate(this.playerId, game)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
game.fireEvent(GameEvent.getEvent(GameEvent.EventType.PLAY_LAND, card.getId(), card.getId(), playerId));
|
||||
//20091005 - 305.1
|
||||
if (!game.replaceEvent(GameEvent.getEvent(GameEvent.EventType.PLAY_LAND, card.getId(), card.getId(), playerId))) {
|
||||
// int bookmark = game.bookmarkState();
|
||||
|
|
@ -1113,7 +1115,7 @@ public abstract class PlayerImpl implements Player, Serializable {
|
|||
// what makes no real sense. So it makes no sense to generally do a restorState here.
|
||||
// restoreState(bookmark, card.getName(), game);
|
||||
}
|
||||
// if the to play the land is replaced (e.g. Kjeldoran Outpos and don't sacrificing a Plains) it's a valid satte so returning true here
|
||||
// if the to play the land is replaced (e.g. Kjeldoran Outpos and don't sacrificing a Plains) it's a valid state so returning true here
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue