Commit Graph

5320 Commits

Author SHA1 Message Date
Sloth
c79b3d0cd2 - The AI can now use Gruul Charm. 2013-03-02 19:24:14 +00:00
Sloth
04efd63554 - Fixed UnlessCosts not always setting activating players (fixes Scythe Tiger). 2013-03-02 16:46:28 +00:00
Sloth
46d290ae02 - Real fix for chooseSacrificeType. 2013-03-02 16:12:48 +00:00
Maxmtg
8ecdd641b3 reverting 19970 as it must have ruined all those ETB effects 2013-03-02 15:40:53 +00:00
Maxmtg
888ab412f7 card layout code was leaving too big gaps between cards 2013-03-02 15:23:04 +00:00
Sol
050df94e49 - Restore accidentally removed hardcoded Temporal Aperture 2013-03-02 14:46:14 +00:00
Sloth
7b54bc2718 - Fixed "You may have CARDNAME assign its combat damage as though it weren't blocked." messing around when the AI is blocking. 2013-03-02 14:05:28 +00:00
Sloth
8310172ffb - Fixed AttachAI not checking Sacrifice or Life Costs. 2013-03-02 12:34:38 +00:00
Sloth
846507ef40 - Prevented playSpellAbilities from creating infinite loops. 2013-03-02 12:29:46 +00:00
Maxmtg
613dd2bac1 compare with zero in a more delicate way 2013-03-02 12:17:12 +00:00
Maxmtg
06f252b2e4 PlayArea is intialized with a r/o list that is a reference to all cards in given zone. 2013-03-02 09:21:25 +00:00
Maxmtg
8fb3c5e0b1 commiting sets and blocks files with Index:LineNumber removed 2013-03-02 08:08:55 +00:00
Maxmtg
9286d5e943 StorageReaderFile passes record seq. number along with the record itself 2013-03-02 07:55:01 +00:00
Maxmtg
bfeee22e12 rolling back from last commit (should have sent it too early) 2013-03-02 07:54:21 +00:00
Maxmtg
4ae49efb4a A number of inputs recieve stop(); clause 2013-03-02 07:50:01 +00:00
swordshine
5fc6b489dd - Added Dimensional Breach and Lim-Dul's Vault 2013-03-02 01:32:35 +00:00
Maxmtg
2007547190 (minor) wrote a simple javadoc class description, because that TODO has been there for about a year already 2013-03-01 22:43:12 +00:00
Maxmtg
84d64ef8eb IZone - adjusted parameter type or remove method
thrown away get/setUpdate methods
battlefield.getCards(false) will return R/O list of cards - might lead to exceptions if callers attempt to modify the method's result.
2013-03-01 22:40:50 +00:00
Maxmtg
ec2721e73b Remove UI class since most methods are never called, the rest may be moved to classes that use them 2013-03-01 22:35:58 +00:00
Sloth
b9473367d8 - Removed deprecated targetPlayer variable from SpellAbility.
- Cleanup.
2013-03-01 20:44:38 +00:00
Maxmtg
0d0ea30e0e Changed exception type to be correctly catched by DeckSerializer 2013-03-01 18:26:16 +00:00
Maxmtg
1fcb929ea7 refactored code that calculates if the cardpanels fit playarea with a given cardWidth: the "rows" member is never modified, so there won't be any "concurrent modification" exceptions; lists or lands, tokens, creatures and others are not modified during calculation, so they don't need to be cloned from reference for each trial of card width. 2013-03-01 17:35:37 +00:00
myk
919662380c add missing continue in QuestEventManager duel generation loop 2013-03-01 09:06:58 +00:00
Maxmtg
92be09cf69 added methods to query player if he wants to take turn first
It is used by new revision of GameNew that I don't commit yet because it contains other changes unsafe for todays release
2013-03-01 07:52:11 +00:00
myk
954311973c log, but don't pop up warning about non-AI cards in quest decks. the popup hinders immersion and if they are there, it is likely intentional 2013-02-28 19:48:20 +00:00
moomarc
9c16f2ce14 - Added Battletide Alchemist 2013-02-28 13:52:38 +00:00
Sloth
382336a1bc - Fixed LKI copies messing up Mana abilities. 2013-02-28 13:46:40 +00:00
moomarc
6957e58de5 - Added Thought Devourer 2013-02-28 10:38:53 +00:00
myk
3622ad3fab don't show non-traditional sets in unlock dialog 2013-02-28 10:11:50 +00:00
moomarc
e0a3917b94 - Added Not of This World 2013-02-28 08:54:51 +00:00
Sloth
55f2d9921f - Fixed resetCardColor crashing on face down cards. 2013-02-28 07:55:46 +00:00
swordshine
eb0cafc665 - Added Cornered Market 2013-02-28 06:10:22 +00:00
Sol
5f1fbca8b1 - If SA has an Announce Requirement is available, append the Announce variable to the Stack Description 2013-02-28 02:19:28 +00:00
Sol
0d46dc55bc - Add Arcanis the Omnipotent Avatar
- Count$Random can now randomize with SVars for min/max values
2013-02-28 01:45:05 +00:00
swordshine
198ee38ba6 - Added Kumano's Blessing and Winnow 2013-02-28 00:37:31 +00:00
Chris
d88a8b3d62 - The Archenemy view now will resize to 800 x 600 pixels but the random button is drawn offscreen and can not be seen or used. 2013-02-27 19:49:01 +00:00
Sloth
0e10eb9296 - The AI can now use Animate Wall. 2013-02-27 19:13:11 +00:00
Sloth
74a31e137e - Fixed possible NPE in getUniqueTargets. 2013-02-27 19:00:49 +00:00
Sloth
0ffe871f98 - Fixed "CARDNAME assigns its combat damage as though it weren't blocked." causing a NPE. 2013-02-27 18:50:53 +00:00
moomarc
8fcb03fb3e - Added Master of the Wild Hunt Avatar
- added AtRandom param to GenericChoice AF
2013-02-27 17:12:21 +00:00
Chris
72987786e9 - Center the various tempPanel(s) in the three variant views. 2013-02-27 15:36:53 +00:00
Chris
8a3c19ada1 - Center the settingsPanel in the three variant views. 2013-02-27 15:32:27 +00:00
Chris
4274bc1409 - Reduce the empty space between the tabPane and the pnlStart in the three variant views. 2013-02-27 15:27:19 +00:00
Maxmtg
cdea3d3a11 change of Card.getKeywords() return type into List<String>
cleanup in callers of getKeywords - some were calling toString() of String, others used for with counter to iterate.
2013-02-27 14:40:26 +00:00
Maxmtg
01af8f4eef CardFactoryUtil - extracted the longest keyword-to-ability conversions into separate methods
removed keyword 'CARDNAME is (color)' because this data is already contained in a mandatory field named 'color'
renamed postFactoryKeywords to setupKeywordedAbilities
generally 'setup' means 'make all changes to card yourself' and 'make' intends only creation of spellability, at least 'make'-methods always return one.
2013-02-27 14:01:29 +00:00
Sloth
84300a57a1 - Fixed chooseSacrificeType. 2013-02-27 13:06:59 +00:00
Maxmtg
1d5f1a49f0 CardLists: removed duplicate sortByMostExpensive, gave propper names to methods of CardLists 2013-02-27 10:03:25 +00:00
swordshine
32aade3d4b - Added Pledge of Loyalty and Mirror Golem 2013-02-27 05:44:50 +00:00
Maxmtg
8146d4c96f 'confirm deck overwrite' dialog will pop only if deck is being saved under a different name, that matches another existing deck name 2013-02-27 05:08:47 +00:00
Maxmtg
6a7ed9d213 removed some useless casts 2013-02-27 04:51:45 +00:00