mirror of
https://github.com/magefree/mage.git
synced 2025-12-25 13:02:06 -08:00
Please test! Some changes to the display of user choices, showing also a longer text in tooltip window.
This commit is contained in:
parent
cac04616f3
commit
df3e6db569
352 changed files with 2277 additions and 2034 deletions
|
|
@ -1286,7 +1286,7 @@ public class ComputerPlayer extends PlayerImpl implements Player {
|
|||
}
|
||||
|
||||
@Override
|
||||
public boolean chooseUse(Outcome outcome, String message, Game game) {
|
||||
public boolean chooseUse(Outcome outcome, String message, Ability source, Game game) {
|
||||
log.debug("chooseUse: " + outcome.isGood());
|
||||
// Be proactive! Always use abilities, the evaluation function will decide if it's good or not
|
||||
// Otherwise some abilities won't be used by AI like LoseTargetEffect that has "bad" outcome
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue