mirror of
https://github.com/magefree/mage.git
synced 2025-12-25 13:02:06 -08:00
Fixed a bug of cost paying handling not showing only the left over unpaid part of mana cost (fixes #185). Added the name of the object the cost is paid for to the feedback panel.
This commit is contained in:
parent
972fe78898
commit
4a5140d0ab
6 changed files with 43 additions and 29 deletions
|
|
@ -1011,7 +1011,7 @@ public class ComputerPlayer extends PlayerImpl implements Player {
|
|||
}
|
||||
|
||||
@Override
|
||||
public boolean playMana(ManaCost unpaid, Game game) {
|
||||
public boolean playMana(ManaCost unpaid, String promptText, Game game) {
|
||||
payManaMode = true;
|
||||
boolean result = playManaHandling(unpaid, game);
|
||||
payManaMode = false;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue