Commit Graph

2505 Commits

Author SHA1 Message Date
Agetian
cbd1ecec12 - AI should not attack recklessly with Kari Zev, Skyship Raider into certain death trying only to trigger its attack effect.
- AI SVar "DontChumpAttackForEffect" can probably be added to other cards with weak or temporary attack effects that are not worth wasting a card for.
2018-04-15 20:05:05 +03:00
Agetian
536dfb5f2d - Attempting to improve Haste detection for the AI such that the AI properly casts creatures in main 1 when there's an Avatar or Emblem or something else giving Haste from the command zone, or if the opponent has something on the battlefield that gives Haste to AI's creatures as well (e.g. Mass Hysteria). 2018-04-15 18:29:48 +03:00
Agetian
6a288419bc - Attempting to improve the AI timing for Indestructible pump abilities. 2018-04-15 16:29:11 +03:00
Agetian
e28b683b89 - Correct some code style issues. 2018-04-13 21:43:31 +03:00
Agetian
82bd0325cf - Only process actual planeswalkers when choosing PW to damage. 2018-04-13 21:41:10 +03:00
Agetian
a88c8fba76 Merge remote-tracking branch 'origin/ai-dealdamage-to-planeswalker' into ai-dealdamage-to-planeswalker
# Conflicts:
#	forge-ai/src/main/java/forge/ai/ability/DamageDealAi.java
2018-04-13 21:31:00 +03:00
Agetian
9a02c5394d - Only process planeswalkers in dealDamageChooseTgtPW. 2018-04-13 21:25:29 +03:00
Agetian
ec09738321 - Added a TODO entry. 2018-04-13 21:24:33 +03:00
Agetian
2258506383 - Do not consider "indirect Planeswalker burn" when deliberately evaluating a planeswalker vs. a player target (the clause must be removed and set as default later when the planeswalker redirection rule is fully removed). 2018-04-13 21:24:33 +03:00
Agetian
f2af85597e - Fixed a typo in the PLANESWALKERS card predicate preset. 2018-04-13 21:24:33 +03:00
Agetian
e4e08609d9 - Only process planeswalkers in dealDamageChooseTgtPW. 2018-04-13 21:24:33 +03:00
Agetian
98e16b2e28 - DealDamageAi for triggered direct damage to planeswalkers. 2018-04-13 21:24:33 +03:00
Agetian
5af6197c9d - Initial implementation: for the AI, consider dealing damage to planeswalkers directly when applicable. 2018-04-13 21:24:33 +03:00
Agetian
b54403163d - Don't hold land drops till main 2 if playing with the Momir avatar (Momir Basic, MoJhoSto, etc.), otherwise it messes with the AI strategy for activating the avatar. 2018-04-12 08:41:56 +03:00
Agetian
a3dc449cc9 - Added a TODO entry. 2018-04-12 07:09:40 +03:00
Agetian
c20093280c - Do not consider "indirect Planeswalker burn" when deliberately evaluating a planeswalker vs. a player target (the clause must be removed and set as default later when the planeswalker redirection rule is fully removed). 2018-04-12 07:09:40 +03:00
Agetian
115720cc53 - Fixed a typo in the PLANESWALKERS card predicate preset. 2018-04-12 07:09:40 +03:00
Agetian
cd1c0cc526 - Only process planeswalkers in dealDamageChooseTgtPW. 2018-04-12 07:09:40 +03:00
Agetian
8c53689e17 - DealDamageAi for triggered direct damage to planeswalkers. 2018-04-12 07:09:40 +03:00
Agetian
d3fe888238 - Initial implementation: for the AI, consider dealing damage to planeswalkers directly when applicable. 2018-04-12 07:09:40 +03:00
swordshine
5a9dc2e09a - fixed issure 431 2018-04-11 16:44:33 +08:00
Hanmac
0bc12e744e CopyPerm: rewoke and update with Populate 2018-04-09 07:50:44 +02:00
Sol
c980d1c9d4 Merge branch 'sysout-cleanup' into 'master'
Sysout cleanup

See merge request core-developers/forge!286
2018-03-26 01:18:19 +00:00
Luke Way
b917d242ea Removed import 2018-03-25 09:04:39 -04:00
Luke Way
393eb54794 Removed debug statement entirely 2018-03-25 09:03:38 -04:00
Blacksmith
9e786bbdff [maven-release-plugin] prepare for next development iteration 2018-03-20 01:14:26 +00:00
Blacksmith
6e6af1c6c4 [maven-release-plugin] prepare release forge-1.6.8 2018-03-20 01:14:23 +00:00
Agetian
e23f807e63 - Clean up some code ugliness and fix a meaningless "unknown key: turn" error message in GameState. 2018-03-17 17:15:25 +03:00
Jamin W. Collins
a564f49381 allow human players to make mass select, sometimes
Signed-off-by: Jamin W. Collins <jamin.collins@gmail.com>
2018-03-14 20:32:25 -06:00
Hanmac
e9c02edfae DamageMap: use DamageMap for RepeatEach cards and similar 2018-03-14 07:15:02 +01:00
swordshine
6b9cd02de8 Merge branch 'AIHermitDruid' into 'master'
Improves AI logic for Hermit Druid

See merge request core-developers/forge!240
2018-03-13 04:09:27 +00:00
swordshine
7d4f334ec7 Merge branch 'fabricate-index-out-of-bounds' into 'master'
Fabricate: if the only option is to create servo tokens, just do that

See merge request core-developers/forge!285
2018-03-13 00:53:59 +00:00
Luke Way
ab39d632fd Convert sysout to game log 2018-03-12 13:10:03 -04:00
Luke Way
2c5a845d1a Fabricate: if the only option is to create servo tokens, just do that. Avoids IndexOutOfBoundsException. 2018-03-12 12:56:17 -04:00
Luke Way
86e81d3584 Make AI check energy when testing if it can pay for a mana ability 2018-03-12 12:52:47 -04:00
swordshine
795c071e64 - DOM: Added Evra, Halcyon Witness 2018-03-10 18:05:40 +08:00
Blacksmith
d6278541dd Clear out release files in preparation for next release 2018-02-25 22:55:10 +00:00
Blacksmith
5977598c71 [maven-release-plugin] prepare for next development iteration 2018-02-25 22:49:44 +00:00
Blacksmith
35706d71f7 [maven-release-plugin] prepare release forge-1.6.7 2018-02-25 22:49:41 +00:00
Blacksmith
c38f0900d1 Update README.txt for release 2018-02-25 22:48:23 +00:00
Agetian
5bb9ac6fcd - More cleanup. 2018-02-20 08:02:31 +03:00
Agetian
fcc02ed600 Merge branch 'master' of git.cardforge.org:core-developers/forge into agetian-master 2018-02-20 07:55:13 +03:00
Agetian
83242e1fa9 - More cleanup. 2018-02-19 20:56:05 +03:00
Agetian
35fa4e7d8f - More cleanup. 2018-02-19 20:50:45 +03:00
Agetian
5022e96a48 - More cleanup. 2018-02-19 20:50:09 +03:00
Agetian
1779c8f84e - More cleanup and Price of Progress logic fix. 2018-02-19 20:15:12 +03:00
Seravy
b54e8461b8 Update AiController.java 2018-02-19 17:10:13 +00:00
Seravy
b3c8901aa1 Update AiController.java 2018-02-19 17:08:09 +00:00
Seravy
3346cbf0c5 Update AiController.java 2018-02-19 17:05:56 +00:00
Michael Kamensky
74d9791f03 Merge branch 'ScorchedEarth' into 'master'
Scorched earth

See merge request core-developers/forge!234
2018-02-19 16:52:41 +00:00