mirror of
https://github.com/magefree/mage.git
synced 2026-01-23 11:49:56 -08:00
* Lion's Eye Diamond - Fixed that it now only can be cast at the time an instant spell could be cast.
This commit is contained in:
parent
c958a1af25
commit
8d8a2074f0
5 changed files with 40 additions and 2 deletions
|
|
@ -604,8 +604,17 @@ public class HumanPlayer extends PlayerImpl {
|
|||
return null;
|
||||
}
|
||||
|
||||
|
||||
@Override
|
||||
public boolean playMana(ManaCost unpaid, Game game) {
|
||||
payManaMode = true;
|
||||
boolean result = playManaHandling(unpaid, game);
|
||||
payManaMode = false;
|
||||
return result;
|
||||
}
|
||||
|
||||
|
||||
protected boolean playManaHandling(ManaCost unpaid, Game game) {
|
||||
updateGameStatePriority("playMana", game);
|
||||
game.firePlayManaEvent(playerId, "Pay " + unpaid.getText());
|
||||
waitForResponse(game);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue