Commit Graph

26874 Commits

Author SHA1 Message Date
Sol
799e86bf0f - Improve tgt prompt for Jilt 2014-09-19 21:31:00 +00:00
drdev
1d092bf821 PLuralize certain dev mode actions 2014-09-19 20:54:35 +00:00
drdev
3b2a992999 Make name and order of Dev menu items be consistent 2014-09-19 20:47:27 +00:00
drdev
854030e6d4 Prevent remembering Dev Mode unlimited lands between games to prevent accidentally leaving it that way and then playing more than one land per turn
Clean up Dev Mode pane so case is consistent and toggle color is consistent with other labels
2014-09-19 20:33:49 +00:00
drdev
25b862ef5d Improve Achievement Earned dialog for mobile game 2014-09-19 19:50:22 +00:00
Chris
3d2d4555e7 Added new card names to changes.txt. 2014-09-19 17:39:25 +00:00
Agetian
9a9ebb59bd - NPE prevention in TargetingOverlay (not sure why getController would return null during an ongoing game in the first place though, might be worth investigating) 2014-09-19 14:19:51 +00:00
elcnesh
4a37042149 Restore support for ordering cards in hand. 2014-09-19 14:08:40 +00:00
elcnesh
fbee794685 Fix creatures displaying as "being blocked" incorrectly. 2014-09-19 07:44:25 +00:00
elcnesh
66768b6ddf Fix pile effects (Fact or Fiction) for new GUI code. 2014-09-19 07:39:45 +00:00
Agetian
cdcb9c84be - Added a way to disable predictive analysis for spells in Main 2 via an AI property PREDICT_SPELLS_FOR_MAIN2 (currently prediction is enabled by default for all profiles). 2014-09-19 04:39:44 +00:00
swordshine
b686341cbf - Fixed Meandering Towershell 2014-09-19 04:37:08 +00:00
Agetian
9564fba6f2 - Prevent an infinite loop when trying to process PumpAllAi in predictSpellToCastInMain2. 2014-09-19 03:54:36 +00:00
Sol
824cee4632 - Fixing small script issues 2014-09-19 03:15:59 +00:00
Sol
a56e6b761e - Updating edition file to correct Archers' Parapet name 2014-09-19 01:36:52 +00:00
Sol
81fdb73ff4 - Fix typo for name of Archers' Parapet 2014-09-18 23:18:56 +00:00
Sol
6b7f42147d - Updating mtg-data.txt
- Adding Oracle text to KTK
2014-09-18 23:10:30 +00:00
Sol
bd27893fd3 - Adding a handful of cards by Kapoue 2014-09-18 23:04:30 +00:00
Krazy
15ba70475b Fixed High Sentinels of Arashin missing its activated ability. 2014-09-18 22:27:37 +00:00
Sloth
99624e6527 - More little text and script fixes. 2014-09-18 21:19:30 +00:00
Sloth
efd9c0ed74 - Updated some AI SVars and fixed a typo. 2014-09-18 20:46:58 +00:00
Sloth
6103f9f87d - Updated blockdata and TypeLists. 2014-09-18 20:38:04 +00:00
Sloth
348591b966 - Merged KTK branch into trunk. 2014-09-18 20:03:04 +00:00
drdev
b1065c4328 Fix tooltip width 2014-09-18 19:39:34 +00:00
drdev
27f695963d Remove unnecessary period 2014-09-18 18:28:19 +00:00
drdev
b6222582fa Add support for displaying achievement earned dialog nicer 2014-09-18 18:25:59 +00:00
elcnesh
0d006b6ab6 Add a lot of comments to the view classes and remove a deprecated method. 2014-09-18 16:55:40 +00:00
drdev
ede7931deb Fix order more properly 2014-09-18 14:59:24 +00:00
drdev
076b87ab32 Fix achievement order 2014-09-18 14:58:07 +00:00
elcnesh
617f5d0889 Fix to prevent some concurrency issues. 2014-09-18 14:53:47 +00:00
Agetian
5a45730a0f - Return default property values from AiController.getIntProperty and AiController.getBooleanProperty in case of an erroneous call. 2014-09-18 14:50:44 +00:00
Agetian
b39ac29746 - Prevent NumberFormatException when AI properties are queried from runAsAi. 2014-09-18 14:42:34 +00:00
drdev
25842fe5ca Fix so Magic card back doesn't show through for transparent trophy 2014-09-18 14:37:59 +00:00
excessum
55dbe5bc09 - Changed isEffectiveAttacker() to ignore ability pumps.
- Reworked attack pumps for attackers
2014-09-18 13:23:08 +00:00
Sloth
3d85c7c791 - The AI will now take "CARDNAME can't be blocked except by three or more creatures." into account when attacking. 2014-09-18 12:34:49 +00:00
excessum
f37835b7d0 - Fixed PumpAiBase.pumpedCreature() not copying the attack/defense bonuses of the target creature. This should fix the AI's inability to apply repeatable attack/defense pumps. 2014-09-18 12:02:40 +00:00
Agetian
cf70a969b1 - At least for now, added an AI profile property RESERVE_MANA_FOR_MAIN2_CHANCE that indicates a chance that the AI would want to reserve mana for a main 2 phase spell. Currently set to 0 for all profiles (the AI will not reserve mana).
- The AI will obey mana reservations either if the spell ability is explicitly marked as low priority with SVar LowPriorityAI or, if it's not marked as low priority, depending on the random chance as specified in RESERVE_MANA_FOR_MAIN2_CHANCE.
2014-09-18 11:47:45 +00:00
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
elcnesh
ac4a6049a5 - Hopefully reduce the P/T flickering.
- Assign a random negative int to each hidden CardView to prevent awt from crashing.
2014-09-18 08:26:42 +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
20b9b6fa17 - Fix the blocker targeting arrows not appearing in time because the declared blockers were not passed to the combat view until the blockers were finalized (please review). 2014-09-18 06:59:31 +00:00
drdev
547b570406 Refactor achievements to use new trophy style and offer 4 tiers 2014-09-18 05:39:47 +00:00
Agetian
69bc6d5ac4 - Fix the extra tap events firing from the Pump AI. 2014-09-18 05:15:38 +00:00
Sol
554f9cfc6f - Fixing toughness bonus for Spur Grappler 2014-09-18 00:49:15 +00:00
Krazy
23ff256892 Fixed Typo 2014-09-17 23:33:54 +00:00