Commit Graph

39874 Commits

Author SHA1 Message Date
Agetian
1f712f96a6 - Fix imports. 2018-11-22 19:53:02 +03:00
Agetian
79f9eb0f99 - More death prediction in Flash logic. 2018-11-22 19:46:10 +03:00
Agetian
2e0177fc08 - Improved detection of combat death in AttachAi for flash auras. 2018-11-22 19:39:45 +03:00
Agetian
64d47560dc - More work on creature flash logic. 2018-11-22 19:26:00 +03:00
Agetian
12ec6e24a2 - More work on flash aura logic. 2018-11-22 19:06:44 +03:00
Michael Kamensky
748388d642 Merge branch 'master' into 'master'
Preparing Forge for Android v1.6.18.003 [hotfix].

See merge request core-developers/forge!1125
2018-11-22 12:11:50 +00:00
Agetian
fd8b218e37 - Preparing Forge for Android v1.6.18.003 [hotfix]. 2018-11-22 15:11:00 +03:00
Agetian
0b0c08631a - Added a full advanced Flash Attach Ai infrastructure and the basic logic and toggles for it. 2018-11-22 09:03:15 +03:00
Agetian
874c545a08 - Added a full advanced Flash logic infrastructure and the basic toggles for it. 2018-11-21 22:51:10 +03:00
Agetian
05598ac224 - A little bit more work on Advanced Flash Logic. 2018-11-21 16:24:53 +03:00
Agetian
81b5feb0f9 - Added the initial boolean flags for advanced Flash AI.
- Refactored the adv Flash logic to its own method.
2018-11-21 13:14:06 +03:00
Agetian
2d2ddac2e8 - Initial setup for advanced Flash. 2018-11-21 13:13:56 +03:00
Michael Kamensky
fe0a7c886d Merge branch 'master' into 'master'
Added edition file for Guilds of Ravnica Guild Kit.

See merge request core-developers/forge!1124
2018-11-21 08:04:16 +00:00
Agetian
94b3ff0195 - Added edition file for Guilds of Ravnica Guild Kit.
- Updated the edition creator tool to use MTGJSONv4.
2018-11-21 11:03:05 +03:00
Michael Kamensky
7a758de609 Merge branch 'master' into 'master'
Added several AI hints.

See merge request core-developers/forge!1123
2018-11-21 06:26:21 +00:00
Agetian
2f88b45d67 - Added several AI hints. 2018-11-21 09:25:34 +03:00
Michael Kamensky
d528624728 Merge branch 'patch-1' into 'master'
HOTFIX normal quests starting with 0 cards

See merge request core-developers/forge!1122
2018-11-21 03:45:07 +00:00
Sol
06663d8bc9 Update QuestUtilCards.java 2018-11-21 03:08:00 +00:00
Michael Kamensky
014026e38a Merge branch 'master' into 'master'
A somewhat better logic for Chandra, Bold Pyromancer +1 ability so the AI doesn't miss opportunities to use it.

See merge request core-developers/forge!1121
2018-11-20 07:01:51 +00:00
Agetian
957e73304e - A somewhat better logic for Chandra, Bold Pyromancer + ability so the AI doesn't restrict itself in its use. 2018-11-20 09:51:25 +03:00
Michael Kamensky
c0401ffd9c Merge branch 'puzzle-engine' into 'master'
Added puzzle PS_GRN7 (Possibility Storm - Guilds of Ravnica 07). Fixed Setup Game State not clearing effect cards from command zone.

See merge request core-developers/forge!1120
2018-11-20 05:17:28 +00:00
Agetian
fff1cfb737 - Actually add PS_GRN7. 2018-11-20 08:17:00 +03:00
Agetian
a5aa83837d - Added puzzle PS_GRN7.
- Fixed effect cards lingering in the command zone across Setup Game State calls from the dev mode menu.
2018-11-20 08:15:23 +03:00
Michael Kamensky
4b5c547147 Merge branch 'master' into 'master'
Commander AI for Squee: don't return to Command zone, easier to recast from the grave.

See merge request core-developers/forge!1119
2018-11-19 17:36:50 +00:00
Agetian
1f70ef7286 - Squee: don't return to Command zone, easier to recast from the grave. 2018-11-19 20:36:08 +03:00
Michael Kamensky
95e4acabc7 Merge branch 'master' into 'master'
Added several AI SacCost hints.

See merge request core-developers/forge!1118
2018-11-19 06:34:06 +00:00
Agetian
1042329a4b - Added several AI SacCost hints. 2018-11-19 09:33:36 +03:00
Michael Kamensky
740f2ac73c Merge branch 'master' into 'master'
AttachAi: do not play the second copy of a legendary enchantment.

See merge request core-developers/forge!1116
2018-11-19 03:48:36 +00:00
Agetian
c7f6d8b37a - Added a Legendary Rule check. 2018-11-19 06:36:02 +03:00
Agetian
5f079b3d49 - AttachAi: do not play the second copy of a legendary enchantment. 2018-11-18 22:42:54 +03:00
Michael Kamensky
f104e141fa Merge branch 'master' into 'master'
- One more AI flag clarification.

See merge request core-developers/forge!1115
2018-11-18 19:34:55 +00:00
Agetian
beb1a9a15c - One more AI flag clarification. 2018-11-18 16:50:51 +03:00
Michael Kamensky
4596a10926 Merge branch 'master' into 'master'
Added and fixed some AI flags.

See merge request core-developers/forge!1114
2018-11-18 13:49:47 +00:00
Agetian
f941208175 - Added and fixed some AI flags. 2018-11-18 16:49:17 +03:00
Michael Kamensky
c03e0e66c5 Merge branch 'master' into 'master'
Improve the way the AI uses Retrofitter Foundry.

See merge request core-developers/forge!1113
2018-11-18 10:31:55 +00:00
Agetian
eb93999c44 - Improve the way the AI uses Retrofitter Foundry. 2018-11-18 13:30:45 +03:00
Michael Kamensky
f03537293b Merge branch 'master' into 'master'
Fix the AI logic for predicting creatures that are dead to stack, optimize the AI logic for canPay/canPlay a bit.

See merge request core-developers/forge!1112
2018-11-18 09:53:03 +00:00
Agetian
726976f3f6 - Fix the AI logic for predicting creatures that are dead to stack (needed to exclude the originating SA).
- Optimize the logic for predicting playability of spells: check whether an ability can be paid for before running the full canPlay loop, may benefit performance especially on mobile systems.
2018-11-18 12:51:46 +03:00
Michael Kamensky
9a2287bf47 Merge branch 'master' into 'master'
AI: Activate Millstone at the end of opponent's turn.

See merge request core-developers/forge!1110
2018-11-17 15:42:58 +00:00
Agetian
81d3425b03 - Activate Millstone at the end of opponent's turn. 2018-11-17 18:42:20 +03:00
Michael Kamensky
c8cf407bd5 Merge branch 'puzzle-engine' into 'master'
Added puzzle PS_GRN6, added a way to put a card on top of the library in dev mode.

See merge request core-developers/forge!1109
2018-11-17 07:09:04 +00:00
Agetian
8b566c0bbb - Dev mode: added a way to add a card to top of the library instead of the bottom.
- Fixed a bug that caused the zone index not to be accounted for during changeZone (not sure how many things were affected by this, but it prevented putting a card on top of the library via moveToLibrary).
2018-11-17 10:08:11 +03:00
Agetian
d277ba0420 - Added puzzle PS_GRN6. 2018-11-17 09:40:54 +03:00
Michael Kamensky
6a543f8b49 Merge branch 'master' into 'master'
Simple logic for Enhanced Surveillance. Fix description.

Closes #769

See merge request core-developers/forge!1108
2018-11-17 06:24:32 +00:00
Agetian
7adb8201c6 - Simple logic for Enhanced Surveillance. Fix description. 2018-11-17 09:23:40 +03:00
Michael Kamensky
0390a5c886 Merge branch 'master' into 'master'
Preparing Forge for Android publish 1.6.18.002 [hotfix].

See merge request core-developers/forge!1107
2018-11-16 11:40:40 +00:00
Agetian
7114563027 - Preparing Forge for Android publish 1.6.18.002 [hotfix]. 2018-11-16 14:34:44 +03:00
Michael Kamensky
750b6cca38 Merge branch 'revert-3c8f3ab1' into 'master'
Revert "Merge branch 'add-mobile-art-download' into 'master'"

See merge request core-developers/forge!1106
2018-11-16 11:30:57 +00:00
Michael Kamensky
83f8acd0c7 Revert "Merge branch 'add-mobile-art-download' into 'master'"
This reverts merge request !1049
2018-11-16 11:30:03 +00:00
Michael Kamensky
3a5b843063 Merge branch 'ai-tilonalli' into 'master'
Fixed the AI playing Tilonalli's Crown on 1-toughness creatures.

See merge request core-developers/forge!1105
2018-11-15 20:13:32 +00:00