Commit Graph

5460 Commits

Author SHA1 Message Date
Maxmtg
c96304666d removed clash code from Player class, since it's referenced only from ClashEffect.java
Improved GuiDialog.confirm to accept custom values for choice options 
Also added default question icon to dialogs (may remove if it's too ugly)
decision-making about "where to put the card used to clash" moved to PlayerController* classes
2013-03-16 10:35:38 +00:00
Sloth
ea78324d15 - Little improvements in AttachAI. 2013-03-16 10:25:48 +00:00
Maxmtg
4acffc60cd scry now uses player controllers to learn player's choice, method player.scry() moved to ScryEffect
Human uses GuiChoice.order to arrange cards to be put on top or bottom of library (that means less popping windows)
AI has a method in ComputerUtil to learn where to put a given card.
2013-03-16 10:04:39 +00:00
Maxmtg
92caa7514d rem warning,
replace array with immutable list in Color
2013-03-16 10:01:18 +00:00
Sloth
23fb1054ba - The AI will now use the ability of Shirei, Shizo's Caretaker. 2013-03-16 08:04:20 +00:00
swordshine
d48f0a9184 - Added Scythe Specter 2013-03-16 06:41:02 +00:00
Maxmtg
9af799a88e Changed some public final static arrays into guava's ImmutableList
in Card class changed members to be just List<T> instances (instead of ArrayList)
2013-03-15 21:51:52 +00:00
Maxmtg
5f0e660d18 removed unneeded final modifiers from methods (class is final anyway) 2013-03-15 21:31:52 +00:00
Maxmtg
5b4c6e8490 moved some duplicate methods to base class 2013-03-15 21:28:18 +00:00
Maxmtg
9c3497c7f4 removed duplicate preferences validation from QuestPreferencesHandler & CSubmenuQuestPrefs 2013-03-15 21:21:34 +00:00
Maxmtg
10fdf5b82a eliminated duplicate code of requirementsCheck() in Trigger and ReplacementEffect
some references changed to basic class
2013-03-15 21:06:17 +00:00
Sloth
c783b32230 - Fixed possible NPE in checkETBEffects caused by getPossibleETBCounters. 2013-03-15 12:22:58 +00:00
Sol
1728cf4440 - Phased out cards will cause spells targeting them to fizzle again 2013-03-15 00:12:11 +00:00
Sloth
fe73d7433f - The AI can now use Daybreak Coronet. 2013-03-14 21:43:08 +00:00
Sloth
592a18cf32 - Fixed AI crashing on Verdant Haven. 2013-03-14 19:11:45 +00:00
Sloth
5e687f98b9 - Fixed AI using Man-o'-War. 2013-03-14 08:24:50 +00:00
Sloth
f705d35823 - Changed getDefendingPlayerRelatedTo to return a list instead of a single player (which brings it closer to the rules).
- Added Yare.
2013-03-13 23:25:06 +00:00
Sloth
945d5a5f56 - Improved the script pf Quietus Spike. 2013-03-13 22:58:45 +00:00
Sloth
d6b249e897 - Fixed splicing spells with subAbilities. 2013-03-13 19:35:58 +00:00
Sloth
0d707646e4 - Fixed AI crashing on Squandered Resources (but it still can't use it). 2013-03-13 16:40:43 +00:00
Maxmtg
cbbf22f34a added reveal method to PlayerController (should probably add one to game? to reveal to all players)
AI mulligan decision code moved to ComputerUtil
2013-03-13 08:31:49 +00:00
moomarc
592ab5752d - Restored Emblem image functionality
- Added Domri Rade's emblem to the token download urls
2013-03-12 10:10:33 +00:00
Sol
3d073c92a8 - Fix NPE related to X Can't be 0 and Announce
- Added Simic Manipulator
2013-03-12 03:20:32 +00:00
Sol
60d98a0c12 - Costs should not use the terminology "Targeting" since that means something very distinct in Magic 2013-03-12 02:19:45 +00:00
Sol
6ec78bb5d6 - RemoveCounter can now handle X counters to remove using "byType" cost
- Small change to allow refunding of certain partially paid costs
- Added Ooze Flux
2013-03-12 01:56:36 +00:00
Maxmtg
1ec1bceedb fixes NPE at getCmc 2013-03-11 09:35:40 +00:00
swordshine
63453fec21 - Added Chain Lightning, Chain of Vapor and Vision Charm 2013-03-11 00:41:25 +00:00
myk
c568a7cae2 truncate stack overflow error traces so the resulting messages aren't too long to post 2013-03-10 21:39:26 +00:00
Agetian
187f700c2c - Fixed the sideboarding code not allowing a deck with more cards than the original deck in Limited (Sealed, Draft) modes. 2013-03-10 18:34:27 +00:00
Agetian
8afd761a42 - Fixed the main deck title label initially not showing the number of cards when Sideboarding. 2013-03-10 18:24:28 +00:00
Agetian
2de038d0bc - Sealed and Draft modes do not get a visual warning for AI-unplayable cards since those consist only of picks/received cards that did not go into the main deck but were left in the sideboard. 2013-03-10 18:17:07 +00:00
moomarc
4f114411e1 - Added Mana Clash 2013-03-10 14:57:18 +00:00
Maxmtg
40641f2b41 This changes input back to single-threaded model. 2013-03-10 14:46:48 +00:00
Maxmtg
6d2ebbc909 removed duplicate code 2013-03-10 12:30:05 +00:00
Maxmtg
19d17effc8 Input no longer observable (noone used that anyway) 2013-03-10 12:29:17 +00:00
Maxmtg
dcaf1c941a flipCoin should not have get out of its executor class 2013-03-10 12:28:44 +00:00
moomarc
99ecca4805 - Added new scheme: All in Good Time
- new player keyword "Schemes can't be set in motion this turn."
2013-03-10 10:15:52 +00:00
Agetian
45193939e2 - A (temporary?) fix for the r20184 issue with the input hanging between phases when the phases are changed too quickly. 2013-03-10 04:49:33 +00:00
moomarc
9046801f9e - Added Odds//Ends 2013-03-09 12:21:43 +00:00
Maxmtg
d91545cfb3 when a second game in the match starts, player will be shown directly the mulligan input 2013-03-09 06:51:31 +00:00
Maxmtg
3e6d4ecc0c A hardcode to use cards from 6ED whenever S00 card is not found 2013-03-09 06:50:53 +00:00
Sol
be80c5582e - Reverting RememberedSize, which isn't a great name if its only sposed to be used with counters 2013-03-09 05:22:11 +00:00
Sol
a1f1ae5c1d - Replacing the duplicate RememberedSize with the the Remembered Counter that already existed. 2013-03-09 04:06:28 +00:00
Sol
ede42d710a - Added Natural Balance 2013-03-09 03:41:30 +00:00
Maxmtg
d34e00bd00 making isGameOver synchronized,
isValid in InputProxy.java is also synchronized instead of being volatile
2013-03-08 16:10:35 +00:00
RumbleBBU
3a91615435 Slight adjustments to the unlocking cost formula to make it more consistent with the new desired base cost. 2013-03-08 09:27:54 +00:00
swordshine
e7b1413a08 - Fixed last commit 2013-03-08 07:41:37 +00:00
swordshine
d467b3392a - Added Rise//Fall 2013-03-08 07:35:31 +00:00
Maxmtg
ec98a428d3 Monocolored decks generation 2013-03-07 21:08:11 +00:00
Maxmtg
0496dca705 fixed initial turn number (that affects draw on 1st turn) 2013-03-07 19:09:57 +00:00