Commit Graph

721 Commits

Author SHA1 Message Date
Myrd
0ee6c92593 Use equalsIgnoreCase when loading cards lazily since some names in decks don't match names in card files (e.g. capitalization of "of"). 2016-11-04 23:31:00 +00:00
Myrd
117be64aa9 Fix StackError due to deferredSections. 2016-11-04 23:02:05 +00:00
Myrd
acddffa267 Experimental feature (behind a pref) to not load all card rules at start up. In my testing, this improves startup speed significantly.
This is still experimental & behind a flag because there's some more work that needs to be done to fully support this - such as loading all cards when the deck builder UI is shown.
2016-11-04 04:19:51 +00:00
Sol
8876e3a108 Better fix for Conformance 2016-10-27 13:04:53 +00:00
Sol
c5bdd28801 - Fix Conformance NPE 2016-10-27 13:04:10 +00:00
Sol
83f31f1868 - Adding Conformance check for Partners 2016-10-26 12:58:34 +00:00
Hanmac
a27fb9106b Commander: more fixes for new Commander changes and Color Identity 2016-10-26 09:01:16 +00:00
Hanmac
4b9388c562 Makes the Game work with more than one Commander 2016-10-25 15:39:52 +00:00
Agetian
0dd3a36ca1 - Attempting to fix Spinal Parasite by adding support for negative power/toughness for creatures.
- Warning: this is an experimental fix which changes several aspects of card loading and P/T get/set functions, may potentially break things. Please test and update as necessary.
2016-10-05 18:11:35 +00:00
Hanmac
5e2932ba62 CardDb: add AltName for Cards, specially the AEther one 2016-10-05 08:46:45 +00:00
Sol
bd39755238 - When loading cards that aren't associated with an editions file, assign them to an upcoming set if available. 2016-09-08 01:30:27 +00:00
Sol
7b746b5c79 - Don't load cardscripts from upcoming folder if not a dev version of the codebase 2016-09-06 00:41:26 +00:00
Hanmac
1eb38acc04 CardFacePredicates: add similar to RulesPredicates 2016-08-18 08:08:21 +00:00
Hanmac
cf45e9ff1a CardDb: add getter for UniqCards and CardFaces 2016-08-18 08:01:14 +00:00
Hanmac
9668b50b0b CardFace: add toString to return the name and add Comparable to ICardFace 2016-08-18 07:49:47 +00:00
Sol
4c49db4c89 - Adding Advantageous Proclamation (CNS) 2016-08-02 20:08:40 +00:00
Hanmac
7d5ad2416d ImageUtil: get it working for Meld cards, Secondary cards does look at the primary card for the backface. 2016-07-24 08:50:31 +00:00
Hanmac
86d9d2e5f7 CardDb & CardRules & Card & CardFactory: use MeldPair to get the Backside from the Secondary
if CardFactory use StaticData to get the other card
2016-07-24 07:14:51 +00:00
mcrawford620
2eb4e8d108 Merge all from trunk at 31650 2016-07-23 04:06:17 +00:00
Sol
9c6d4e69a9 - Initial checkin for Meld (still some kinks to work out, but ya gotta start somewhere)
- Add Graf Rats/Chittering Host and Midnight Scavengers
2016-07-23 01:26:51 +00:00
mcrawford620
856b0b5ab1 Merge all from trunk at 31647 2016-07-22 21:22:39 +00:00
Hanmac
35d0adb157 Lang: add nounWithNumeral for non-string numbers 2016-07-21 17:50:09 +00:00
Hanmac
dab0a28931 ManaCost & StaticAbilityContinuous: move code from StaticAbilityContinous to ManaCost to make it more reuseable 2016-07-20 14:13:04 +00:00
mcrawford620
5c5af31bc3 Merge all from trunk at 31586 2016-07-20 04:57:21 +00:00
Agetian
93b404e8f6 - Added an override mechanism to allow the game to correctly detect "large small" sets that have over 200 cards in them but that are treated as the small set of the block, e.g. Eldritch Moon.
- Fixes SOI and EMN/SOI booster draft generation in quest draft tournaments,
2016-07-18 08:40:52 +00:00
mcrawford620
bfa89fd5af Add ability type, and capability for cards to be marked has having specific abilities through DeckHas var. 2016-07-15 04:37:43 +00:00
mcrawford620
80978ad228 DeckHints can return Map of cards by Type 2016-07-13 05:02:02 +00:00
mcrawford620
3678e6a870 Allow multiple deck hints in a card 2016-07-12 04:43:31 +00:00
mcrawford620
4b4a08d2be 2016-07-08 23:41:02 +00:00
Sol
637306b991 - Improve booster generation for Shadows over Innistrad to be a bit more realistic 2016-07-03 20:38:24 +00:00
Hanmac
bbe5492174 CardDb: changed the logic for the ArtIdx, now with Map it works if they are not together. 2016-05-31 15:20:49 +00:00
Hanmac
b0a6f9ffdb Fixed FCollection: a Collection<? extends T> can only be turned into a List<? extends T> 2016-05-08 09:36:59 +00:00
Sol
203a2dbdd6 - Attempting to alleviate some issues with the memory leak 2016-04-21 03:51:24 +00:00
Sol
1c0ebbae4c - Adding Tournaments to Simulater 2016-04-17 16:32:20 +00:00
drdev
5af9e90a2e Tweak cost and value multipliers for non-commons 2016-03-20 16:29:49 +00:00
drdev
28049732cb Update enemy wedge color order to match Tarkir clans 2016-03-18 04:17:21 +00:00
drdev
389681b62a Support showing generic mana in prompt if color can be paid with any color 2016-03-14 05:41:47 +00:00
drdev
956e15908c Combine certain filters to avoid being able to filter too much 2016-02-21 20:28:04 +00:00
Sol
8984606931 - Add colorless shards to Statistics view 2016-02-17 19:27:02 +00:00
drdev
f7ce7322d3 Fix so color sets rendered in the correct order 2016-02-07 21:35:38 +00:00
drdev
6159488388 Fix invalid events 2016-02-06 19:39:07 +00:00
drdev
a6818c1e17 Add better validation for Planar Conquest readers 2016-02-06 19:30:00 +00:00
drdev
73d555db08 Add missing class 2016-01-31 22:08:01 +00:00
drdev
12afde904c Simplify reading of region and events files 2016-01-31 22:05:43 +00:00
drdev
8f1b87a848 Refactor Planar Conquest code to support loading events from files 2016-01-31 21:24:06 +00:00
drdev
16f0898842 Refactor Planar Conquest code so planes and regions can be loaded from resource files 2016-01-31 00:16:20 +00:00
Sol
f7c81bd36c - Convert a few more MagicColor references to ManaAtom references. (Fix Autopayment/AI payment of Colorless Costs) 2016-01-19 15:20:14 +00:00
Sol
530a3c2eab - Fixing some unexpected issues that colorless mana changes affected
- Commander mana generation restriction removed
2016-01-19 02:43:31 +00:00
Sol
cb14b2ef80 - Fixing Autopay/AI payment of cards like Holdout Settlement 2016-01-17 03:18:39 +00:00
Sol
cd5ee18525 - Fixing Colorless costs so they can't be paid by Colored mana for Humans (This may prevent AI from paying Colorless costs) 2016-01-14 21:26:27 +00:00