Commit Graph

31978 Commits

Author SHA1 Message Date
Myrd
add8a1d24e [Simulated AI] Fix printing of target string and check in a change I forgot in last commit. 2017-01-08 17:24:29 +00:00
Myrd
1208736f36 Inspect full plan in spell picker test. 2017-01-08 17:18:35 +00:00
Myrd
a45e005897 [Simulated AI] Test coverage for playing lands. 2017-01-08 17:09:38 +00:00
Myrd
742ef8157b [Simulated AI] Add actual test coverage for SpellAbilityPicker logic. 2017-01-08 17:06:52 +00:00
Myrd
331eaae221 [Simulated AI] Add a base SimulationTestCase class so other test classes could derive from it. 2017-01-08 16:59:19 +00:00
Agetian
4b5fc7f8f4 - Adding AER cards by Marek14 (batch 6). Changed AB Draw Cost 0 to DB Draw, added SacMe to Implements (for now at priority 4). 2017-01-08 15:39:25 +00:00
Hanmac
d5e138f922 CardLists: add new getValidCards with allows SpellAbility and does split by "," 2017-01-08 15:30:28 +00:00
swordshine
3bcc01025f - AER: Add Heart of Kiran 2017-01-08 15:20:49 +00:00
Agetian
f958ec4cc8 - Removed unused import. 2017-01-08 07:44:55 +00:00
Agetian
8dd22c5465 - Moved Chain of Smog logic to SpecialCardAi. 2017-01-08 07:44:05 +00:00
swordshine
0c43466a56 - AER: Add 2 cards 2017-01-08 04:36:08 +00:00
swordshine
97a884bc94 - AER: Add 2 cards 2017-01-08 03:00:37 +00:00
swordshine
2340c007d5 - AER: Add 3 cards 2017-01-08 02:41:32 +00:00
pfps
c7b479478b Instead of asking for confirmation of saved ability ordering, use it as an initial ordering for the reordering dialog 2017-01-07 20:36:35 +00:00
pfps
beaffe830b Make yield string methods robust to effects that don't have a host card 2017-01-07 20:17:17 +00:00
Agetian
17b2b4a810 - Adding Masters Editions I-IV definition files by Xitax (as Online sets). 2017-01-07 19:29:25 +00:00
pfps
87296cd6a4 Description for wrapped abilities includes stack information; Fixes problem with autoordering 2017-01-07 19:08:39 +00:00
Hanmac
7dc6a43d8e Tracker: use HashBasedTable to store the Trackable Values 2017-01-07 18:13:29 +00:00
Hanmac
78eb7ee367 GameSimulatorTest: add more test cases for damage spliting 2017-01-07 17:31:38 +00:00
Agetian
5e879b0301 - Added a comment to ChangeZoneAllAi. 2017-01-07 17:29:07 +00:00
Agetian
30e4fbdc74 - Added rudimentary AI logic for Timetwister and promoted it to AI playable.
- This completes the project to get the basic AI logic for the remaining Power Nine cards.
2017-01-07 17:27:23 +00:00
Hanmac
286e47439e cards: update all cards that use DamageDone Replacement with DealDamage Effect 2017-01-07 17:25:16 +00:00
Agetian
7d6b639ed6 - Added a comment back. 2017-01-07 16:52:33 +00:00
Agetian
9aa2fba98e - Removed old version of the code I forgot to take out. 2017-01-07 16:50:47 +00:00
Agetian
922e82e03f - Added rudimentary AI logic for Black Lotus and Lotus Bloom. Promoted both to AI playable. 2017-01-07 16:50:15 +00:00
Agetian
4d408baf78 - Updating some cards with "at the beginning of upkeep of enchanted X's controller, CARDNAME deals Y damage to that player" and other similar effects. 2017-01-07 15:56:47 +00:00
pfps
5da185263e Autoyield on effect on a card not overall; Add new method to generate the autoyield key to prepare for fix of effect ordering 2017-01-07 15:52:24 +00:00
Hanmac
e90c0255e1 C16: add Selfless Squire now that the Trigger exist 2017-01-07 15:22:41 +00:00
Agetian
75ae31c071 - A less confusing parameter name for AI PayLife threshold. 2017-01-07 15:16:39 +00:00
Agetian
5e161508c0 - Adding AER cards by Marek14 (batch 5). 2017-01-07 15:10:38 +00:00
Agetian
b3a8fcf7cb - Corrected a couple mistypes. 2017-01-07 14:55:51 +00:00
Agetian
2af9725564 - Reverted Ajani's Aid to previous state because the r33015 version prevention effect does not work correctly. 2017-01-07 14:51:53 +00:00
Agetian
13760d54cf - Added AER cards by Marek14 (batch 4). 2017-01-07 14:50:11 +00:00
Agetian
1998734b8d - Updating tokens on Filigree Crawler. 2017-01-07 14:34:07 +00:00
swordshine
5aae86e31a - Set the intrinsic parameter for keyword "Equip" 2017-01-07 14:19:30 +00:00
Agetian
bd0e4fb2bc - Refactored the card-specific AIs implemented so far to its own class SpecialCardAi, will consider moving other card-specific hardcoded logic there later.
- Implemented rudimentary AI logic for Necropotence and Yawgmoth's Bargain, could use improvement but should be fine in typical situations.
- Promoted Necropotence and Yawgmoth's Bargain from RemAIDeck to RemRandomDeck.
- Propagated the SA parameter to checkLifeCost (and closed the previous TODO associated with that), was also necessary to support the Necro AI logic.
2017-01-07 14:11:57 +00:00
Agetian
8556c8575f - Adding AER cards from Marek14 (batches 1-3), basic crash tests (game init/deck editor) pass. 2017-01-07 13:51:29 +00:00
Hanmac
048dce234c CounterType: add Unity for Call for Unity 2017-01-07 11:47:04 +00:00
Hanmac
9531e16d02 Player: add hasRevolt similar to other Conditions, now way to calculate it, does set it in GameAction 2017-01-07 11:29:06 +00:00
Hanmac
593f4f64b1 GameEntity: move preventDamage from Card and Player to base Class,
add TriggerDamagePrevented if some damage was prevented
2017-01-07 10:26:40 +00:00
swordshine
f80d7bfcdc - AER: Add 2 cards 2017-01-07 06:05:45 +00:00
Agetian
7599e41a63 - Adding ways to determine the number of lands played and spells cast by a particular player last turn (will be necessary for some upcoming AI additions). 2017-01-07 04:59:11 +00:00
Hanmac
c46683e92d AbilityUtils: add RegisteredOpponents for PlayerCount
PlayerPredicates: add isOpponentOf Predicator
Player: make getBloodthirstAmount use of new function
2017-01-07 04:19:33 +00:00
Hanmac
bd6c729317 Player: add wasDealtCombatDamageThisTurn Property 2017-01-07 03:55:59 +00:00
Agetian
7ea067f8d5 - Updating CHANGES.txt to reflect the Esc key functionality change and the relevant option. 2017-01-06 19:54:31 +00:00
Agetian
9a75816ef2 - Adding a preference to control whether the Escape key can be used in desktop Forge as an alternative "end turn" shortcut (for players who prefer the old behavior). It is disabled by default. 2017-01-06 19:52:42 +00:00
Agetian
8554b22ac0 - Logic correction in orderAndPlaySimultaneousSa (by pfps). 2017-01-06 19:28:37 +00:00
Agetian
b2709a32fd - Somewhat better definition of Paradox Engine untap criterion. 2017-01-06 18:59:48 +00:00
Agetian
24c9cdf1a5 - Fixed Paradox Engine. 2017-01-06 18:58:31 +00:00
Agetian
15c631be72 - Temporarily reverting a change to the way ordering SAs is handled (breaks auto-yield) and improved my original change a bit to fix its logic, feel free to revert this to continue work on this project. 2017-01-06 18:53:05 +00:00