Commit Graph

33958 Commits

Author SHA1 Message Date
Agetian
ad8ad35c03 - One more fix. 2017-08-23 19:37:21 +00:00
Agetian
20d27bb9b3 - Removed an unused parameter. 2017-08-23 19:37:00 +00:00
Agetian
30e878cbf9 - Fixed the previous commit. 2017-08-23 19:36:29 +00:00
Agetian
374f6fcc1b - Improvements to the Electrostatic Pummeler AI logic. 2017-08-23 19:35:45 +00:00
Agetian
4ea7d68bff - Oviya Pashiri event in Kaladesh: added missing lands. 2017-08-23 17:32:41 +00:00
Agetian
88491f61e2 - Some more improvements for Electrostatic Pummeler AI 2017-08-23 17:20:33 +00:00
Agetian
abe710f3ab - Some more fine-grained control over AILogic PayEnergyConservatively. 2017-08-23 15:16:47 +00:00
Agetian
3e4e87db23 - GameState: clear counters on planeswalkers and players before applying new ones from the game state. 2017-08-23 15:01:04 +00:00
Agetian
e7ca1a13a6 - Renamed a method. 2017-08-23 14:47:54 +00:00
Agetian
aca78410f6 - Moved a comment. 2017-08-23 14:47:24 +00:00
Agetian
989331cbb4 - Some improvements for Pump AI related to pump spells with pure energy cost, makes Electrostatic Pummeler a little better in AI's hands. 2017-08-23 14:45:01 +00:00
Agetian
7a8267a772 - A less reckless default AILogic PayEnergyConservatively for Longtusk Cub and Bristling Hydra (gives the AI a chance to use the energy for something else when possible). 2017-08-23 12:53:44 +00:00
Agetian
37ca383360 - Formatting code in DamageAllAi. 2017-08-23 08:52:51 +00:00
Agetian
90eb55fbf8 - Made DamageAllAi more multiplayer friendly + improved the logic for seeing if both a player can be killed and some more creatures can be dealt with in multiplayer environment.
- Marking ComputerUtil.getOpponentFor as deprecated and adding a comment about what it should be replaced with over time. Also, simplified its implementation since at the moment it's a functional synonym of getWeakestOpponent.
2017-08-23 08:51:28 +00:00
Agetian
e96c503b11 - DamageAllAi: prioritize killing the player off, if possible (e.g. Earthquake for X=1 to kill creatures or X=3 to kill a player). 2017-08-23 04:58:29 +00:00
Agetian
99ce6cf29d - isValid: A player who lost the game leaves it and can't be a valid target of spells or abilities. 2017-08-22 06:59:59 +00:00
Agetian
e14952607d - Fixed Kilnspire District. 2017-08-22 06:55:17 +00:00
Agetian
de3efa0fe7 - Fixed a typo. 2017-08-22 06:09:50 +00:00
Agetian
9af123523a - Further improvement to Wand of Ith prompt. 2017-08-22 06:09:31 +00:00
Agetian
7bc5adbde2 - Fixed an extra character at the EOL in Wand of Ith. 2017-08-22 06:08:32 +00:00
Agetian
5287978e2f - Fixed Wand of Ith triggering the opponent's Sangromancer when the Wand's controller forces that opponent to discard a card. 2017-08-22 06:04:46 +00:00
Agetian
d364cc0f51 - Improved the experimental attack evasion prediction by considering creatures with evasion first (further tweaking and testing in progress). 2017-08-22 05:10:11 +00:00
Agetian
e7c30da23c - Improved prompt for Wand of Ith. 2017-08-22 04:33:56 +00:00
Agetian
1e6467cf80 - Experimental: attempting to improve the AI choice for attrition attack when predicting possible opponent's forces with evasion (e.g. Flying). Currently enabled only for the Experimental AI profile for the testing period. 2017-08-21 17:29:57 +00:00
Agetian
12452c9b2a - Fixed the AI profile files. 2017-08-21 17:23:10 +00:00
Agetian
92b985d24d - Experimental: attempting to improve the AI choice for all-in assault for battlefield situations where the defender will have several, but not enough, defenders with evasion (e.g. Flying).
- Currently only enabled for the Experimental AI profile for the testing period.
2017-08-21 17:07:46 +00:00
Agetian
a0f640c739 - Some code maintenance. 2017-08-21 16:10:48 +00:00
Agetian
46ecbc9c42 - Dev Mode: added a new function "Remove Card from Game", which allows to completely remove a card from the game in case it was added previously by mistake. 2017-08-21 16:09:20 +00:00
Agetian
96f97e41e1 - Create a Puzzle: allow to choose to start the game either with the Human or with the AI player taking the first turn.
- Improved the opening warning message for this mode.
2017-08-21 15:52:57 +00:00
Agetian
5726f05531 - Comment fix. 2017-08-21 15:19:00 +00:00
Agetian
b389209c05 - Added a simple Create Puzzle mode to desktop Forge (presents you with a clean battlefield, allows to dump the game state with a template for puzzle metadata).
- Enhanced the Dev Mode feature set with the "Add Card To Library/Graveyard/Exile" commands.
- Ported this Dev Mode functionality, as well as "Exile Card From Hand/Play", to mobile Forge.
2017-08-21 15:17:41 +00:00
Agetian
a82b3fd88a - Removed debug print lines. 2017-08-21 11:25:30 +00:00
Agetian
04a125d20f - A somewhat more conservative and fine-grained approach at improving the token-generation AI logic. 2017-08-21 11:24:47 +00:00
Agetian
fc2e93a57f - Converted token generation ability activation chance for the AI into a profile variable (currently defaults to 100% for all profiles, pending testing). 2017-08-21 10:29:30 +00:00
Agetian
cfe9c17b58 - Experimental: TokenAi: do not use a "80% chance to generate a token" chance when the token-generating ability is otherwise relevant. Prevents the AI from missing activations of planeswalker token generation abilities on casting a planeswalker, as well as indecisively creating tokens via The Hive and other similar cards before Declare Blockers when on defense. Will run some tests with this later, or may convert to an AI profile variable. 2017-08-21 10:19:48 +00:00
Agetian
b24f31f98c - Fixed an issue with the new quest card price format and cards with multiple art index (e.g. Arcane Denial from ALL or basic lands). 2017-08-21 10:04:36 +00:00
Agetian
5263edc3e2 - Minor restructuring/update in Puzzle code. 2017-08-21 09:44:45 +00:00
Agetian
99b80cccad - Unified puzzle description for INQ01. 2017-08-21 06:50:18 +00:00
Agetian
9794c5a188 - Added puzzle INQ03 (Dead Man's Hand #03). 2017-08-21 06:46:36 +00:00
Agetian
2bd19736f4 - Added puzzle INQ02 (Dead Man's Hand #02). 2017-08-21 06:06:55 +00:00
Agetian
13376d0ced - Improved handling of script execution in GameState to support subabilities and KW Awaken (other keywords with mana cost might need similar treatment later). 2017-08-21 04:50:49 +00:00
Agetian
1aa8475295 - Added a special turn ID correction for puzzles that begin right before the beginning of the human's turn (e.g. INQ01).
- Added support for "Gain Control of Specified Permanents" goal type to Puzzle Mode.
2017-08-20 18:55:12 +00:00
Agetian
4bffe22f68 - Added puzzle INQ01 (Inquest Gamer - Dead Man's Hand #01). 2017-08-20 18:36:58 +00:00
Agetian
094941ab8c - Added support for Imprinted cards to GameState. 2017-08-20 17:51:29 +00:00
Agetian
1a1bcc8d5c - Added support for "Play the Specified Permanent" type objective to Puzzle Mode (e.g. Inquest puzzles). 2017-08-20 17:37:54 +00:00
Agetian
e77eb8a563 - Added a new C17 card to Kaladesh plane in Planar Conquest. 2017-08-20 16:17:17 +00:00
swordshine
c063ccfa02 - C17: Added Portal Mage 2017-08-20 15:31:20 +00:00
Agetian
b1ccb5c3de - Fixed a couple weirdly auto-formulated stack/prompt descriptions. 2017-08-20 15:07:11 +00:00
Agetian
29b4704c4b - Reverted adding Shining Shoal (misread how the card works, need prevention from source, will see if I can update the script later). 2017-08-20 11:59:26 +00:00
Agetian
931d7d55dd - Fixed description for Shining Shoal. 2017-08-20 11:45:52 +00:00