Oleg Agafonov
6cbf94bad6
AI: improved usage of attachments:
...
* AI can play equipment/aura cards more frequent (computer can see and analyse all attached effects now);
* AI can attach permanents with bad effects correctly (bad for opponents, good for itself);
2020-01-29 07:38:08 +04:00
Oleg Agafonov
bd71c98e3e
Fixed AI freeze with non available targets
2019-12-21 18:10:29 +04:00
Oleg Agafonov
4495d75d8a
Fixed NPE error on AI calcs
2018-12-18 17:17:10 +04:00
igoudt
ca1ebeb55e
add method Game.isActivePlayer(UUID playerId)
2018-06-29 14:59:11 +02:00
GrayedFox
3953f3dbdd
remove all MIT copyright notices from files
2018-06-02 17:59:49 +02:00
LevelX2
442130beb6
Some minor changes.
2018-03-17 23:40:36 +01:00
LevelX2
dac8f2dfe8
Fixed a bug of AI not handling pass action correctly so the AI got passive. Added AI possibility to act after blockers are declared (eg boost for blocking or blocked creatures).
2018-03-10 19:59:59 +01:00
Jeff
9cd3c010fd
- Cleanup of AI classes.
2018-01-19 16:37:09 -06:00
LevelX2
0d46c68924
* Fixed some problems for handling concede during game init.
2017-11-04 18:19:41 +01:00
LevelX2
58d3fc2328
Fixed player leaving/conceding handling.
2017-10-21 16:13:45 +02:00
vraskulin
0557b5e89c
list.size > 0 changed to !list.isEmpty
...
We care about if it's empty or not, not about it's size
2017-02-06 14:32:51 +03:00
vraskulin
f60ebfbb1f
All 1-character strings converted to primitives
...
"b" + "r" now changed to 'b' + 'w'. It's more straight-forward, and may cause perfomance improvements - character primitives allocation is faster and less expensive than string creation.
2017-02-06 14:32:51 +03:00
LevelX2
97b872d926
* Fixed that a spell that becomes a permanent didn't had the colors of the spell (e.g. ERsatz Gnomes).
2016-10-22 10:38:10 +02:00
ingmargoudt
3128bd2b4b
replace [list].size() == 0 and [string].length() == 0 to use .isEmpty() instead
2016-09-14 15:27:31 +02:00
Kenny Wottrich
f3c83d54f5
Remove Unused Imports
...
Delete unused java imports that cause compiler warnings
2016-04-24 19:50:29 -05:00
Neil Gentleman
bfb428b13a
always use log4j
...
removed all references to mage.util.Logging, java.util.logging
transient static doesn't mean anything, since static fields are never
included in serialization
2015-11-28 21:11:25 -08:00
LevelX2
3b61a10237
Fixed some bugs and added a AI Test player class.
2015-06-08 18:31:54 +02:00
LevelX2
f63fae06de
Some changes to AI player.
2015-06-03 17:08:01 +02:00
LevelX2
2af52cfd3a
[C14] 11 white cards + 1 Artifact + white deck list + some minor fixes to framework and other cards.
2014-12-01 16:59:36 +01:00
LevelX2
67479bb5a4
* Fixed wrong timer handling while other player controlled a player's turn. Attackers now marked with blue frame. Playable cards have a violet frame. If a player has to select cards from hand, the possible cards are marked yellow now. Discard of multiple cards now marks already selected cards and happens in one selection.
2014-11-26 01:48:00 +01:00
LevelX2
8bb2868dfa
* AI - Fixed that the AI used actions with 0 costs endless (e.g. Chimeric Idol).
2014-11-11 15:40:51 +01:00
LevelX2
cb6cc62ed4
If match timer is used, the AI consumes now also time for their priority action. Some minor changes to Gamemanager.
2014-09-03 09:49:44 +02:00
LevelX2
3aab091492
Some changes to client and server logging messages.
2014-08-04 17:21:14 +02:00
LevelX2
cbb6117b8e
Replaced some replacement effects with restriction effects. Added new method to restriction effect. Improved canAttack methods (not finished yet).
2014-08-01 15:59:59 +02:00
LevelX2
bcf620a459
* Combat - Creatures forced to attack can no longer be removed from attack by using the undo button (e.g. Bident of Thassa).
2014-06-20 14:45:35 +02:00
LevelX2
473c9e207b
Fixed (probably) the player1 concedes but other player2 wins. Fixed that if player runs out of timer time or player lose of beeing idle, the match will end correctly.
2014-05-01 19:34:52 +02:00
LevelX2
27d441de0a
Minor changes to AI logging.
2014-03-24 08:33:07 +01:00
LevelX2
8d2f4cc9ac
* Draft - Added "Quit Tournament" button to draft panel. Minor formatting.
2014-02-28 17:47:27 +01:00
LevelX2
0d37d1593b
* Odric Master Tactician - Fixed that the game didn't leave the block phase controlled by the controller of Odric.
2013-08-06 18:26:49 +02:00
North
0bb110be45
[refactor] moved enums from Constants class
2013-06-16 12:28:10 +03:00
magenoxx
29b84e0d92
Closed #169 : Make it possible to untap lands
2013-03-29 20:35:16 +04:00
LevelX2
9450074b70
Changed AI X costs handling according human handling. Fixed AI handling of modal spells. Changed some AI setting. Changes to AI lgging.
2013-03-14 23:55:14 +01:00
LevelX2
8759db2fd6
[minor] formating.
2013-03-12 21:55:32 +01:00
LevelX2
cb43a58290
Some changes to AI logging.
2013-03-12 17:31:22 +01:00
LevelX2
0aa218f6ea
Minor changes to logging of ComputerPlayer.
2013-02-26 08:28:36 +01:00
LevelX2
0af121c3e4
Some more changes to logging of ComputerPlayer.
2013-02-22 08:40:32 +01:00
LevelX2
1f3dea13af
Some formating and logging changes to ComputerPlayer.
2013-02-20 17:35:30 +01:00
magenoxx
2200fb8572
[AI] Improvements on repeating actions
2012-07-29 08:56:35 +04:00
North
d66c172952
[filters] Refactored FilterAbility to use Predicates
...
FilterAbility isn't used anywhere. I only noticed after I finished rewriting it. I'll keep the class in the repository just in case someone would need it.
2012-07-15 16:58:01 +03:00
North
239a4fb100
[refactoring][minor] Replaced all tabs with four spaces.
2012-06-19 23:50:20 +03:00
magenoxx
deb6533bd8
[mad ai] emulating block declaration. safe block. (in progress)
2012-03-26 22:04:31 +04:00
magenoxx
f5acfcc58a
[mad ai] migrating to static attack\block algorithm
2012-03-15 20:37:02 +04:00
BetaSteward
d813283c19
adding back recent changes - not quite sure how I managed to revert all this
2012-02-02 23:48:25 -05:00
BetaSteward
dfffdfcf8c
latest monte carlo ai - has a memory leak
2012-01-10 21:29:53 -05:00
magenoxx
53e9d2752b
Fixed combat actions in MAD AI. Updated tests.
2011-12-24 18:45:13 +04:00
magenoxx
58b959ff65
Fixes in MAD ai.
2011-11-16 10:44:55 +04:00
magenoxx
60b6fe5a79
Changes in testing framework. Added support for fixed targets. Added test to damage itself by Lightning Bolt. Ignored some old tests.
2011-11-15 19:43:37 +04:00
BetaSteward
517a0cae26
optimizations + some fixes - mostly for monte carlo simulations
2011-10-25 15:17:42 -04:00
BetaSteward
f2c44688d0
fixed issue 93
2011-10-09 14:27:38 -04:00
BetaSteward
c87328d08e
skill setting is now used by AIs
2011-05-07 23:16:00 -04:00