Agetian
a53de75873
- CounterAi: a more generic solution for counterspells only targeting CMC X vs. CMC X spells.
2017-08-25 15:52:52 +00:00
Agetian
b3dc4671d0
- Fixed the attack AI overevaluating board position because unblocked attackers with evasion were not removed from remainingAttackers before further evaluation.
2017-08-25 15:35:29 +00:00
Agetian
ef4dd57032
- NPE prevention in ComputerUtil.
2017-08-25 14:59:22 +00:00
Agetian
ad1e17f329
- Fixed a NPE in ComputerUtilCost, part 2.
2017-08-25 11:01:48 +00:00
Agetian
2ba53e2dab
- Fixed a NPE in ComputerUtilCost.
2017-08-25 10:59:29 +00:00
Agetian
909b8e7127
- Bristling Hydra AI: teach the AI to use a ping activation to save the hydra from death.
2017-08-25 10:57:12 +00:00
Agetian
8280401e10
- A better algorithm for detecting available mana for the purpose of CounterAi. Should be more precise and less cheat-y.
2017-08-25 09:21:02 +00:00
Agetian
6096fc1c92
- Documenting changes in CHANGES.txt.
2017-08-25 06:10:14 +00:00
Agetian
0378d54acc
- Added implementation comment.
2017-08-25 05:51:54 +00:00
Agetian
d33b642b8e
- A more universal CounterAi fix, accounting for sources producing multiple mana.
2017-08-25 05:49:00 +00:00
Agetian
27d68bcf45
- Fixed CounterAi in the trigger portion as well.
2017-08-25 05:28:06 +00:00
Agetian
b0122a8e38
- Renamed a method to be more self-explanatory.
2017-08-25 05:26:50 +00:00
Agetian
96cbb63c84
- CounterAi: fixed the AI not accounting for the mana in the mana pool of the SA activator; fixed the AI looking at the mana of the wrong opponent in multiplayer matches.
2017-08-25 05:23:27 +00:00
Agetian
bd16899c56
- Reorganized the dev mode panel to make a bit more sense (grouped the buttons by function, more or less).
...
- Added "Repeat Last Add Card" functionality to dev mode panel.
2017-08-25 04:53:31 +00:00
Agetian
b874a2b76d
- Added a fix by Seravy to prevent the large quest shop pools from hanging the game because statistics were updated for them during selling.
2017-08-25 04:11:14 +00:00
Agetian
aaf16273a9
- Minor code style unification.
2017-08-24 17:46:01 +00:00
Agetian
f83e03e775
- Fixed a comment.
2017-08-24 17:45:01 +00:00
Agetian
5328e443db
- Fixed the AI tapping a creature for mana to cast a pump instant/sorcery spell on that creature.
2017-08-24 17:44:03 +00:00
Agetian
ed49943039
- Further improvements to AI handling Electrostatic Pummeler.
2017-08-24 17:27:14 +00:00
Agetian
220fdcdc75
- Added an overriding implementation of doTriggerAINoCost to BondAi, fixes the AI randomly ignoring a chance to soulbond creatures.
2017-08-24 16:21:23 +00:00
Agetian
a1b2a5149d
- Volrath's Shapeshifter: run a limited update for ability and keyword text such that the changed text is always visualized (e.g. things like Rally triggers).
2017-08-24 15:09:18 +00:00
Agetian
3090a991a6
- Fixed Scalelord Reckoner triggering for cards not on the battlefield.
2017-08-24 13:31:41 +00:00
Agetian
e0cae27f2f
- Reverting an inadvertent change.
2017-08-24 13:30:58 +00:00
Agetian
21c7c74b31
- Attempting to fix Dragon Presence cards, part 1: "dragon presence" apparently cares about the current battlefield state, not the LKI (from Gatherer: "you must control a Dragon as you are finished casting the spell to get the bonus. For example, if you lose control of your only Dragon while casting the spell (because, for example, you sacrificed it to activate a mana ability), you won’t get the bonus"). Also fixes Orator Ojutai not drawing a card at all when a Dragon is present on the battlefield.
2017-08-24 13:29:46 +00:00
Agetian
441693ac36
- Added a couple break statements.
2017-08-24 11:49:08 +00:00
Agetian
77910d82fc
- Improved AI spending counters for Skullmane Baku.
2017-08-24 11:47:59 +00:00
Agetian
05258a5b48
- Some improvement to the AI for "remove X counters": made the Baku cards that are marked as RemRandomDeck (but not RemAIDeck) playable by the AI again, albeit some of them rather suboptimally. Quillmane Baku is not supported (but was already marked RemAIDeck).
2017-08-24 10:28:43 +00:00
Agetian
387abd1606
- Clarification for the new setting.
2017-08-24 05:51:16 +00:00
Agetian
3e4efc22a6
- Added an option to make planeswalker attacker targeting arrows somewhat darker to make them easier to see on the battlefield.
...
- Added code support to differentiate stack targeting arrows in color as well (currently not used).
2017-08-24 05:48:17 +00:00
Agetian
2851e51af8
- Fixed Izzet Chemister not having Haste.
2017-08-23 19:38:40 +00:00
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