Commit Graph

6795 Commits

Author SHA1 Message Date
Maxmtg
153310af5d deckmanager is now forced to store cards along with sets they belong to, cause ppl want customized decks 2011-09-06 00:22:48 +00:00
Maxmtg
a4d4b6b1d8 QuestMode crashed with old decks (no difficulty and displayname metadata in dck files), doesn't crash now at least. 2011-09-06 00:05:06 +00:00
Maxmtg
20319c3bac minor optimizations to card filtering 2011-09-05 23:43:03 +00:00
Maxmtg
a20201a998 you were doing it wrong 2011-09-05 23:42:02 +00:00
Sol
bcb25d5444 Fixing Java String Comparison 2011-09-05 23:29:13 +00:00
Maxmtg
582d9ffe16 fixed a bug with deckeditor filters: (1) when you select 6 core types of 7, all 7 are shown anyway, (2) with active set filter didn't show some cards issued in other sets 2011-09-05 22:53:45 +00:00
Sol
d8bde04f98 - Fix for new Cost object not using CostChange information properly 2011-09-05 22:46:13 +00:00
slapshot5
8de408cd65 fix for having 2 Legendary creatures with the same name on the battlefield, but one of them is face down both going to the graveyard. Now, isFaceDown() is checked. 2011-09-05 22:28:08 +00:00
slapshot5
870972d091 clean up some Java warnings 2011-09-05 21:30:26 +00:00
Sloth
3a87576c3f - Disabled restarting matches in quest mode. 2011-09-05 20:02:27 +00:00
Maxmtg
b32bbf33ad fix for http://www.slightlymagic.net/forum/viewtopic.php?f=26&t=787&p=69769#p69769 2011-09-05 18:29:20 +00:00
Maxmtg
515a0aa302 Deck Editor displays mana as symbols (currently only for constructed mode) 2011-09-05 17:09:07 +00:00
Sloth
9170a06da0 - Added the option to remove triggered abilities with continuous static abilities.
- Added it to some cards that currently still use stAnimate.
2011-09-05 17:04:36 +00:00
Maxmtg
613d9aef78 does not force deck to have comment or playerType 2011-09-05 16:09:20 +00:00
Maxmtg
ef773c9d4c fixed an NPE for null comments 2011-09-05 15:46:09 +00:00
Maxmtg
ce5851ab5a Won't show errors if a card has no setinfo. 2011-09-05 15:38:07 +00:00
Sloth
9a038a53b6 - Added SVar:RemAIDeck:True to Brave the Elements. 2011-09-05 11:46:56 +00:00
Maxmtg
69152d07c3 Deck class no longer contains metadata - please create new classes for extra data you want stored along with the deck, incapsulate deck there if needed.
Accelerated Quest startup by removing N reads of N files (n=number of decks) that happened before displaying list of battles
Data specific for quest battle moved to QuestEvent
2011-09-05 10:47:08 +00:00
Maxmtg
2f62f07126 removed exception that turnd out not needed 2011-09-05 09:37:45 +00:00
Sol
1d4b09fdf7 - Fix for cards like Shimmering Grotto being able to pay for itself. 2011-09-05 00:16:10 +00:00
slapshot5
afc4ea7478 Checkstyle fixes in GameActionUtil and GenerateConstructedDeck 2011-09-04 20:45:11 +00:00
Maxmtg
61ba486d8d Cards that were missing setInfo will be listed in a good errorviewer window. 2011-09-04 20:39:59 +00:00
Sloth
aefb076f23 - Generalized the xcount functions available in continuous static abilities (fixes Mwonvuli Ooze). 2011-09-04 20:29:34 +00:00
slapshot5
25b1fe6cf3 some Checkstyle in Gui_WinLose and GenerateThemeDeck 2011-09-04 19:58:21 +00:00
slapshot5
f4946fb5ff clean up some java warnings 2011-09-04 19:08:15 +00:00
slapshot5
1c50ed43c0 some fixes in Test classes to fix compile errors. 2011-09-04 19:05:48 +00:00
slapshot5
b9db01ec16 Checkstyle fixes in AF_ChangeZone 2011-09-04 19:05:12 +00:00
Sloth
460701d4f1 - Converted the Changeling keyword to a stat defining ability. 2011-09-04 18:42:10 +00:00
Maxmtg
3cf823cab9 Pulled all the deck loading errors together. 2011-09-04 17:56:53 +00:00
Maxmtg
b4d3894b35 fixing exception that happens when loading a deck with cards not found in our database. 2011-09-04 17:40:26 +00:00
Maxmtg
3756976bf5 adressing issue from http://www.slightlymagic.net/forum/posting.php?mode=quote&f=26&p=69462 (if a card has blank value set that caused an exception) 2011-09-04 17:14:37 +00:00
Maxmtg
79e3081e98 SetInfoUtil cleaned out for unused code, init moved to static{} block, dependencies updated
limited game code moved to a matching package
deckeditor for drafting now lets pick a card by hitting space.
2011-09-04 15:48:59 +00:00
Maxmtg
5382bb7587 The choice window makes its list focused then it gains focus itself. So you can just press up/down and ENTER or ESC to choose without touching mouse 2011-09-04 15:43:00 +00:00
Sloth
936fae779e - Little AI fix in AF Attach Curse.
- Added Screams from Within.
2011-09-04 15:03:39 +00:00
ArsenalNut
78468572d0 fixed calculateAmount so Remembered and Imprint work when ability != null 2011-09-04 14:51:24 +00:00
slapshot5
35ab02ae9b some Checkstyle fixes in AF_ChangeZone 2011-09-04 14:43:05 +00:00
Maxmtg
c3db613e86 Code for reading a deck refactored. 2011-09-04 12:06:49 +00:00
Maxmtg
96556ebfa0 Now 'new' is present in quest deckbuider too. 2011-09-04 11:49:14 +00:00
Sloth
5428c2a8f5 - Little fix for the prompt of the reveal cost. 2011-09-04 11:40:28 +00:00
Maxmtg
263be6f3d1 "New" column added to Quest shop interface. 2011-09-04 11:13:03 +00:00
Sloth
b8412d4648 - The AI will no longer try to use mana abilities which have a mana cost (it will miscalculate). 2011-09-04 11:02:59 +00:00
Sloth
a40670d9de - Added the option "RemoveTypes" to AF Animate to remove one special type.
- Added Arcum's Weathervane.
2011-09-04 10:32:01 +00:00
Sloth
b6581dba64 - Added the option "RemoveType" to continuous static abilities to remove one special type.
- Added Melting.
2011-09-04 10:14:19 +00:00
Sloth
e2c99a4218 - Fixed an incompatibility of getShortColorsString and ManaCost (the former translating Colorless to C which the latter doesn't take). 2011-09-04 09:42:55 +00:00
Sloth
7d15448012 - The restart match button is now always enabled. 2011-09-04 09:00:07 +00:00
Sloth
26808aef66 - Disabled Sideboard parsing of deck files (because it currently chokes on the quest files). 2011-09-04 07:53:52 +00:00
Maxmtg
a46486c0ad reverting sources to revision 10193
changes from r10200 were kept (not reverted)
2011-09-04 03:13:07 +00:00
Doublestrike
8eefc0cee1 DeckManager updated to ignore tokens stored in Quest decks.
QuestUtil updated (poorly) for a quick fix on a couple of errors.
2011-09-04 01:30:34 +00:00
Doublestrike
51c52609c3 Deck and DeckManager restored? 2011-09-03 12:13:39 +00:00
Hellfish
8310c076ab *Better fix for the StackOverflow when donating stuff. You know, one that *doesn't* cause other GainControl abilities to spaz out. 2011-09-03 11:48:20 +00:00