Commit Graph

559 Commits

Author SHA1 Message Date
Sloth
8e57d2341c - Fixed a bug in the AI of PreventDamage AF. 2011-09-11 13:53:26 +00:00
Maxmtg
104d79d619 Draft: cards can be picked by doubleclicking them 2011-09-11 13:32:36 +00:00
Sloth
8ddf07823a - Converted Evil Presence and Tainted Well to script. 2011-09-11 11:56:44 +00:00
Sloth
00aef08091 - Fixed a bug with continuous static abilities with "RemoveAllAbilities" not granting mana abilities back.
- Removed stAnimate from Blood Moon and Lignify.
2011-09-11 11:39:25 +00:00
Sloth
3f87e823c2 - Continuous static abilities with "RemoveAllAbilities" will now also remove keywords. 2011-09-11 10:38:47 +00:00
Sloth
33af95e819 - The AI will no longer use the DealDamage AF abilities when the damage is 0. 2011-09-11 08:22:45 +00:00
Sloth
224c2e0aae - "TriggerCount" will now look at the rootSpellAbility (fixes Souls of the Faultless). 2011-09-11 08:02:53 +00:00
Doublestrike
39b492a969 ReadQuest_Assignment > getQuests() renamed to getAvailableQuests() to avoid confusion, since a list of allQuests is also present. 2011-09-11 06:24:42 +00:00
Doublestrike
0136e9d5f1 Javadoc and functionality comments updated. 2011-09-11 06:15:21 +00:00
Doublestrike
70f6e8ffa9 Minor fix. 2011-09-11 05:49:53 +00:00
Doublestrike
6813fd81e5 Documentation added to Deck class to indicate proper use and legal metadata. 2011-09-11 05:26:34 +00:00
Doublestrike
7fb93dd4b1 Renamed "getHumanPlantAndPet" and "getComputerCreatures" to "getHumanStartingCards" and "getComputerStartingCards".
This is more appropriate since the return values "computer creatures" and "plant and pet" can include enchantments, artifacts, tokens, etc.
2011-09-11 05:20:13 +00:00
Doublestrike
e5c6d749b8 Non-deck meta removed from quest dck files. Meta now reads
Name=
Display Name=
Icon=
Deck Type=
Comment=

All quest-related information is fully stored in quests.txt, including AI and human extra cards at match start.

ReadQuest_Assignment assembles all quest information from this file.
Quest_Assignment has getters and setters to handle all information.

QuestUtil updated, most importantly deprecating SetupQuest, which previously held a lot of hard-coded data.
2011-09-11 04:54:11 +00:00
Sol
46a8d9ff4a Added "Mill" as a Cost
Converted Millikin to use it.
2011-09-11 00:44:36 +00:00
slapshot5
30a34f0618 AF_Animate now respects a "RemoveAllAbilities" param just like StaticAbility. Updated the 10 recently submitted cards to use this. 2011-09-10 23:37:33 +00:00
Maxmtg
0b7215b8a6 trivial refactor in CardPanel (I was looking for a place to draw cards' counters)
Level counters were given a name
2011-09-10 20:54:32 +00:00
slapshot5
5963f2ec88 finish up removing abilities and triggers for target cards in AF_Animate (may need to add static abilities to this yet also...) 2011-09-10 20:47:55 +00:00
slapshot5
994fddf7ba very minor Checkstyle stuff in DeckGeneration.java 2011-09-10 17:05:56 +00:00
slapshot5
f45c6c09f5 Checkstyle fixes in GuiUtils 2011-09-10 14:54:42 +00:00
Sloth
2138b6a35c - Added Quiet Speculation. 2011-09-10 11:03:38 +00:00
Sloth
255bd37446 - Continuous static abilities with "RemoveAllAbilities" will now also remove static abilities.
- Improved the layering of continuous static effects.
2011-09-10 10:06:14 +00:00
Sloth
8a88ad4bf8 - Simplified the code for the Storm keyword. 2011-09-10 09:05:23 +00:00
Sloth
3fba722443 - Fixed the Graft keyword. 2011-09-10 08:43:54 +00:00
Hellfish
0999399b5a *Added Phantasmal Image 2011-09-09 21:58:16 +00:00
Sloth
a7c9e72c07 - Fixed the issue of changing zones messing up triggers. 2011-09-09 21:17:19 +00:00
Maxmtg
a658c23afa fixing an exception from deSerialilzation of old saves (where gametype was a string) 2011-09-09 18:27:42 +00:00
jendave
eb3adba34f fix import for tree.properties namespace 2011-09-09 16:25:45 +00:00
jendave
c20120df47 fix namespace 2011-09-09 16:25:36 +00:00
Sloth
b4c734b49d - Added the option "RemoveAllAbilities" to continuous static abilities which will remove triggers and activated abilities (keywords and static abilities coming soon).
- Fixed Pithing Needle affecting mana abilities.
2011-09-09 16:18:25 +00:00
jendave
1c16386490 checkstyle 2011-09-09 16:16:01 +00:00
jendave
fc7b732dea checkstyle 2011-09-09 16:07:55 +00:00
Maxmtg
5aff635eb8 fixed card picture selection to correctly show cards that have several prints throughout a set 2011-09-09 15:53:00 +00:00
jendave
e28fb2fcee fixed checkstyle 2011-09-09 15:32:27 +00:00
Maxmtg
52ef410927 sorting cards on save
removed import-related warning from OldGuiNewGame
2011-09-09 15:23:16 +00:00
jendave
f6734f6266 add package-info javadoc files 2011-09-09 15:06:32 +00:00
ArsenalNut
d35dc1b2ab added CheckSVar support to SpellAbility_Condition 2011-09-09 12:44:20 +00:00
ArsenalNut
f9e0798f27 Added support for remembering drawn cards to Draw AF with "RememberDrawn" script key 2011-09-09 12:42:28 +00:00
Maxmtg
e6a1fb2930 Checkstyle changes
Moved deck generation code away from OldGuiNewGame
2011-09-09 12:34:12 +00:00
Maxmtg
5fd79df20b added a missing file! 2011-09-09 12:05:34 +00:00
Maxmtg
2ecc716b83 gameType is now a Enum,
Deckeditors no longer save all decks on close (there may remain minor bugs)
Deckeditors have mostly been cleaned of usage of global variables
OldGuiNewGame updates deck comboboxes properly
Download deck from tcgplayer feature temporary removed
cleaned up some warnings
2011-09-09 11:08:29 +00:00
Sloth
f09f71129c - Fixed a bug in cleanUpTemporaryTriggers. 2011-09-09 09:22:32 +00:00
slapshot5
b14dc3aae8 incremental update for AF_Animate to support removing triggers and abilities as part of the animate. 2011-09-09 01:18:32 +00:00
Sloth
4b964057ce - Added the keyword "CARDNAME assigns no combat damage" and converted some cards to use it. 2011-09-08 18:46:48 +00:00
Maxmtg
9d1eb10027 Added formats filter to deckeditor
removed hardcoded formats where they were known to me
2011-09-08 15:02:01 +00:00
Sloth
48d045cd51 - Added the option temporarilySuppressed to the trigger class (suppressed can now be used without it being reset all the time). 2011-09-08 10:28:55 +00:00
slapshot5
f955f12c48 Checkstyle fixes in StaticAbility_Continuous 2011-09-08 03:05:26 +00:00
slapshot5
f8cd6ff7ac some Checkstyle fixes in Trigger_Cycled.java 2011-09-08 02:32:56 +00:00
Maxmtg
53c2b45ea4 just tried to test issue 148, but could not find a card to quest deck, added it. and it didn't appear in list, so I moved the name, type and set filter to quest Deckeditor. Draft users also get an update of colored mana costs. 2011-09-08 02:14:36 +00:00
Maxmtg
a05b4345d4 All computer decks are auto-assigned names
Protection from crashing on empty decks files
Resolution for issues 241-244
2011-09-08 00:29:14 +00:00
Maxmtg
8b545aba7a WU and WB were mixed up 2011-09-07 23:13:26 +00:00