mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-18 03:38:01 +00:00
- Basic AI for AF Learn
- Some minor tweaks and fixes for AF Learn
This commit is contained in:
committed by
Michael Kamensky
parent
5b77205b77
commit
0627d37f69
@@ -476,8 +476,9 @@ public class PlayerControllerHuman extends PlayerController implements IGameCont
|
||||
final boolean useUiPointAtCard =
|
||||
(FModel.getPreferences().getPrefBoolean(FPref.UI_SELECT_FROM_CARD_DISPLAYS) && (!GuiBase.getInterface().isLibgdxPort())) ?
|
||||
(cz.is(ZoneType.Battlefield) || cz.is(ZoneType.Hand) || cz.is(ZoneType.Library) ||
|
||||
cz.is(ZoneType.Graveyard) || cz.is(ZoneType.Exile) || cz.is(ZoneType.Flashback) || cz.is(ZoneType.Command)) :
|
||||
(cz.is(ZoneType.Hand) && cz.getPlayer() == player || cz.is(ZoneType.Battlefield));
|
||||
cz.is(ZoneType.Graveyard) || cz.is(ZoneType.Exile) || cz.is(ZoneType.Flashback) ||
|
||||
cz.is(ZoneType.Command) || cz.is(ZoneType.Sideboard)) :
|
||||
(cz.is(ZoneType.Hand, player) || cz.is(ZoneType.Battlefield));
|
||||
if (!useUiPointAtCard) {
|
||||
return false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user