Agetian
50553802e7
- Fixed the previously inverted logic.
2014-09-18 08:50:14 +00:00
Agetian
a902f5f1e7
- For now, ignore mana source reservations unless the AI has explicitly specified that the spellability is of low priority.
2014-09-18 08:46:16 +00:00
Agetian
1ea2b9d034
- Allow the AI to correctly predict the ability to cast a certain spell in Main 2 phase with the canPlaySa logic.
2014-09-18 08:05:37 +00:00
Agetian
57403ff053
- canPlay does not work as intended in context, removing for now.
2014-09-18 07:52:54 +00:00
Agetian
435adf41d9
- Removed a debug comment.
2014-09-18 07:46:20 +00:00
Agetian
67649130c7
- Modified the logic of Main 2 spell prediction to account for canPlay()
2014-09-18 07:42:35 +00:00
Agetian
973a7b6bc6
- For now, do not reserve mana for spells when deciding whether to pump/not to pump a creature (hopefully will get the AI screwed over in fewer cases than otherwise :)
2014-09-18 07:36:07 +00:00
Agetian
69bc6d5ac4
- Fix the extra tap events firing from the Pump AI.
2014-09-18 05:15:38 +00:00
Agetian
5cec620a9f
- Make sure that the AI does not randomly move the same equipment around from creature to creature within the same turn (the related logic is currently used in the Reckless AI profile).
2014-09-17 18:48:07 +00:00
drdev
7628278300
Fix Tutor for Card dev mode option
2014-09-15 22:59:56 +00:00
Sloth
987cac7eab
- Added "withoutAbilities" parameter to damageIfUnblocked function (fixes AI not pumping Killer Bees).
2014-09-15 13:02:24 +00:00
elcnesh
1922a83c44
Merge GuiRefactoring back into trunk.
...
Note that this changes ALL the display code to not pass game objects directly into the GUI, so bear that in mind when merging local changes (and in future commits).
2014-09-15 12:12:02 +00:00
excessum
3fb3095311
- AI should not grant haste for tapped creatures with summoning sickness
2014-09-15 11:55:02 +00:00
elcnesh
8bc99d7a5b
Merged changes from trunk to GuiRefactoring: 27390-27405.
2014-09-15 11:17:15 +00:00
drdev
1d40924d0a
Prevent Gorilla Shaman refunding mana after there are no more remaining targets
2014-09-14 16:55:10 +00:00
excessum
fd308ceee9
- NPE guard for previous commit
2014-09-14 13:03:06 +00:00
Agetian
8472b0f82a
- Removed a debug comment.
2014-09-14 13:02:50 +00:00
excessum
4f20eb8a1a
- AI should not regenerate creatures affected by burn spells with "can't be regenerated"
2014-09-14 13:00:22 +00:00
Agetian
0ae716f8a3
- Refactoring for card memory logic (moved the card memory reset routine that is to happen at every end of turn from the non-intuitive location in SA choice logic higher in the stack to a separate reset method in the player controller code).
2014-09-14 12:59:38 +00:00
elcnesh
6188509eee
Merged changes from trunk to GuiRefactoring: 27379
2014-09-14 10:04:44 +00:00
Agetian
4518cd3c6c
- A logic fix related to Main 2 spell prediction.
...
- Some card memory code refactoring.
2014-09-14 07:41:15 +00:00
elcnesh
00bf228e0f
Merged changes from trunk to GuiRefactoring: 27326-27376.
2014-09-14 07:17:49 +00:00
Agetian
66973f5954
- Remember the actual moved equipment, not its target (fixes random "reconsideration" jump).
2014-09-14 06:15:32 +00:00
Agetian
037f30ebe9
- Prevent the Reckless AI (with MOVE_EQUIPMENT_TO_BETTER_CREATURES=true) from randomly moving equipment back and forth between two creatures with similar evaluation.
...
- Some code reorganization related to AI card memory.
2014-09-14 06:06:35 +00:00
excessum
3503caf77d
- Fixed PumpAiBase.pumpedCreature() not copying the tap-state and extra keywords of the target creature
2014-09-14 06:02:40 +00:00
Agetian
f206a73f89
- Take two at fixing the Pump Ai: hopefully will no longer dumb-spam non-stacking pumps while still pumping creatures with "aggressive" (attack-increasing) pumps when necessary.
2014-09-14 03:50:00 +00:00
Sloth
8e5b5c8b4f
- Little improvement for the sortManaAbilities function.
2014-09-13 19:12:21 +00:00
drdev
d028c1e235
Make logic smarter for sorting cards to use for auto-payment of mana abilities
2014-09-13 17:24:46 +00:00
drdev
3ffa15019f
More code cleanup
2014-09-13 16:43:44 +00:00
drdev
9fc3798e30
Code cleanup
2014-09-13 16:38:51 +00:00
drdev
93447295d7
Fix warnings
2014-09-13 16:32:07 +00:00
drdev
8aaa1da773
Restore version back to 1.5.28 and update mobile game to match
2014-09-13 16:13:28 +00:00
drdev
91ccdc1f75
Change version back to 1.5.27
2014-09-13 15:49:11 +00:00
elcnesh
295423050b
Merged changes from trunk to GuiRefactoring: 27297-27319.
2014-09-13 07:53:24 +00:00
Chris
7020fa97ac
[maven-release-plugin] prepare for next development iteration
2014-09-13 02:43:34 +00:00
Chris
268ab4c547
[maven-release-plugin] prepare release forge-1.5.27
2014-09-13 02:43:19 +00:00
Krazy
46b9dd67ab
Fix for cards such as Nykthos, Shrine to Nyx causing NPEs when being sorted for AI mana payment.
2014-09-12 21:49:50 +00:00
Chris
008b6eca4f
[maven-release-plugin] prepare for next development iteration
2014-09-12 16:26:32 +00:00
Chris
b59c5f752d
[maven-release-plugin] prepare release forge-1.5.26
2014-09-12 16:26:20 +00:00
elcnesh
c3e9ff7e5b
Merged changes from trunk to GuiRefactoring: 27266-27293; plus some minor fixes.
2014-09-12 11:07:11 +00:00
Agetian
05729db2d0
- Removed an outdated comment.
2014-09-12 04:20:58 +00:00
Sloth
f0633ad5b7
- Fixed AI playing Molting Harpy and friends without being able to pay the upkeep next turn.
2014-09-11 20:10:02 +00:00
elcnesh
1ba2cb498b
HUGE update to the GUI refactoring, fixing most known bugs and making everything run a lot faster and smoother.
...
Fixed: exceptions during combat, display of face-down cards, searching libraries, mindslaver effects, and more.
2014-09-11 15:46:33 +00:00
Agetian
7455437fc8
- The AI will move equipment off of creatures that are no longer controlled by the AI.
2014-09-10 03:49:31 +00:00
Agetian
072fc12d1d
- Some extra NPE protection.
2014-09-09 18:37:31 +00:00
Agetian
7e7a069455
- Added a new AI profile property: MOVE_EQUIPMENT_TO_BETTER_CREATURES. Defines whether the AI will always move equipment to better creatures if it has mana ('always'), only move if the currently equipped creature becomes useless ('from_useless_only'), or never moves equipment around ('never').
...
- Added a new AI profile: Tricky (doesn't mulligan too heavily, moves equipment around from useless creatures).
- Default AI profile will not move equipment around (similar to how Forge operated before this change).
- Reckless AI profile will always move equipment to new more powerful creatures if it has enough mana and doesn't have other Main 2 plans.
- Some related refactoring.
2014-09-09 18:34:11 +00:00
Agetian
3173e330fa
- Improved AttachAi such that the AI can choose to equip a different creature with an equipment that was already placed on a creature before. Currently set to make sure to hold mana for a predicted spell to cast in Main 2. Will help along with better use of equipment once equipped creatures get Arrest'ed or when a more powerful creature is played and the equipment is better used elsewhere.
2014-09-09 17:38:52 +00:00
elcnesh
ecdd2b2995
Merged changes from trunk to GuiRefactoring: 27239-27260
2014-09-09 09:30:57 +00:00
Agetian
38bd41cec6
- Added a special AI logic to guild lands such that the AI does not bounce played guild lands back to hand with their own triggered ability.
2014-09-09 05:46:49 +00:00
drdev
221b084679
Add Auto support for paying X mana costs
2014-09-07 15:24:14 +00:00