Compare commits

..

976 Commits

Author SHA1 Message Date
Chris
df638d4d56 [maven-release-plugin] prepare release forge-1.1.5 2011-09-30 11:08:28 +00:00
Chris
295f3b910f - Preparing the changes.txt file for the next bi-weekly build and release. 2011-09-30 10:46:52 +00:00
Chris
2741f7e561 - Added the recent commit logs to changes.txt. 2011-09-30 10:40:19 +00:00
Chris
7ecda751bd - Ran oracle script. 2011-09-30 10:38:31 +00:00
Chris
c9c671967d - Ran set info script. 2011-09-30 10:37:41 +00:00
Sloth
fd3955d0af - Fixed Gratuitous Violence. 2011-09-30 10:07:34 +00:00
slapshot5
1c818b5b64 add Clockwork Swarm (from Homelands) 2011-09-30 07:31:11 +00:00
slapshot5
f97c006734 add Clockwork Steed (from Homelands) 2011-09-30 07:28:41 +00:00
slapshot5
d5df51fe8a add Xenic Poltergeist (from Antiquities) 2011-09-30 07:09:47 +00:00
slapshot5
eefbbcdc25 add UntilYourNextUpkeep param to AF_Animate 2011-09-30 07:09:19 +00:00
slapshot5
f05e323c81 add Clockwork Avian (from Antiquities) 2011-09-30 06:49:11 +00:00
slapshot5
dfc96c3316 add Clockwork Beast (from original base Alpha) 2011-09-30 06:43:43 +00:00
slapshot5
f7ea3420f0 a couple tweaks to AF_PutCounter:
1. add UpTo param for "add up to X counters to" a card
2. add MaxFromEffect param to specify the maximum amount of these counters the card can have from this effect
2011-09-30 06:42:28 +00:00
slapshot5
18009c3a68 Things that "come into play tapped" should not fire triggers for Mode$Taps according to my reading of rule 603.2d. I hope I haven't missed any place where this might be happening. 2011-09-30 04:44:06 +00:00
slapshot5
6af6a886f5 add Powerleech (from Antiquities) 2011-09-30 04:27:31 +00:00
Sol
d2304b1df8 - Fix for attempting to put counters on a token that no longer exists 2011-09-29 23:13:49 +00:00
jendave
ebca6d8c69 Ran oracle and set info scripts 2011-09-29 23:05:36 +00:00
jendave
d7f3f1e001 Add one more entry to .gitignore 2011-09-29 23:02:53 +00:00
jendave
f1104fad52 Add more entries to .gitignore 2011-09-29 22:59:50 +00:00
jendave
d58240e685 Add specification entries to Manifest file. Reset Checkstyle in project 2011-09-29 22:59:42 +00:00
slapshot5
27813a9f57 convert Mirror Universe to script 2011-09-29 18:48:28 +00:00
slapshot5
8fbc87596e add Transmute Artifact (from Antiquities) 2011-09-29 18:21:21 +00:00
Sloth
8e17214206 - Fixed Chainer, Dementia Master. 2011-09-29 14:46:53 +00:00
Chris
3dcaa53359 - Add a fluff piece to the changes.txt file. 2011-09-29 12:12:03 +00:00
Chris
d38cc8266a - Added the recent commit logs to changes.txt. 2011-09-29 10:52:04 +00:00
Chris
490b3eb67a - Ran oracle script. 2011-09-29 10:50:17 +00:00
Chris
b45ae9a97e - Ran set info script. 2011-09-29 10:49:08 +00:00
Sloth
ea1df574a8 - Corrected Pallimud and Skyshroud War Beast. 2011-09-29 10:10:03 +00:00
Sloth
91913ef5f5 - Little fix in Redwall 2. 2011-09-29 10:04:21 +00:00
Sloth
e8050975f8 - Removed the copies of Rage Nimbus from the Redwall 2 deck. 2011-09-29 10:03:19 +00:00
Sloth
b9e7990fb6 - Corrected Lost Order of Jarkeld. 2011-09-29 10:02:21 +00:00
slapshot5
b3e78fbdf4 convert etb part of Bazaar of Wonders to script 2011-09-29 04:52:29 +00:00
Sol
85cfc2ddb0 - Moving Repeatability check inside QC check. 2011-09-29 02:18:55 +00:00
slapshot5
7771152343 add Soul Conduit (from New Phyrexia) 2011-09-28 21:24:05 +00:00
slapshot5
2a09236a01 add Magus of the Mirror (from Time Spiral) 2011-09-28 21:23:44 +00:00
slapshot5
c64dbaf1a3 add an AbilityFactory for ExchangeLife 2011-09-28 21:23:01 +00:00
Sloth
a12c7a6e6f - Added Lost Order of Jarkeld. 2011-09-28 21:01:49 +00:00
slapshot5
1450c72a44 convert Necropotence to script 2011-09-28 19:22:11 +00:00
slapshot5
cc046bcb0e support Defined for Cards in ChangeZone Hidden 2011-09-28 19:21:49 +00:00
slapshot5
3d00966cab add TopOfLibrary as Defined for Cards 2011-09-28 19:21:05 +00:00
Sloth
39d546d61d - Added Venarian Glimmer. 2011-09-28 18:49:18 +00:00
Chris
e39dc6fa52 - Fixed broken LQ pic URL for Woodland Sleuth. 2011-09-28 14:14:24 +00:00
Sloth
2c4ea6d606 - Made some scripts AI friendly (J-Z). 2011-09-28 13:48:53 +00:00
Sloth
d3297df2df - Made some scripts AI friendly (A-I). 2011-09-28 13:05:55 +00:00
Sloth
37041d5dd8 - Made the script of Fiend Hunter AI friendly. 2011-09-28 12:49:08 +00:00
Sloth
4920f1acc9 - Fixed a possible NPE in changeHiddenOriginResolveAI. 2011-09-28 12:42:22 +00:00
Sloth
06616d2c8a - Added Werewolf to the list of creature types. 2011-09-28 11:57:34 +00:00
Sloth
8d169b77da - Added Llanowar Vanguard, Phyrexian Reaper and Phyrexian Slayer. 2011-09-28 11:54:11 +00:00
Sloth
a88eac9459 - Added quest23. 2011-09-28 11:42:46 +00:00
Doublestrike
d041d189d1 Repeatability activated for quest challenge events. 2011-09-28 11:19:34 +00:00
Chris
7a432393d2 - Added the recent commit logs to changes.txt. 2011-09-28 10:51:17 +00:00
Doublestrike
f12ecac5c8 More level descriptors added to quest mode 2011-09-28 10:25:22 +00:00
Sloth
2bf62d3f98 - Added Firebrand Ranger. 2011-09-28 09:57:22 +00:00
Doublestrike
c6c4310aff Difficulty multiplier on base reward for quest events added. 2011-09-28 09:45:12 +00:00
Sloth
ada3cf9ce6 - Added Distorting Wake. 2011-09-28 09:41:09 +00:00
Sloth
a1b9f84a7d - Fixed delayed triggers triggering over and over again. 2011-09-28 05:17:50 +00:00
ArsenalNut
c2e29cb12a adding Skeletal Scrying 2011-09-28 04:24:48 +00:00
Sloth
97a0914fe9 - Added Devouring Strossus. 2011-09-27 20:49:22 +00:00
Sloth
c7261b84f6 - Added support for targeting and Defined parameter in AF AnimateAll.
- Little fixed in AF AnimateAll.
- Cleanup of Ego Erasure and Shields of Velis Vel.
2011-09-27 20:33:20 +00:00
Sloth
a71d870017 - Added the deck: Chief Clancy Wiggum 1. 2011-09-27 19:45:19 +00:00
Sloth
5bdffbcb2e - Converted the last ability of Ajani Vengeant to script. 2011-09-27 18:21:30 +00:00
Sloth
589b69f3eb - Added support for targeting in AF DestroyAll.
- Added Primeval Light by Night Shadow.
2011-09-27 18:09:25 +00:00
Sloth
aab40f617a - Added Hundred-Talon Kami and Kitsune Healer. 2011-09-27 16:24:19 +00:00
Sloth
146940affc - Converted Ensnaring Bridge and Reverence to script. 2011-09-27 16:07:37 +00:00
Sloth
6416e1dada - Converted Blazing Archon and Peacekeeper to script. 2011-09-27 15:48:54 +00:00
Sloth
c001b9e124 - Added Hearth Kami and Horizon Seed. 2011-09-27 14:03:54 +00:00
Sloth
de2aa791cf - Added Deathcurse Ogre. 2011-09-27 13:50:30 +00:00
Sloth
e5df821001 - Fixed name of Blind with Anger. 2011-09-27 13:42:15 +00:00
Chris
9a7beef54b - Added the recent commit logs to changes.txt. 2011-09-27 10:53:35 +00:00
Sloth
7144ecfe5a - Fixed cost of Burning Vengeance. 2011-09-27 08:48:14 +00:00
Sloth
4ee17a3968 - Fixed typeline of Telethopter. 2011-09-27 08:44:50 +00:00
Maxmtg
aa2b87d265 deckmanager crashed on bad files 2011-09-26 22:51:37 +00:00
Maxmtg
5c255e23ed added overload for name-based predicate, simplified NamesExcept 2011-09-26 21:11:58 +00:00
Sol
444152b685 - Changing Curse of Chains AILogic 2011-09-26 20:59:26 +00:00
Maxmtg
09e098bd92 overload for subtype 2011-09-26 20:49:09 +00:00
Sloth
62beec1ac5 - Removed the function isValidCard in favor of isValid in GameEntity. 2011-09-26 20:36:49 +00:00
Sloth
c9e57ba824 - Added Radiant Kavu. 2011-09-26 20:25:58 +00:00
Maxmtg
0c5d719985 minor optimizations of CardRules, fix typo in comment of MtgDataParser 2011-09-26 19:17:54 +00:00
Sloth
897028e94d - Added Tanglesap. 2011-09-26 18:23:15 +00:00
Sloth
1d25851144 - Added Magebane Armor. 2011-09-26 18:19:35 +00:00
Sloth
30c959e27a - Added Harmless Assault.
- Converted Dolmen Gate.
2011-09-26 18:10:45 +00:00
Sloth
beaa8fb014 - Converted and corrected Enchanted Being. 2011-09-26 17:08:39 +00:00
Sloth
de1e5f8eb3 - Added support for "CombatDamage$" "True" and "False" to the PreventDamage static ability.
- Converted Mark of Asylum to script.
2011-09-26 16:55:07 +00:00
Sloth
838ba3a44a - Fixed Aquitect's Will. 2011-09-26 16:53:20 +00:00
Doublestrike
a9274c446e Fixed tooltip on "Deck Editor" button (issue 294) 2011-09-26 11:46:26 +00:00
Doublestrike
b996cb437d Final minor fix to model/view architecture in quest event panels. 2011-09-26 11:14:22 +00:00
Chris
fc4f6a8ab6 - Added the recent commit logs to changes.txt. 2011-09-26 11:06:09 +00:00
Sloth
073d2a44cb - fixed generateChallenges. 2011-09-26 08:47:51 +00:00
Sloth
53118bb936 - Added Goblin Furrier and Indentured Oaf. 2011-09-26 07:45:17 +00:00
Rob Cashwalker
660546cb75 Forgot to handle launching Quest Mode.... 2011-09-25 23:40:53 +00:00
Sol
6ce74c5fc2 Fixing Fire-Belly Changeling 2011-09-25 20:46:55 +00:00
Sol
f1e3114943 - Fixing text of Diplomatic Immunity 2011-09-25 20:43:26 +00:00
Sloth
ac8707f1ff - Added Ethereal Haze and Luminesce.
- Converted Forfend.
2011-09-25 20:33:12 +00:00
Sloth
5a9707a3df - Added Divine Light. 2011-09-25 19:15:01 +00:00
Sloth
9808cca421 - Added Chameleon Blur.
- Converted Bubble Matrix.
2011-09-25 19:11:06 +00:00
Sloth
6cf27bf349 - Fixed text of Unbreathing Horde.
- Added RemAIDeck to Caldera Hellion.
2011-09-25 19:02:47 +00:00
Sloth
b60e228836 - Added Al-abara's Carpet and Scarecrow. 2011-09-25 18:59:32 +00:00
Sloth
01fc6c7bac - Added Endure. 2011-09-25 18:48:39 +00:00
Sloth
1c5c56d31e - Removed the keyword "Prevent all damage that would be dealt to you." 2011-09-25 18:45:39 +00:00
Sloth
46c6f3af4d - Converted all cards with stPreventDamage keyword to the PreventDamage static ability.
- Removed the code of the stPreventDamage keyword.
2011-09-25 18:39:55 +00:00
Sloth
f02bb10ab0 - Added support for "Amount" and "Source" parameters to the PreventDamage static ability.
- Converted Daunting Defender, Energy Field and Energy Storm.
2011-09-25 18:24:42 +00:00
ArsenalNut
5d8e414668 Fixed affected creatures in Gallows Warded 2011-09-25 17:42:34 +00:00
Sloth
d00b70c494 - Added a new static ability "PreventDamage".
- Converted Personal Sanctuary to it.
2011-09-25 12:48:08 +00:00
Sloth
4ed92bc3cc - Added Safe Passage. 2011-09-25 11:55:53 +00:00
Sloth
5ce48e46ec - Added the player keyword "Prevent all damage that would be dealt to you".
- Added Personal Sanctuary.
2011-09-25 11:22:40 +00:00
Chris
063ea05f16 - Added the recent commit logs to changes.txt. 2011-09-25 11:20:22 +00:00
Chris
bb6928cd26 - Ran oracle script. 2011-09-25 11:17:45 +00:00
Sloth
9006232747 - Updated some SVars of Innistrad cards (T-Z). 2011-09-25 11:05:35 +00:00
Sloth
18e305f5fe - Updated some SVars of Innistrad cards (N-S).
- Fixed file name of Silver-Inlaid Dagger.
2011-09-25 10:31:21 +00:00
Sloth
b4dc96c35f - Updated some SVars of Innistrad cards (F-M). 2011-09-25 09:57:05 +00:00
Hellfish
487e2483cf *Minor fix to the new Home Screen(nice and understandable code); Picking random deck for the AI causes it to echo the deck chosen for the human. 2011-09-25 09:32:46 +00:00
Sloth
a03350a488 - Updated some SVars of Innistrad cards (A-E). 2011-09-25 08:27:29 +00:00
Sloth
f60f0b52c9 - Cleanup of stAnimate. 2011-09-25 08:13:00 +00:00
Sloth
38b6e1453d - copyCard will now copy remembered objects (this could make some more use of ClearRemembered CleanUp necessary).
- Fixed Admonition Angel.
2011-09-25 08:11:51 +00:00
Sloth
2fb922c197 - Added Spare from Evil. 2011-09-25 07:46:59 +00:00
Sloth
013493a900 - Fixed name of Mikaeus, the Lunarch. 2011-09-25 07:39:33 +00:00
Sloth
7b97de704f - Added the -1/-1 counters (formerly Flourishing Defenses) deck by Nordos as Starfire 3. 2011-09-25 06:26:45 +00:00
Rob Cashwalker
63ad9fc70d Added "Custom Pool=true" so it doesn't show up as a regular constructed deck in the new HomeScreen. 2011-09-25 02:40:03 +00:00
Sloth
cfcfdfef5b - Added Altar's Reap.
- Fixed type of Skulltap.
2011-09-24 21:26:00 +00:00
Sloth
a388428895 - Added four copies of Isolated Chapel to the Data 2 deck. 2011-09-24 21:03:34 +00:00
Rob Cashwalker
1d756d74ea Change the absolute path to relative path for graphics. 2011-09-24 20:10:22 +00:00
Sloth
2053933ca4 - Fixed Militia's Pride. 2011-09-24 19:54:24 +00:00
Sloth
d9ef87e149 - Disabled the use of AF ChooseColor for the AI. 2011-09-24 19:42:50 +00:00
Sloth
3ace3d25e7 - Completed the fix for delayed triggers. 2011-09-24 18:10:29 +00:00
Rob Cashwalker
b40c3d1b2a Adds first draft of HomeScreen gui. Requires an environmental variable to be present in order to enable it.
Move ManaSymbol initialization from OldGuiNewGame to ApplicationView.
2011-09-24 17:44:15 +00:00
Rob Cashwalker
fd55737978 Add CustomPool property to deck file for filtering from HomeScreen's deck list. 2011-09-24 16:43:14 +00:00
Rob Cashwalker
c064acf9e4 Removed a few commented references of OldGuiNewGame. 2011-09-24 16:32:51 +00:00
Rob Cashwalker
52164282fd Graphics for HomeScreen 2011-09-24 16:13:59 +00:00
Sol
e0c436d87d Updating mtgData 2011-09-24 14:11:59 +00:00
Sloth
8d4592e2cf - Changed generateDuels to the old system (ending with one very hard and two hard opponents). 2011-09-24 12:39:12 +00:00
Sloth
a70dbe64e2 - Fixed the possible crash in assembleDuelUniquedata. 2011-09-24 12:25:40 +00:00
Sloth
da3e7bd6f7 - Reverted newgame_background.jpg. 2011-09-24 12:09:50 +00:00
Sloth
c8f344491d - Fixed delayedTriggers. 2011-09-24 11:51:55 +00:00
Sloth
a370b638bf - Fixed Oblivion Ring (by changing getCardState to search all zones for the card). 2011-09-24 11:30:24 +00:00
Chris
055ceec0cc - Added the recent commit logs to changes.txt. 2011-09-24 10:46:35 +00:00
Sloth
5e857f9ecc - Little AI improvements in AF ChangeZone Hidden. 2011-09-24 10:25:30 +00:00
Sloth
d1f3b3164b - Fixed destroyPlaneswalkers checking non-Planeswalker types (so two Artifact Planeswalker won't destroy each other). 2011-09-24 07:18:12 +00:00
Sloth
1774ca0173 - Added two missing setinfos. 2011-09-24 06:35:08 +00:00
Sloth
899e81b83f - Fixed type of Pit Spawn. 2011-09-24 06:30:39 +00:00
Sol
b27858ac70 Increasing Commons in a Quest Booster Pack to 11
Increasing Money earned from Quest Victories
2011-09-24 04:03:01 +00:00
Sol
e423c274d6 Island SetInfo didn't update properly 2011-09-24 03:49:54 +00:00
Sol
5ad46c1595 - Fixing SetInfo for Basic Land 2011-09-24 03:27:58 +00:00
Sloth
b0bc6d22ee - Added Innistrad setinfo to reprints. 2011-09-23 20:15:30 +00:00
Sloth
54dc9e0c12 - Added Runic Repetition. 2011-09-23 20:03:02 +00:00
Sloth
9daacbae6b - Added a Planeswalker check to AbilityFactory.playReusable to make the AI use the abilities each turn (without random factor). 2011-09-23 19:11:29 +00:00
Hellfish
33e7b4c396 *Fixed Beacon of Destruction text. 2011-09-23 18:58:57 +00:00
Sloth
a64ad70ec8 - Added Woodland Sleuth. 2011-09-23 15:55:57 +00:00
Sloth
a9cd143ca2 - Fixed name of Curse of the Nightly Hunt. 2011-09-23 15:55:37 +00:00
Chris
f000585b5b - Added missing LQ pic URLs. 2011-09-23 14:46:50 +00:00
Sol
a45e8a8c74 Improve error message in CardRules 2011-09-23 14:40:16 +00:00
Chris
72999b3172 - Fixed several :Q pic URLs. 2011-09-23 14:38:28 +00:00
Chris
b97176aeb4 - Cleared out the changes.txt file, is ready for new material. 2011-09-23 14:31:04 +00:00
Maxmtg
9c025e2fea enabling limited play with ISD 2011-09-23 14:27:06 +00:00
Maxmtg
70f099d61e Performed formats rotation.
added ISD line to boosters.txt
2011-09-23 14:20:55 +00:00
Chris
684af1d788 [maven-release-plugin] prepare for next development iteration 2011-09-23 12:34:00 +00:00
Chris
f75601e7bf [maven-release-plugin] prepare release forge-1.1.4 2011-09-23 12:33:51 +00:00
Hellfish
c9f585f38c *Partially converted Venser, the Sojourner to script. 2011-09-23 12:27:00 +00:00
Chris
7bc953ce83 - Preparing the changes.txt file for the next bi-weekly build and release. 2011-09-23 12:10:00 +00:00
Chris
4c626757ac - Added the recent commit logs to changes.txt. 2011-09-23 11:49:52 +00:00
Chris
2e6d6f0b7e - Ran set info script. 2011-09-23 11:48:02 +00:00
Sloth
a970008541 - Added Make a Wish. 2011-09-23 10:52:42 +00:00
Sloth
65d519c59b - Added the parameter "AtRandom" to AF ChangeZone Hidden.
- Added Ghoulraiser.
2011-09-23 10:40:40 +00:00
Hellfish
21af8ad1b5 *Added flying to Voracious Dragon 2011-09-23 09:32:10 +00:00
jendave
66aa8a2ee5 Fix lifecylce issue with builder-helper plugin 2011-09-23 07:18:00 +00:00
ArsenalNut
7cefa68d62 Innistrad H-Z 2011-09-23 04:14:22 +00:00
ArsenalNut
a13753ce76 Innistrad A-G 2011-09-23 04:06:20 +00:00
ArsenalNut
d21a76a1e4 added Innistrad to setInfoScript.py 2011-09-23 02:07:26 +00:00
ArsenalNut
7070a2d4db added Morbid to GameActionUtil.specialConditionsMet to support etbCounter 2011-09-23 02:06:15 +00:00
Sloth
f72dee2d8c - Added missing SVars to the Radiance cards. 2011-09-22 20:54:17 +00:00
Sloth
87584cdfbc - Fixed Tainted Well. 2011-09-22 20:45:22 +00:00
jendave
d0abd123d8 Fix bug that would prevent most developers from creating Windows executables. 2011-09-22 17:41:17 +00:00
jendave
16c2a97103 update build so that jar-with-deps does not get deployed 2011-09-22 16:59:56 +00:00
jendave
cf07dc96ee Fix oracleScript file format. Add some files to gitignore 2011-09-22 16:20:40 +00:00
Hellfish
c7efc933aa *Added
Azorius Herald
	Court Hussar
	Patagia Viper
2011-09-22 16:03:29 +00:00
Hellfish
6cae7c4c26 *Fixed a stupid oversight in the ManaNeededToAvoidNegativeEffect code. 2011-09-22 14:51:23 +00:00
Hellfish
ec65b5d300 *Fixed ThisTurnEntered 2011-09-22 14:26:08 +00:00
Chris
c3861aa6e8 - Added LQ pic URLs. 2011-09-22 14:16:00 +00:00
Hellfish
d495b687f4 *Added ManaSpent & ManaNotSpent restrictions to Triggers. Triggers with ManaSpent$ Green for instance will only go off if Green mana was spent to cast the host card.
*New AI SVar; "ManaNeededToAvoidNegativeEffect". This is a comma-separated list of colors the AI will try to use to pay for the cost, but only if it actually has a source for that color mana.
*Added Plaxmanta.
2011-09-22 13:42:16 +00:00
Hellfish
501fbd20ae *Ran Oracle & SetInfo script for the last Radiance cards. 2011-09-22 12:21:09 +00:00
Hellfish
44c5f1188d *Added Radiance parameter to AF_PreventDamage & AF_Protection.
*Added StackDescription handling of Radiance for all affected AFs (DealDamage,Destroy,PreventDamage,Protection & Pump)
*Added
	Bathe in Light
	Wojek Apothecary
2011-09-22 11:42:11 +00:00
Chris
a72a258508 - Added the recent commit logs to changes.txt. 2011-09-22 10:34:51 +00:00
Chris
4d9c3d190a - Ran oracle script. 2011-09-22 10:33:29 +00:00
Chris
19f7a60eb4 - Ran set info script. 2011-09-22 10:32:28 +00:00
Hellfish
795c4cbead *Added Radiance parameter to AF_Destroy.
*Converted Leave No Trace to Radiance parameter.
2011-09-22 09:23:03 +00:00
Maxmtg
5e464d1753 issue 322 2011-09-22 04:31:01 +00:00
Maxmtg
c84bbb9751 DeckImport is transferring cards to deckeditor. The whole deckediting still needs improvement. 2011-09-22 01:53:14 +00:00
Sloth
02820b8938 - Fixed Evil Presence. 2011-09-21 18:07:59 +00:00
Hellfish
9fb5fbe1c7 *Fixed Champion's Drake. 2011-09-21 17:07:50 +00:00
Maxmtg
bbab59e766 refactored and a bit improved DeckImport 2011-09-21 15:27:17 +00:00
Hellfish
acfd398777 *Fixed some levelers inappropriately losing keywords and some other tweaks. 2011-09-21 14:32:35 +00:00
Hellfish
7afaf4aa36 *Fixed Hada Spy Patrol. 2011-09-21 14:21:19 +00:00
Hellfish
98aefb5a6b *Added initial Radiance parameter to AF_DealDamage.
*Converted Wojek Embermage to script.
*Converted Cleansing Beam to Radiance parameter.
*Fixed one of the Haunt triggers, previously it would bug the AIs ETB trigger evaluation.
*Added Count$DamageDoneThisTurn
*Added Brightflame
2011-09-21 14:19:09 +00:00
Sloth
920f8fc593 - Fixed Salvaging Station. 2011-09-21 13:10:53 +00:00
Sloth
f543b5e193 - Fixed trigger of Shield of the Righteous. 2011-09-21 13:10:02 +00:00
Sloth
1eea46f650 - Added Skyshroud Cutter. 2011-09-21 12:09:38 +00:00
Chris
ec6092b7ba - Added the recent commit logs to changes.txt. 2011-09-21 10:32:38 +00:00
Sloth
5305f44765 - Moved the Data 3 deck to tier 2. 2011-09-21 09:16:53 +00:00
Sloth
4e9fc260da - Added Ronom Serpent. 2011-09-21 09:13:05 +00:00
Sloth
465ab34f72 - Added Ohran Yeti. 2011-09-21 08:38:57 +00:00
Hellfish
676e60cfa7 *Separated targeted cards to pump from untargeted cards to pump. Fixes the example where a black creature with Prot White doesn't get pumped when Wojek Siren targets another black creature. I will attempt to insert this basic structure into the other AFs that Radiance cards can use. 2011-09-21 07:49:37 +00:00
Sloth
33c7b0666b - Added Mishra's Bauble. 2011-09-21 05:35:31 +00:00
Maxmtg
d742205910 some tuning for deckimport appearance 2011-09-21 04:45:47 +00:00
ArsenalNut
b1eb571296 Added partial RememberSacrificed support to Sacrifice. Cannot remember Human choices because of game actions in GUI 2011-09-21 04:34:28 +00:00
Maxmtg
b270e744ef DeckImport - wip 2011-09-21 04:00:53 +00:00
Maxmtg
33ce88cb56 Deck recognition (work in progress)
Card.isSick returned
some DeckEditor-related classes renamed
2011-09-21 01:14:42 +00:00
Sol
ffe83b0af3 - Added support for Attaching to Players on Auras ETB Indirectly. 2011-09-21 00:37:12 +00:00
Maxmtg
0f6fbfe728 DeckAnalysis moved to package with deckeditors, Default deckeditor has a button to invoke interactive deck import. 2011-09-20 23:05:42 +00:00
Hellfish
470b64e453 *Fixed the mouse hover on the stack cardpanels.
*Fixed Simian Brawler
2011-09-20 21:43:41 +00:00
Sloth
e453d2612b - Added Deepfire Elemental. 2011-09-20 20:37:48 +00:00
Sloth
f886aff47b - Added Simian Brawler. 2011-09-20 20:32:28 +00:00
Sloth
d464d4597b - Added Survivor of the Unseen. 2011-09-20 20:27:10 +00:00
Hellfish
90ccc4736d *Added Rally the Righteous
*Ran Oracle & SetInfo script.
2011-09-20 18:49:23 +00:00
Hellfish
f27e85bd83 *Added Radiance parameter to AF_Pump
*Added
	Incite Hysteria
	Surge of Zeal
	Wojek Siren
2011-09-20 18:20:08 +00:00
Maxmtg
3b5a27f555 Reflecting recent bans: http://www.wizards.com/Magic/Magazine/Article.aspx?x=mtg/daily/feature/161a 2011-09-20 17:19:27 +00:00
Hellfish
75221cacbb *Added Haunt keyword
*Added
	Absolver Thrull
	Belfry Spirit
	Benediction of Moons
	Blind Hunter
	Cry of Contrition
	Exhumer Thrull
	Graven Dominator
	Orzhov Euthanist
	Seize the Soul
2011-09-20 16:16:52 +00:00
Maxmtg
7bf5ccc6e9 isSick removed from Card in favour of hasSickness 2011-09-20 15:58:29 +00:00
Maxmtg
71f00b3c8d Renamed attachCard => attachCardByMindsDesire because it's the only way the field is uses. Hope someone will refactor the whole spell. 2011-09-20 15:31:21 +00:00
Maxmtg
f451e59add just a couple of comments 2011-09-20 14:50:23 +00:00
Hellfish
cd759a206e *Fixed Transcendent Master lacking Lifelink when >= Level 12 2011-09-20 13:36:04 +00:00
Chris
b47a6703ae - Added the recent commit logs to changes.txt. 2011-09-20 10:35:15 +00:00
Sloth
3ef4700432 - Fixed and simplified some of the cards with "Whenever you cast a Spirit or Arcane spell,...". 2011-09-20 09:47:44 +00:00
Sloth
286c9650c6 - Cleanup in two CardFactories. 2011-09-20 09:05:27 +00:00
Sloth
cdb24d72de - Converted Echoing Courage to script. 2011-09-20 08:50:47 +00:00
Sloth
3d552dcaf3 - Cleanup (mostly in CardFactory_Creatures). 2011-09-20 08:34:46 +00:00
Sloth
e44820b3db - Made getAffectedCards in StaticAbility_Continuous compatible with the new AllZoneUtil.getCardsIn function. 2011-09-20 08:28:49 +00:00
Sol
578ec40032 XPaid can now be used with XMath
Converted Banshee to Script
2011-09-20 03:27:10 +00:00
Maxmtg
7fc425fb0a isCardInPlayerGraveyard no longer there. 2011-09-20 03:23:21 +00:00
Maxmtg
165b6eb47e getPlayerTypeIn from AllZoneUtil removed in favour of player.getCardsIn(zone).getType(type) 2011-09-20 03:13:48 +00:00
Maxmtg
d4aaddcaa2 two useless functions in AllZoneUtil less. 2011-09-20 02:52:28 +00:00
Maxmtg
613b5a2bbd contains() added to PlayerZone - that's another AllZoneUtil call eliminated as well as useless copying to arrays with the only purpose of checking 2011-09-20 02:37:44 +00:00
Maxmtg
608c8a4705 Removed CardListFilter creation in AllZoneUtil, re-wired it to CardList.get... - which include both filter creation and filtering. 2011-09-20 02:19:34 +00:00
Maxmtg
b307aae220 fixing another place for NPE 2011-09-20 02:00:46 +00:00
Maxmtg
d326149ba6 moved getPlayersInGame from AllZoneUtil to AllZone (together with getHumanPlayer and getComputerPlayer)
removed getTypeIn() from AllZoneUtil, all ocurrencies use getCardsIn().filter(CardListFilter.type)... does not allocate memory for filter each time.
2011-09-20 01:46:24 +00:00
Maxmtg
035ab8cfb6 Commonly used CardFilters moved to CardListFilter file 2011-09-20 01:26:28 +00:00
Maxmtg
9917121e0c ETB zone fixed 2011-09-20 00:26:07 +00:00
Maxmtg
dd25a45362 Target spell choice for counterspell (and similiar cards) is fixed 2011-09-19 23:02:07 +00:00
Chris
d7aab4c56f - Added a Description$ for the alt cost to the five Bringer of the {color} Dawn cards. 2011-09-19 20:01:50 +00:00
Maxmtg
fb26392eda clear triggerHandler moved to FGameState 2011-09-19 19:18:47 +00:00
Maxmtg
c08920bceb just trying to understand things (comment added) 2011-09-19 19:18:05 +00:00
Maxmtg
6595515733 fix for crash when was querying Stack zone from global getCardsIn(List<Zone>) 2011-09-19 19:17:41 +00:00
Sloth
ab038841b3 - Fixed Gibbering Hyenas. 2011-09-19 18:58:35 +00:00
Sloth
f0e932adea - Fixed Orcish Veteran. 2011-09-19 18:52:26 +00:00
Doublestrike
f03ec1eeae Minor fix 2011-09-19 13:37:23 +00:00
ArsenalNut
c0f62d4f62 added Mandatory to Castigate 2011-09-19 12:44:55 +00:00
Hellfish
1359fb1278 *Converted Barren Glory to script.
*Reverted properties file.
2011-09-19 11:05:52 +00:00
Sloth
ec763829dc - Added Invigorate. 2011-09-19 11:03:39 +00:00
Chris
3161b70597 - Added the recent commit logs to changes.txt. 2011-09-19 10:56:52 +00:00
Doublestrike
3ef325356c Fixed loading bug for old quest.dat files. 2011-09-19 10:54:33 +00:00
Chris
5d5da12c10 - Ran oracle script. 2011-09-19 10:53:33 +00:00
Chris
8821f93dea - Ran set info script. 2011-09-19 10:52:25 +00:00
Hellfish
58f4b5e7a8 *Changed the counters-property to "counters_<Comparator><Value>_<CounterType>" Where
<Comparator> = LT or LE or EQ or NE or GE or GT
     <Value> = Integer or SVarname
     <CounterType> = Any countertype
     Separating it like this removes the restrictions that only X or Y could be used for SVarNames or single digits for integers.
     Unfortunately it also makes for a massive commit.
*Changed all cards that use the counters-property to the new format.
*Converted Helix Pinnacle to script.
2011-09-19 10:43:23 +00:00
Maxmtg
6bcd32193b removed PlayerIndex, players' stats are keyed by name, allowing multiple uniquely-named players 2011-09-19 09:10:05 +00:00
Hellfish
8c6baf3df9 *Converted Felidar Sovereign and Test of Endurance to script. 2011-09-19 09:02:25 +00:00
Hellfish
bdbdba2dbd *Converted Near-Death Experience to script. 2011-09-19 08:44:21 +00:00
Hellfish
c6f2407841 *Converted Mortal Combat to script. 2011-09-19 08:25:31 +00:00
Maxmtg
2c7759c470 Timetwister was querying Stack from player... had to add, otherwise it would crash 2011-09-19 08:00:17 +00:00
Maxmtg
211f5db12c removed call to global context for local property 2011-09-19 07:59:37 +00:00
Maxmtg
4063692309 untied InputControl from AllZone (mostly, except for display) 2011-09-19 07:59:03 +00:00
Maxmtg
43cc5e45be getManaPool removed from AllZone (manapool already was a player's property) - just removed global refs 2011-09-19 05:14:08 +00:00
Maxmtg
eaad67694e matchState is no longer public and deprecated for that
renamed function finding card's current zone getZone(card) to getZoneOf(card)
2011-09-19 05:03:56 +00:00
Maxmtg
18a7b1b433 ALL_ZONES added to Player, some functions in AllZone now use GameState 2011-09-19 04:52:39 +00:00
Maxmtg
894cd44d0c unused imports removed en-masse. 2011-09-19 02:41:44 +00:00
Maxmtg
8db13b6cd5 Some bughunting: replaced expressions Zone.equals(String_literal) for those equals would return false always, and zone names should not be magic-strings. 2011-09-19 02:39:06 +00:00
ArsenalNut
e6094843f4 Added support for EnchantedPlayer to triggers and defined. Added EnchantedPlayerCtrl as a property test for cards 2011-09-19 02:20:34 +00:00
ArsenalNut
827cbe70ec added STUDY to counter enumerated list for Grimoire of the Dead 2011-09-19 02:16:29 +00:00
ArsenalNut
f0532e8f24 Added check for null string to fix crash (Issue# 312) 2011-09-19 02:12:45 +00:00
Sloth
2ce4e24b6a - Added the cost "OppGainLife".
- Added Reverent Silence.
2011-09-18 20:25:43 +00:00
Hellfish
4ad21d31a6 *Converted Sylvan Library to using a Trigger object rather than a hardcoded function (Last of the old drawCardEffect cards in GameActionUtil! Woo!)
*Converted Standstill to script.
*Moved (OPTIONAL)-marking of stack items to after their number.
2011-09-18 18:34:23 +00:00
Maxmtg
4322f5e2ca PlayerZones Moved into Player class
ZoneNames are listed in enum
Removed lots of calls to AllZoneUtil
2011-09-18 18:10:51 +00:00
Sloth
529944606a - Fixed AI paying life costs twice. 2011-09-18 15:02:29 +00:00
Sloth
663be65c77 - Made the Ned Flanders 1 deck less powerful. 2011-09-18 14:28:39 +00:00
Sloth
ea7256cf67 - Little code simplifications in TriggerHandler class. 2011-09-18 13:01:19 +00:00
Sloth
8ef92577ca - Fixed Animate Artifact. 2011-09-18 12:23:45 +00:00
Sloth
9e4dbf61a0 - Little fix for last commit. 2011-09-18 12:02:00 +00:00
Sloth
20d132e12d - Added Humility. 2011-09-18 12:00:27 +00:00
Doublestrike
d1bf8a4b14 In quest mode, "Quests" universally renamed to "Challenges".
Quest mode now features events, such as duels and challenges.
2011-09-18 11:28:27 +00:00
Sloth
1041925211 - Fixed Opalescence. 2011-09-18 11:16:12 +00:00
Sloth
afaeba6be7 - Converted Titania's Song to continuous static ability.
- Commented out the stAnimate keyword.
2011-09-18 11:10:11 +00:00
Chris
cf17979a97 - Added the recent commit logs to changes.txt. 2011-09-18 10:59:48 +00:00
Chris
3a2e7c88f0 - Ran oracle script. 2011-09-18 10:58:29 +00:00
Chris
037d118e55 - Ran set info script. 2011-09-18 10:57:24 +00:00
Sloth
36b4c240c9 - Fixed March of the Machines. 2011-09-18 10:52:38 +00:00
Sloth
f76b889ace - Converted Aquitect's Will and Liege of the Tangle to continuous static ability. 2011-09-18 10:39:15 +00:00
Sloth
34751ee65c - Converted the Zendikons to continuous static ability. 2011-09-18 10:30:37 +00:00
Sloth
6b67c3c4f1 - Converted Conversion and Glaciers to continuous static ability. 2011-09-18 10:21:11 +00:00
Doublestrike
967aae211e Booster pack quest reward bug fixed. 2011-09-18 09:44:45 +00:00
Hellfish
5bcff0d420 *Additional info saved in LKI copies (damage recieved). Fixes Rot Wolf, Soul Collector, Axelrod Gunnarson. 2011-09-18 09:34:51 +00:00
Doublestrike
a40b03e233 Null quest bug fixed.
Quest count vs. wins bug fixed.
2011-09-18 09:31:04 +00:00
Sloth
d5e89a9006 - Added Curse to the list of enchantment types. 2011-09-18 09:18:31 +00:00
Sloth
9204e5fa53 - Fixed Ore Gorger. 2011-09-18 06:42:28 +00:00
Sol
f71567c0f8 Refactoring Enchanting and GameEntities
Added support for Enchanting Players in AF_Attach
Added Psychic Possession
2011-09-17 20:49:55 +00:00
Sloth
ea35ddd564 - Added Caldera Kavu, Kavu Chameleon and Rainbow Crow. 2011-09-17 20:06:50 +00:00
Sloth
12ac0366c8 - Added Restrain and Rewards of Diversity. 2011-09-17 19:40:40 +00:00
Sloth
fba5803f2a - Converted the upkeep ability of Sleeper Agent to script. 2011-09-17 17:15:43 +00:00
Sloth
d6ae2dd29e - Converted the upkeep ability of Mana Vortex to script. 2011-09-17 16:27:53 +00:00
Maxmtg
c11ffe7b50 the way it should have been done 2011-09-17 16:10:09 +00:00
Maxmtg
0835164e7b removed a useless "owner" parameter from getCard method of all factories 2011-09-17 15:32:02 +00:00
Maxmtg
436af6d3e3 should have excluded non-quest files 2011-09-17 15:08:47 +00:00
Sloth
89e24134a6 - Replaced the deck list of Quest 13. 2011-09-17 14:07:00 +00:00
Sloth
aaa0fc35ed - Little updates for quest deck changes. 2011-09-17 14:04:57 +00:00
Doublestrike
5bd4b13a56 Quest event dck files (didn't take the first time) 2011-09-17 13:39:32 +00:00
Doublestrike
9fcb5252ec Minor fix (mythics) 2011-09-17 13:21:59 +00:00
Chris
b8e939b056 - Added the recent commit logs to changes.txt. 2011-09-17 10:43:07 +00:00
Chris
35576b3431 - Ran set info script. 2011-09-17 10:40:59 +00:00
Maxmtg
ac5fcdef21 removed unused code as pointed by warnings 2011-09-17 09:50:32 +00:00
Doublestrike
6545bbf276 Finally, all quest and duel decks fully encapsulated with acceptable format.
Helper files completely removed (easy.txt, quests.txt, etc.) and hard-coded quest properties are a thing of the past.

Model and view fully separated for main panel in quest GUI.

Critical file: QuestEventManager can handle instantiation of all decks, once (ideally).
2011-09-17 09:21:43 +00:00
Hellfish
3e26b4b262 *Converted Reveille Squad to Trigger_AttackersDeclared. 2011-09-17 08:41:35 +00:00
Hellfish
f4264968b1 *Converted Orim's Prayer to Trigger_AttackersDeclared.
*Added the missed trigger class.
2011-09-17 08:38:59 +00:00
Sloth
c3ea713e02 - Added Unchecked Growth.
- Added an easy version of the Totoro deck.
2011-09-17 08:24:15 +00:00
Hellfish
5824a78ee5 *Added AttackersDeclared trigger.
*Converted Lighmine Field.
2011-09-17 07:59:40 +00:00
Sol
09e2618db3 Fixing Scarecrone ability cost 2011-09-16 22:35:21 +00:00
Sloth
2c390ca02c - Fixed Mana cost of Volition Reins (untap ability not fixed yet). 2011-09-16 20:34:55 +00:00
Sloth
fdc1bb359b - Added Corrupted Roots. 2011-09-16 14:16:44 +00:00
Sloth
858aa751e4 - Added Wretched Banquet. 2011-09-16 14:12:33 +00:00
Sloth
39878c3f70 - Added Melira, Sylvok Outcast. 2011-09-16 13:09:39 +00:00
Sloth
e72963d00e - Added Oblivion Stone. 2011-09-16 12:44:41 +00:00
Sloth
591c036eab - Added Mine Layer. 2011-09-16 12:15:34 +00:00
Sloth
d645da1b30 - Fixed Grave Peril. 2011-09-16 11:22:44 +00:00
Chris
04f284ec97 - Added the recent commit logs to changes.txt. 2011-09-16 10:31:10 +00:00
Sloth
1b8dcd5f64 - Added Midnight Ritual. 2011-09-16 06:19:04 +00:00
Sloth
31ed49a36b - Added Honor the Fallen and Necromancer's Covenant. 2011-09-16 06:05:41 +00:00
Sloth
ccff4ad20e - You can no longer use cards with "CARDNAME can't have counters placed on it." to pay PutCounter costs. 2011-09-15 19:59:02 +00:00
Sloth
0a414c62f5 - Fixed a couple of typos that prevented the AI from using AF Draw, PutCounter, Regenerate and RegenerateAll abilities. 2011-09-15 19:28:09 +00:00
Maxmtg
826007378d read price for boosters 2011-09-15 16:00:26 +00:00
Maxmtg
2985baeb62 booster price - data 2011-09-15 15:59:38 +00:00
Sloth
2cc3d350f4 - Added Smoldering Tar and Sunscape Apprentice. 2011-09-15 15:53:02 +00:00
Maxmtg
aced8bb924 Deck sections can be arranged in any order 2011-09-15 15:48:53 +00:00
Sloth
cb090d7665 - Added Tangle. 2011-09-15 15:44:19 +00:00
Sloth
8ef5daefdc - Added Teferi's Care. 2011-09-15 15:40:45 +00:00
Sloth
43cffee538 - Added Jhessian Balmgiver. 2011-09-15 15:33:08 +00:00
Sloth
8dfdaf0cc4 - Converted the rest of the cards with continuous static abilities to use AddHiddenKeyword. 2011-09-15 15:21:32 +00:00
Maxmtg
88bea98801 added protection against selection of sets not yielding boosters 2011-09-15 11:43:15 +00:00
Chris
22d8d7ea3e - Added the recent commit logs to changes.txt. 2011-09-15 10:52:56 +00:00
Hellfish
36f9a36f45 *Only register a mouse listener on the stack objects that are from optional trigger objects.
*Mark stack items from optional trigger objects.
2011-09-15 10:17:34 +00:00
Maxmtg
aa2d173506 added predicate to cardrules to filter cards 2011-09-15 10:06:43 +00:00
Hellfish
4b367358df *Fixed Nirkana Cutthroat 2011-09-15 06:52:49 +00:00
Maxmtg
916913a962 It was giving too many mythics at quest game start 2011-09-15 01:57:39 +00:00
Maxmtg
8c010130fc booster distribution: 40% t2, 35% ext (not t2), 25% legacy 2011-09-15 01:35:32 +00:00
Maxmtg
887a668478 fixed: several boosters yeilded the same Cards
cardDetailPanel not shown if non-card is under cursor
boosters show their pictures (may keep them in booster/CODE.png)
fixed too mythics chances (was 1/4)
BoosterPacks (inventory) add basic land if there is a slot for it
2011-09-15 01:16:34 +00:00
slapshot5
e31e445a0d several Checkstyle fixes in Input_Mulligan 2011-09-15 00:56:17 +00:00
Maxmtg
42ebac91ff texts; the bottom table shows the real price that will be paid for cards being sold 2011-09-14 23:07:06 +00:00
Maxmtg
c353e9568f Added some random BoosterPacks to shop 2011-09-14 22:44:09 +00:00
Maxmtg
e8e8856533 boosterdata was condensed to blockdata/boosters.txt 2011-09-14 22:15:24 +00:00
Maxmtg
8c7f78ec19 fixed type for boosterpack, base price set to $3.95, fixed text, removed unused imports 2011-09-14 22:14:16 +00:00
Maxmtg
63de7ff3c1 data for booster generation incorporated into CardSet 2011-09-14 21:54:19 +00:00
Maxmtg
fccb3ee63a all data on boosters was aggregated into a single file 2011-09-14 21:52:43 +00:00
Hellfish
965e275b1b *Added a context menu to the stack items of optional triggers that lets you specify wether to always accept them,always decline them or always ask(default). Just right click! (The choice you make resets at the start of each game) 2011-09-14 20:24:56 +00:00
Maxmtg
9a7348a437 Removed/renamed excessive booster classes
BoosterPacks in cardshop are functional. Need to discuss and balance their appearance
CardListViewer is caching Card objects to create them a single time. Set of cards shown now exactly matches CardPrinted.
2011-09-14 19:08:43 +00:00
Sloth
972162571b - Added Avenging Druid. 2011-09-14 18:45:00 +00:00
Maxmtg
9988efc847 removed player's picks map from boosterDraft interface (interface should not hold static data)
removed the getCardsNumber function from BoosterGenerator (it doesn't know in advance how many cards caller will ask to generate)
moved upload picks from draft deckeditor to boosterDraft class
added an enum to describe limited game type
tests may start failing - they would need an initialized CardDb
2011-09-14 17:46:24 +00:00
Maxmtg
5b3c267162 removed ReadDraftBoosterPack class - it was used by tests only.
removed BoosterDraftAITest - it didn't succeed anyway (needs to have CardDb initialized to succeed)
2011-09-14 16:00:10 +00:00
Sloth
004b0ce664 - Added a couple of counters to the counters class. 2011-09-14 15:54:03 +00:00
Maxmtg
d30f70a140 Working over booster generation - BoosterGenerator became more universal, moved to forge.card for a while, this is still WIP.
Limited game classes have been cleaned (code moved to utility functions in draft, CustomLimited class contains setting to start with custom cardpool or boosters)
Closure introduced to utilities
2011-09-14 15:52:31 +00:00
Sloth
26c284135f - Added the option "AllCounters" to AF RemoveCounterAll. 2011-09-14 15:37:47 +00:00
Sloth
f588a07c57 - Standardized the ordering of spells with kicker. 2011-09-14 15:16:47 +00:00
Sloth
dc2d92ea10 - Added Aurification. 2011-09-14 14:44:15 +00:00
Sloth
803fd9b3fa - Fixed the legend rule ("If only one of those permanents
is legendary, this rule doesn’t apply").
2011-09-14 13:20:49 +00:00
Maxmtg
911aa3dc2e fix the test 2011-09-14 12:36:43 +00:00
Maxmtg
ab0f24d97d cardSet's members are finalized
M10-Booster added to quest cardshop (experimental and non-functional yet)
BoosterGenerator uses now rare-slots together with explicit numbers for rares and mythics
ItemPool has to be parametrized by Class<T> (unfortunatelly java erases types of generics)
2011-09-14 09:40:34 +00:00
Maxmtg
49b21e09ad CardPool renamed to ItemPool, moved to forge.item, dependencies updated 2011-09-14 05:52:17 +00:00
Maxmtg
d3a51720a8 CardPool is now parametrized, preparing to hold boosters and packaged decks in quest inventory 2011-09-14 05:34:33 +00:00
Maxmtg
4062f6c279 for "Pithing Needle" changed card selection from input where user had to guess the name into a list of options (all unique cards!) 2011-09-14 04:13:22 +00:00
Maxmtg
4b30b95f4f isCardSupported has been implemented on CardDb basis 2011-09-14 03:45:23 +00:00
Hellfish
698ed8b019 *Cleaned up and condensed Torpor Orb check. 2011-09-13 21:44:32 +00:00
Hellfish
b053322a22 *Fixed Torpor Orb for ETB triggers that care about their host card. 2011-09-13 20:58:43 +00:00
Sloth
0075bd769c - Fixed Eyes of the Wisent. 2011-09-13 20:42:22 +00:00
Rob Cashwalker
8b7767f7da Changed references to OldGuiNewGame preference components to reference the actual ForgePreferences class hosted in Singletons. 2011-09-13 20:22:20 +00:00
Rob Cashwalker
ffe281b890 Changed references to OldGuiNewGame preference components to reference the actual ForgePreferences class hosted in Singletons. 2011-09-13 20:16:12 +00:00
Rob Cashwalker
2b53737838 Changed references to OldGuiNewGame preference components to reference the actual ForgePreferences class hosted in Singletons.
Added preferences to save the removal of artifacts and small creatures in deck generation.
2011-09-13 19:50:55 +00:00
Rob Cashwalker
5e5e3690d2 Changed references to OldGuiNewGame preference components to reference the actual ForgePreferences class hosted in Singletons. 2011-09-13 19:12:55 +00:00
Sloth
7af71aac7d - Added Serra Paladin. 2011-09-13 15:57:00 +00:00
Sloth
e4aeecd95a - Added AEther Tide. 2011-09-13 15:38:02 +00:00
Sloth
e122291689 - Added Scorched Earth. 2011-09-13 15:11:26 +00:00
Sloth
a65a1accf0 - Fixed description of Skullmulcher. 2011-09-13 15:07:18 +00:00
Maxmtg
ded38eb1c8 Fix to "download set LQ images" list of files 2011-09-13 14:23:09 +00:00
Sloth
bff341fcf9 - Converted cards granting HIDDEN keywords (pt 3). 2011-09-13 14:05:52 +00:00
Sloth
907b3f80dd - Converted cards granting HIDDEN keywords (pt 2). 2011-09-13 14:01:33 +00:00
Sloth
8124d6493e - Converted cards granting HIDDEN keywords. 2011-09-13 12:57:05 +00:00
Sloth
454747b6c8 - HIDDEN keywords will now be treated differently by continuous static abilities. 2011-09-13 12:39:24 +00:00
Chris
5cff257e41 - Added LQ pic URLs to Chancellor of the Dross, Chancellor of the Forge and Chancellor of the Tangle. 2011-09-13 12:34:41 +00:00
Sol
2b78c457ff - Fix Indestructible Aura 2011-09-13 11:59:13 +00:00
Chris
138f29ab6b - Added the recent commit logs to changes.txt. 2011-09-13 10:38:39 +00:00
Sloth
bfde6bfe4a - Milling triggered abilities will now use the right AI function. 2011-09-13 10:27:32 +00:00
Hellfish
f42c4edc05 *Fixed Haunting Apparition. 2011-09-13 07:42:27 +00:00
slapshot5
9645e948fb Checkstyle fixes in SA_Condition and SA_Requirements 2011-09-13 06:27:06 +00:00
Sol
3a45c6ad23 Fixing CostChange issue where required mana is reduced to 0. 2011-09-13 03:13:06 +00:00
Maxmtg
de59f0d4ce I should be more careful copypaster 2011-09-13 02:38:47 +00:00
ArsenalNut
41c1ea9fb6 add Morbid script parameter to CardFactoryUtil.xCount() 2011-09-13 02:08:53 +00:00
Sloth
ab668eba04 - Fixed performTest in Trigger_Clashed. 2011-09-12 19:39:22 +00:00
Sloth
f8d03d63c5 - Fixed performTest in Trigger_Cycled. 2011-09-12 19:31:37 +00:00
Sloth
0ca071d0d5 - Fixed performTest in Trigger_LandPlayed. 2011-09-12 19:28:57 +00:00
Sloth
5780df4d7a - Fixed change zone triggers (once again). 2011-09-12 19:02:36 +00:00
Maxmtg
575d9db1a4 Door to nothingness (as well as any other spell effect causing a GL) should be displayed correctly in quest battle debriefing 2011-09-12 18:12:19 +00:00
jendave
8efc1f9f35 set cardTemplateScript as executable 2011-09-12 15:45:45 +00:00
jendave
f1b1c44bdd set oracleScript as executable 2011-09-12 15:42:39 +00:00
Maxmtg
115afda511 Checkstyle-changes for mtg-data.txt parser 2011-09-12 15:38:05 +00:00
Maxmtg
69a95707c6 (minor) Changed from ArrayList to List in a chain of booster generation 2011-09-12 15:31:21 +00:00
Maxmtg
145141f224 added snow to manashards
allCards returns an Iterable (a silly protection against external modification)
When player chooses t2 or modern he won't get cards valid for the format but belonging to older sets.
2011-09-12 15:30:14 +00:00
Chris
c9d2570056 - Added the recent commit logs to changes.txt. 2011-09-12 10:37:48 +00:00
slapshot5
04a5605824 fix up a couple Java warnings 2011-09-12 04:01:50 +00:00
slapshot5
937568479b Checkstyle fixes in AF_Clash 2011-09-12 02:23:53 +00:00
slapshot5
ccded0a982 remove unneeded code in Trigger_Taps.getCopy (I had only added it to this trigger. The rest of the Trigger classes do not need this change.) 2011-09-12 00:43:21 +00:00
Maxmtg
9224bf2758 Fix for multiple winlose dialogs in quest mode 2011-09-11 23:31:26 +00:00
Hellfish
70f19ea0c7 *Reverted the Leylines to their previous handling as I thought ChangeZone could handle their "opening hand abilities". 2011-09-11 19:16:12 +00:00
Sloth
b6b4e7308c - Fixed Arm with AEther to not affect creatures that enter the battlefield after it was cast. 2011-09-11 19:08:24 +00:00
Hellfish
6038c17ccf *Reverted Checkstyle settings. I always seem to muck up what files should/shouldn't be committed :S 2011-09-11 18:55:41 +00:00
Hellfish
735e6944a2 *Revert main.properties 2011-09-11 18:53:53 +00:00
Sloth
296615d8b7 - Added Furystoke Giant.
- Ran scripts.
2011-09-11 18:50:25 +00:00
Hellfish
f7f52004ca *Forgot to add script files 2011-09-11 17:47:41 +00:00
Hellfish
b7bf5e1967 *Added MayEffectFromOpeningHand keyword. This replaces the hardcoding for Leyline-like effects.
*Converted the Leylines to keyword.
*Added
	Chancellor of the Dross
	Chancellor of the Forge
	Chancellor of the Tangle
	
Unfortunately Chancellors of the Annex and Spires have their own problems.
2011-09-11 17:44:07 +00:00
Sloth
08a4813af4 - Added Mystic Decree. 2011-09-11 16:55:08 +00:00
Sloth
48dac75fe7 - Added Gravity Sphere.
- Run scripts.
2011-09-11 16:45:32 +00:00
Sloth
79c1bc9007 - Made Resuscitate functional. 2011-09-11 16:36:09 +00:00
Hellfish
23e9f97bc3 *Added Arm with AEther 2011-09-11 15:05:30 +00:00
Maxmtg
b5cdcb3f9e fix for decks with cards in development (that have no valid setinfo) 2011-09-11 14:53:18 +00:00
Sloth
ee204a4aa9 - Added Elder Pine of Jukai and Merfolk Wayfinder. 2011-09-11 14:41:34 +00:00
Sloth
6f32106eed - Added Okina Nightwatch and Secretkeeper. 2011-09-11 14:31:09 +00:00
Maxmtg
b7fcbc9e21 Draft: pick with either LMB dblclick or clicking RMB once on selected row 2011-09-11 14:02:53 +00:00
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
e5ed021678 - Added SVar:RemAIDeck:True to Peacekeeper. 2011-09-11 12:05:21 +00:00
Sloth
4fb0c98415 - Added Yixlid Jailer. 2011-09-11 12:03:43 +00:00
Sloth
8ddf07823a - Converted Evil Presence and Tainted Well to script. 2011-09-11 11:56:44 +00:00
Sloth
8440739226 - Removed stAnimate from three more cards. 2011-09-11 11:49:37 +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
35c1694712 - Fixed the other level up creatures. 2011-09-11 10:59:37 +00:00
Sloth
aa1eb8c0ce - Fixed Caravan Escort. 2011-09-11 10:51:05 +00:00
Sloth
f6af129a6d - Fixed Fallen Ideal. 2011-09-11 10:44:12 +00:00
Sloth
3f87e823c2 - Continuous static abilities with "RemoveAllAbilities" will now also remove keywords. 2011-09-11 10:38:47 +00:00
Chris
006001b998 - Added the recent commit logs to changes.txt. 2011-09-11 10:34:16 +00:00
Chris
226981b042 - Ran oracle script. 2011-09-11 10:33:05 +00:00
Chris
18c648bfad - Ran set info script. 2011-09-11 10:32:04 +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
d12bf3dc96 Add Dream Thrush, Grixis Illusionist, Jinx, Moonbow Illusionist, Mystic Compass, Reef Shaman, Sea Snidd, Shimmering Mirage, Tideshaper Mystic, and Unstable Frontier. 2011-09-10 20:49:34 +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
7e5c9f679e - Added picCount for Farrel's Zealot. 2011-09-10 11:11:55 +00:00
Sloth
1d99401496 - Completed SVars of Phantasmal Image. 2011-09-10 11:06:56 +00:00
Sloth
2138b6a35c - Added Quiet Speculation. 2011-09-10 11:03:38 +00:00
Chris
09a0315c98 - Added the recent commit logs to changes.txt. 2011-09-10 10:47:44 +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
jendave
4732c4587e ran setinfo script 2011-09-10 08:51:41 +00:00
Sloth
3fba722443 - Fixed the Graft keyword. 2011-09-10 08:43:54 +00:00
Sloth
87a372ec87 - Fixed Perish the Thought. 2011-09-10 06:13:43 +00:00
Sloth
4e97f1ec06 - Fixed Walker of Secret Ways. 2011-09-10 06:09:42 +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
Chris
62be71a9c6 - Cleared out the changes.txt file, is ready for new material. 2011-09-09 20:59:27 +00:00
Sloth
25dea41c07 - Fixed No Rest for the Wicked. 2011-09-09 20:57: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
9a8396e8ba - Added RemoveAllAbilities to some cards. 2011-09-09 16:21:20 +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
Chris
dc66b2556c [maven-release-plugin] prepare for next development iteration 2011-09-09 11:07:49 +00:00
Chris
7a4d942fb6 [maven-release-plugin] prepare release forge-1.1.3 2011-09-09 11:07:40 +00:00
Chris
501c9dc280 - Added the recent commit logs to changes.txt. Preparing for the next beta. 2011-09-09 10:48:59 +00:00
Sloth
f09f71129c - Fixed a bug in cleanUpTemporaryTriggers. 2011-09-09 09:22:32 +00:00
jendave
0f37fb126d remove -avoid inline conditional- 2011-09-09 06:58:06 +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
slapshot5
73c42b2104 text fix for Pawn of Ulamog 2011-09-08 23:06:58 +00:00
Sloth
fdc2702ec9 - Added Farrel's Zealot. 2011-09-08 20:14:42 +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
Sloth
b2b62369c0 - Added Kukemssa Pirates and Wall of Corpses. 2011-09-08 16:29:27 +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
4af523872c - Added Imperial Mask and Leyline of Sanctity. 2011-09-08 12:59:27 +00:00
Sloth
6e67754092 - Added Spirit of the Hearth and True Believer. 2011-09-08 12:16:55 +00:00
Sloth
447142ad59 - Added Devastating Dreams and Induce Despair. 2011-09-08 12:10:29 +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
Chris
ab8ec0d4d2 - Added the recent commit logs to changes.txt. 2011-09-08 10:24:52 +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
Maxmtg
79bc067a90 a link in properties for small icons 2011-09-07 23:02:27 +00:00
Sloth
d3245ee059 - Updated some quest decks. 2011-09-07 18:33:50 +00:00
Sloth
4a47f12a61 - Updated the costs descriptions of some cards. 2011-09-07 15:03:06 +00:00
Sloth
91118045c2 - Updated the costs descriptions of some cards. 2011-09-07 14:49:32 +00:00
Sloth
63515007e1 - Little fix in the prompt of CostDiscard.
- Fixed Buyback cost of Forbid.
2011-09-07 14:40:33 +00:00
Sloth
42f5cc23ee - Prevented possibleDamagePrevention from giving errors if a permanent with an AF Countermagic ability is around. 2011-09-07 14:32:51 +00:00
Sloth
ca4c882924 - Fixed Ertai, the Corrupted.
- Updated the costs descriptions of some cards.
2011-09-07 14:24:27 +00:00
Sloth
2d40122299 - Continuous static abilities can now add keywords to players.
- Added Ivory Mask.
2011-09-07 12:52:07 +00:00
ArsenalNut
5e7d9a7492 Fixed sacrifice cost prompt for Blazing Torch 2011-09-07 12:31:32 +00:00
Chris
49cb42536c - Added the recent commit logs to changes.txt. 2011-09-07 11:02:51 +00:00
slapshot5
d785b7b5af heckstyle fixes in ManaPool.java 2011-09-07 05:01:11 +00:00
ArsenalNut
a14ef78fd5 corrected Blazing Torch damage ability 2011-09-07 03:39:48 +00:00
slapshot5
2f0f26de51 various checkstyle fixes in Card.java 2011-09-07 03:26:56 +00:00
Sol
2e99e50a5c Mana String comparison isn't in CostChange 2011-09-07 02:27:22 +00:00
Sloth
689a360e27 - Added the Joker 2 deck. 2011-09-06 10:22:42 +00:00
Chris
6d497d5470 - Added the recent commit logs to changes.txt. 2011-09-06 10:21:31 +00:00
Chris
719d5120b0 - Ran oracle script. 2011-09-06 10:20:21 +00:00
Sloth
d2a456cd0d - Converted the triggered ability of Necropotence to script (actually it wasn't even a triggered ability). Updated the wording on the activated ability. 2011-09-06 10:10:28 +00:00
Sloth
c7708509e5 - Restructured parts of AI discarding. All choosing is handled in ComputerUtil.AI_discardNumType. AIPlayer.discard will use this. 2011-09-06 08:42:44 +00:00
Hellfish
9b8fc046ad *Fixed "games won" count not resetting between nonquest matches. 2011-09-06 06:38:16 +00:00
slapshot5
e4e121ccfb several Checkstyle fixes in Card.java 2011-09-06 04:50:33 +00:00
ArsenalNut
ffa0f219ac added CostDesc so card text looks right on game screens 2011-09-06 04:45:01 +00:00
ArsenalNut
384c15dccf added Blazing Torch 2011-09-06 04:33:49 +00:00
slapshot5
de3148824f clean up some Java warnings 2011-09-06 02:18:37 +00:00
slapshot5
8404824656 several Checkstyle fixes in Card, GameAction and CardFactoryUtil 2011-09-06 01:58:44 +00:00
Maxmtg
374d79e231 manacost as icons in quest mode 2011-09-06 01:57:48 +00:00
ArsenalNut
e8c682bbd3 fixed GainControl AF not returning all controlled objects (Issue #227) 2011-09-06 01:35:14 +00:00
Maxmtg
cd954ebdd1 formats - will deal with them later 2011-09-06 01:32:02 +00:00
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
Chris
383525a4a1 - Modified the Hornet Queen script and it will now look for a token picture named "g_1_1_insect_deathtouch.jpg. 2011-09-05 16:57:17 +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
Chris
738de02b15 - Added the recent commit logs to changes.txt. 2011-09-05 11:28:46 +00:00
Chris
54676e22ec - Ran oracle script. 2011-09-05 11:27:36 +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
ArsenalNut
0842c5aa4f changed Boldwyr Intimidator to use CantBlock instead of CantBeBlockedBy to be strictly correct 2011-09-05 04:49:29 +00:00
ArsenalNut
23064cc3d5 Added Shields of Velis Vel. Fixed Amoeboid Changeling and Blades of Velis Vel to animate to add AllCreatureTypes. 2011-09-05 04:23:15 +00:00
ArsenalNut
dd7a40974f added Boldwyr Intimidator 2011-09-05 03:38:14 +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
Sloth
a23045d76c - Fixed Pulsemage Advocate. 2011-09-04 19:22:20 +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
150a4dc136 Added Innistrad into sets list so that people would be able to develop cards for it 2011-09-04 16:57:49 +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
Chris
f68025f340 - Added the recent commit logs to changes.txt. 2011-09-04 10:58:16 +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
91ded360f5 - Added Oracle text to some cards.
- Updated two DiscardMe SVars.
2011-09-04 10:23: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
ArsenalNut
dcf51e08d3 added Fickle Efreet 2011-09-04 04:48:19 +00:00
Maxmtg
a46486c0ad reverting sources to revision 10193
changes from r10200 were kept (not reverted)
2011-09-04 03:13:07 +00:00
Chris
658d93dfd1 - Fixed the typos for the cards: Nin, the Pain Artist; Vedalken Dismisser; Latulla, Keldon Overseer; Pearlspear Courier; Sorceress Queen; Khabal Ghoul; Skulking Ghost and Diligent Farmhand. 2011-09-04 02:48:40 +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
ArsenalNut
1bdcc46719 add a python script that parses the mtg-data.txt and produces card templates for card names entered at a prompt. It doesn't scrape magiccards.info for image data so that SetInfo lines are bogus. 2011-09-03 23:50:47 +00:00
ArsenalNut
4f1cca1294 added Deadshot and Falling Timber 2011-09-03 23:43:37 +00:00
ArsenalNut
f2f3f3bc63 Added Cone of Flame, Dwarven Landslide, Rushing River, Stand Together 2011-09-03 23:16:06 +00:00
ArsenalNut
2cb4b1223b added "TargetUnique$ True" to Toils of Night and Day 2011-09-03 21:37:42 +00:00
ArsenalNut
df4f9a9512 fixed subability cost 2011-09-03 21:04:34 +00:00
Sol
3c0da0f4a7 Updating Oracle text for recently added cards 2011-09-03 15:36:34 +00:00
Sloth
4cabc4214c - Added Schismotivate. 2011-09-03 14:17:43 +00:00
Sloth
29fc707f27 - Added Steal Strength. 2011-09-03 14:13:48 +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
Sloth
74fb60ec4d - Fixed description of Coralhelm Commander. 2011-09-03 11:29:58 +00:00
Chris
1f5074732d - Added the recent commit logs to changes.txt. 2011-09-03 11:29:19 +00:00
Doublestrike
847da2c114 Frantic changes to Deck and DeckManager to fix errors in r10194 2011-09-03 11:20:13 +00:00
Maxmtg
a5f708559c fixed a couple of compile errors from 10194, yet could not handle them all 2011-09-03 10:57:13 +00:00
slapshot5
1111ea2566 fix SetInfo for Bloodfire Dwarf 2011-09-03 10:27:24 +00:00
Doublestrike
f83f87df5b NOTE: A commit with errors was apparently pushed previous to mine. As a result, my work has been broken also, and will unfortunately take some time to fix. The functionality described below will eventually work.
=====
Big commit: Restructured Quest quests to use dck files.  This required changes in many places.  Among other things:
- Model and view separated for quest main panel items
- Quests and battles all generated from dck files
- dck files all updated to contain metadata, main, sideboard
- Quest dck files updated to contain [ai_extra_cards] and [human_extra_cards]
2011-09-03 10:08:03 +00:00
slapshot5
1786c3e655 Checkstyle fixes in some Input_* files 2011-09-03 09:37:39 +00:00
slapshot5
b8b4f58805 many Checkstyle fixes 2011-09-03 09:22:29 +00:00
slapshot5
dd31537034 Checkstyle fixes in GuiDisplayUtil.java 2011-09-03 08:24:53 +00:00
slapshot5
9db7d863f1 taking out some debug code from OldGuiNewGame.java 2011-09-03 07:59:07 +00:00
slapshot5
9aa620c68e fix a bunch of Java warnings 2011-09-03 07:56:52 +00:00
slapshot5
aac44770c3 change some imports and types in GuiBoosterDraftTest.java and GuiQuestOptionsTest.java (I don't know if the fixes are correct, but it fixes a broken build...) 2011-09-03 07:52:34 +00:00
ArsenalNut
494f4868b4 Added Magma Burst, Added SetInfo to Consume Strength and Jilt 2011-09-03 05:33:17 +00:00
ArsenalNut
0e843531a5 added Consume Strength, Jilt, and Leeching Bite 2011-09-03 04:37:22 +00:00
ArsenalNut
14191bf45f moved Incremental Growth to correct folder
added Incremental Blight
2011-09-03 02:01:03 +00:00
ArsenalNut
3fcabe0574 added Incremental Growth 2011-09-02 22:56:48 +00:00
Maxmtg
adb3ae979b Moved some methods from QuestData to helper classes, the whole class rearranged
Moved shop-related things to QuestUtilCards.java (eg. number of shop boosters calculation)
CardShop now shows how many decks use the given card
Quest deck editor: press space to add card to your deck - that simple
CardPool no longer allows incorrect remove numbers
removed lots of senseless javadocs
2011-09-02 22:51:47 +00:00
Hellfish
90d5514aaa *Fixed StackOverflow when donating stuff. 2011-09-02 18:50:20 +00:00
Maxmtg
b548b3542d Deckeditors use a unified component for TableWithCards, sorting issues fixed 2011-09-02 17:57:24 +00:00
Chris
6e95de93ad - Moved the new JuzamjediCube.dck file into the /res/decks/ folder. 2011-09-02 16:45:01 +00:00
Chris
df62cbb1cf - Moved the file treasure_hunt.txt into the t folder and out of the cardsfolder. 2011-09-02 16:41:51 +00:00
Chris
b0d692132d - Added the LQ pic URL to Skullbriar, the Walking Grave. 2011-09-02 16:39:59 +00:00
Sloth
f47ffe043e - Fixed continuous static effects that only change colors not being applied. 2011-09-02 16:38:34 +00:00
Sol
e3e534df52 - Added support for TargetUnique for cards like Arc Trail, where subabilities can't target something any parent ability has targeted. 2011-09-02 15:40:39 +00:00
Sloth
f450c5687e - Added SVar:DiscardMe to some cards. 2011-09-02 13:40:12 +00:00
Chris
9da6e01662 - Added the recent commit logs to changes.txt. 2011-09-02 11:18:53 +00:00
Maxmtg
97802645df removed rarity from Card, use CardPrinted instead
Predicate: stylechanges
acquiring legacy booster longer throws
2011-09-02 10:53:06 +00:00
Maxmtg
f255d38e24 removed save of unpacked quest data 2011-09-02 09:41:10 +00:00
Maxmtg
67cf33d550 added support for older format of quest saves (a method for deserialization of CardPool)
since color names are lowercases, I used constants from forge for their names.
2011-09-02 09:34:31 +00:00
Sloth
030998fe18 - Fixed EtB triggers. 2011-09-02 09:28:29 +00:00
Maxmtg
3d4032c5fa sorting order for colors is: W U B R G multi colorless, as they are numbered in a set 2011-09-02 08:51:20 +00:00
Maxmtg
b202a35967 cardpool won't add 0 or negative number or any card 2011-09-02 08:38:44 +00:00
Sloth
daacb0427c - Fixed a possible NPE in getPumpCreatures (AF Pump). 2011-09-02 08:14:37 +00:00
Sloth
981cd06414 - Little fix for Blowfly Infestation. 2011-09-02 06:44:25 +00:00
Sloth
ef08aa76b1 - Added Blowfly Infestation by Iran. 2011-09-02 06:42:48 +00:00
slapshot5
16878c9a6d revert a couple checkstyle fixes. 2011-09-02 06:23:17 +00:00
slapshot5
0eb9b4194b several Checkstyle fixes 2011-09-02 06:16:51 +00:00
slapshot5
d7453206de Checkstyle and Java warnings cleanup in ReadDraftBoosterPack.java 2011-09-02 06:00:20 +00:00
slapshot5
e24da28385 Checkstyle fixes in several files 2011-09-02 05:57:44 +00:00
ArsenalNut
24277f161c added Colfenor's Urn 2011-09-02 04:46:38 +00:00
ArsenalNut
4987b31e31 Modified handling of CheckSVar in Trigger.java to be consistent with the other abilities.
Moved handling of Remembered and Imprint list in calculateAmount outside of the ability if statement
2011-09-02 04:45:04 +00:00
ArsenalNut
1e62deb271 Fixed Amber Prison not initially tapping targeted permanent 2011-09-02 04:39:56 +00:00
slapshot5
38bcccccb2 delete Mystic Compass until AF_Animate can handle it removing abilities 2011-09-02 04:30:24 +00:00
slapshot5
dbd7b4eb64 clean up a bunch of Java warnings 2011-09-02 04:13:42 +00:00
slapshot5
83a338fc2e Checkstyle fixes in a few random files. 2011-09-02 03:32:55 +00:00
slapshot5
2a5e4754b0 Checkstyle fixes in GuiInput.java 2011-09-02 03:24:34 +00:00
slapshot5
656bc43c00 Checkstyle fixes in a couple GUI files 2011-09-02 03:15:18 +00:00
Maxmtg
16be5d01e5 fix manacost.toString typo
questData - XML serialization for CardPool
2011-09-01 23:57:02 +00:00
Maxmtg
d3233cfa1c rolling back ping to DraftAI (removed ocasionally @10146) 2011-09-01 22:16:24 +00:00
Maxmtg
41970e996c tableModel now remembers up to 3 sortings. (like by name, set and then color) and remembers them
boosterDraft window should not be maximized on start
totally removed progressbar from deckeditor
mana comparison: R/P is now a bit greater than R
2011-09-01 22:10:52 +00:00
Sloth
419c339a6d - Updated some SVars. 2011-09-01 20:45:21 +00:00
Sloth
8ec2b467a6 - Added 2011-09-01 19:30:31 +00:00
Maxmtg
01e2d81cc8 sorry, lost one method during merge - fixing now 2011-09-01 18:18:33 +00:00
Maxmtg
54c1b987d2 All deckeditors, decks, boosterdraft, quest switched to lightweight cardPrinted objects, have fun :)
Features dropped: glassPane on deckeditors, separate filter window in deckeditors.
2011-09-01 18:11:00 +00:00
jendave
787b5059b5 ignore .DS_STore for Git-SVN 2011-09-01 17:25:40 +00:00
jendave
ecaacb73f6 update deploy plugin 2011-09-01 17:19:39 +00:00
Sloth
d3460d9d88 - Added GameEntity class as parent of Card and Player class. 2011-09-01 15:15:12 +00:00
Sloth
d1a5e97692 - Added some more variables to LastKnownInformation. 2011-09-01 14:12:55 +00:00
Sloth
7a6475b6b1 - Added Treasure Hunt. 2011-09-01 13:42:21 +00:00
Sloth
7ed642bf20 - Expanded and changed digUntilStackDescription.
- Added Sacred Guide.
2011-09-01 12:27:22 +00:00
Sloth
4ea9d2b4c7 - Added Baneful Omen. 2011-09-01 12:00:46 +00:00
Doublestrike
6b8686bb04 Renamed "getOpponents()" to "generateBattles()" in QuestBattleManager and QuestBattle.
Note: AllZoneUtil already has a method called getOpponents.

Updated references.
2011-09-01 11:37:02 +00:00
Chris
717c6b554d - Added the recent commit logs to changes.txt. 2011-09-01 11:30:54 +00:00
Sloth
186e76286f - Fixed Balthor the Defiled. 2011-09-01 11:25:31 +00:00
Sloth
7a67d7aa31 - Converted Augury Adept to script. 2011-09-01 11:17:01 +00:00
Doublestrike
ca379162f0 Renamed "getAIDeckNewFormat()" to "getAIDeckFromFile()" in quest area.
Renamed "getAIDeck()" to "getAIDeckFromMap()" in quest area.

Updated references.
2011-09-01 11:07:55 +00:00
Doublestrike
61d83fbb93 Renamed "getAIDeckNewFormat()" to "getDeckFromFile()" and updated references in Quest area. 2011-09-01 11:05:15 +00:00
Sloth
57bdf06959 - Converted Dark Confidant and Tutelage to script. 2011-09-01 10:58:00 +00:00
Sloth
5222b5e45e - Switched order of abilities of Maze of Ith (for AI). 2011-09-01 10:16:50 +00:00
slapshot5
da309d93d9 Chesckstyle fixes in several files 2011-09-01 07:31:58 +00:00
slapshot5
4483d6e959 checkstyle fixes in CardFactoryUtil 2011-09-01 06:04:17 +00:00
slapshot5
aee7ad546b Checkstyle fixes in StaticEffect and StaticEffects 2011-09-01 05:56:36 +00:00
Hellfish
5445973a8a *Reverted one checkstyle bit to get things to compile. 2011-09-01 05:51:39 +00:00
Doublestrike
0c2b4d6d35 Brief commenting added 2011-09-01 04:52:39 +00:00
slapshot5
e51086c4f7 Checkstyle fixes in AF_EndGameCondition 2011-09-01 04:47:17 +00:00
slapshot5
7fa6834384 Checkstyle fixes in AbstractCardFactory and PreloadingCardFactory 2011-09-01 04:10:09 +00:00
Doublestrike
c6290cd674 ESC key can now close the splash frame. 2011-09-01 04:07:48 +00:00
slapshot5
28c64e19f9 Checkstyle fixes in AF_Protection 2011-09-01 04:00:52 +00:00
Doublestrike
cc8e3967a9 Housecleaning on QuestBattle.java.
Updated Deck.java to indicate error if meta property not found.
2011-09-01 03:22:59 +00:00
Doublestrike
fbd43f74a1 QuestBattle.java fully updated to use [metadata] for description, difficulty, etc.
Removed from file: Hard-coded meta, exhaustive deck listing

Quest decks update: all meta for battle decks is now contained in [metadata] section.
DisplayName field added to decouple file name from display.
All 272 quest battle decks now contain:
[metadata]
Name=
DisplayName=
Difficulty=
Description=
Icon=
Comment=
[main]
2011-09-01 02:25:29 +00:00
Sol
cf69748630 - Reduce number of wins needed for gaining Packs for number of Wins 2011-09-01 01:38:26 +00:00
slapshot5
753c903425 Checkstyle fixes in Combat.java 2011-09-01 00:49:03 +00:00
slapshot5
8a8d881d9c Checkstyle fixes in AF_Copy 2011-09-01 00:29:33 +00:00
Hellfish
875dec836d *Added Skullbriar, the Walking Grave. 2011-08-31 19:47:45 +00:00
Hellfish
09439a6ec1 *Fixed and expanded LKI code. 2011-08-31 17:50:18 +00:00
Sloth
b5ad63bf29 - Added one copy of Brass Herald to the Frankenstein 2 and 3 decks. 2011-08-31 15:41:29 +00:00
Doublestrike
2615360ab0 Minor fix 2011-08-31 12:50:17 +00:00
Chris
e23f4a3642 - Added the recent commit logs to changes.txt. 2011-08-31 11:12:48 +00:00
Sloth
ca3ce5f4fa - Moved AI_discardNumType to ComputerUtil. 2011-08-31 10:47:46 +00:00
Sloth
d5434813c0 - Added SVar:DiscardMe to four more cards. 2011-08-31 10:17:49 +00:00
Sloth
7d4800a91e - Added an AI cost preference for discard costs, the SVar is called "DiscardMe". Squee, Goblin Nabob is an example. 2011-08-31 10:03:43 +00:00
Maxmtg
93e106ad51 rarity fix: snow-covered lands were Lands in ICE and Common in CSP 2011-08-31 09:39:26 +00:00
slapshot5
d9eea33430 a few Checkstyle fixes 2011-08-31 07:54:18 +00:00
slapshot5
92eef5f963 a few Checkstyle fixes 2011-08-31 07:47:14 +00:00
slapshot5
388e903300 AllZoneUtil Checkstyle fixes. 2011-08-31 07:40:50 +00:00
slapshot5
cf623391fb several Checkstyle fixes 2011-08-31 07:29:52 +00:00
Hellfish
b7035fa3f1 *LKI is more accurate now. (Fixes the Proper Burial bug described by Accountancy in bug topic) 2011-08-31 06:20:48 +00:00
slapshot5
ffbbcb2502 add Mystic Compass (from Alliances) 2011-08-31 06:09:48 +00:00
slapshot5
5ba1902263 various Checkstyle fixes 2011-08-31 04:29:03 +00:00
slapshot5
acfc57d1e7 Checkstyle fixes in AF_GainControl 2011-08-31 02:21:26 +00:00
slapshot5
c4b1a1e522 Checkstyle fixes in CardFactory_Instants.java 2011-08-31 01:23:12 +00:00
Maxmtg
558e835f85 removed redundant imports
CardPrinted now supports getImageFinelame()
SetInfoUtil refactored, its dependencies updated
2011-08-30 23:30:14 +00:00
Maxmtg
138a85b5de fixed typo in getter name, added comparable getter for AI support 2011-08-30 23:12:15 +00:00
Maxmtg
8382c62a69 deckManager has lazy initialization now
(in my private yet builds where Deck uses PrintedCards the decks loading before cardFactory caused NPEs)
2011-08-30 22:58:21 +00:00
Maxmtg
16d513aa4c previous commit did break the build, this is a patch 2011-08-30 22:55:26 +00:00
Maxmtg
00513e2868 Parser for cardname.txt is ready, CardDb is initialized when PreloadFactory starts.
Warning: this commit may break the build. I'll fix it right now if so the co does.
2011-08-30 22:53:22 +00:00
Maxmtg
f6ce0e7b63 Solarion had missing P/T 2011-08-30 22:42:41 +00:00
Sloth
6401822914 - Added LQ picture url to Bitter Ordeal. 2011-08-30 18:57:32 +00:00
Sloth
82a77bcbbe - Little cleanup in card class.
- Added removeKeyword, isValid and hasProperty functions to the player class.
2011-08-30 16:11:21 +00:00
Doublestrike
3dd01f4b0d Updated splash frame close functionality to also cancel preloading and gui creation process if user has closed splash frame. 2011-08-30 15:50:10 +00:00
slapshot5
a9da41acb3 checkstyle cleanup in AF_Combat 2011-08-30 13:19:11 +00:00
Sloth
438c29a080 - Fixed Bitter Ordeal. 2011-08-30 12:35:33 +00:00
Sloth
00d6c3aa42 - Fixed Devouring Swarm. 2011-08-30 11:54:03 +00:00
Sloth
181d251b34 - Fixed Sovereigns of Lost Alara. 2011-08-30 10:45:22 +00:00
Chris
fabbbd80c4 - Added the recent commit logs to changes.txt. 2011-08-30 10:29:27 +00:00
Chris
c2aae43112 - Ran set info script. 2011-08-30 10:26:19 +00:00
Sloth
188df1d342 - Fixed Ferocity. 2011-08-30 10:04:16 +00:00
slapshot5
fbfc3355c3 Checkstyle fices in AF_Debuff 2011-08-30 08:06:36 +00:00
slapshot5
9d3beceeed Checkstyle fixes in AF_Cleanup 2011-08-30 07:53:59 +00:00
slapshot5
4f9d9a5e59 Checkstyle fixes in AF_Reveal 2011-08-30 07:50:18 +00:00
jendave
166a86fa9e checkstyle 2011-08-30 07:46:15 +00:00
jendave
73f8c055f2 checkstyle fixes 2011-08-30 07:46:03 +00:00
slapshot5
eda84174a7 some Checkstyle fixes in AF_AlterLife 2011-08-30 05:44:32 +00:00
slapshot5
025337c22d Checkstyle fixes in AbilityFactory_Choose 2011-08-30 05:30:36 +00:00
slapshot5
dd97288037 clean up a bunch of java warnings 2011-08-30 05:16:43 +00:00
slapshot5
2ac4e1f7a3 basic CheckStyle cleanup in AbilityFactory_Turns.java 2011-08-30 04:31:55 +00:00
ArsenalNut
80e17c4426 Add Frenetic Sliver 2011-08-30 04:24:02 +00:00
Doublestrike
928fe013e6 Added "close" button to splash frame 2011-08-30 02:31:15 +00:00
Sol
138f398f13 Raising max sell price to 1000 2011-08-30 02:21:02 +00:00
Doublestrike
8ef3b2d2dc Deleted SplashModelProgressMonitor.java and SplashViewProgressMonitor.java.
These files are now called SplashProgressModel and SplashProgressComponent.
2011-08-30 00:05:46 +00:00
ArsenalNut
4e952b5c80 Added RememberAll,RememberWinner,RememberLoser to Flip AF
Modified Crazed Firecat to add counter after all the flips
2011-08-29 23:57:28 +00:00
Sloth
f3e7deff8f - Checkstyle madness. 2011-08-29 20:22:54 +00:00
Sloth
c2907ea165 - Added Evolving Wilds and Terramorphic Expanse to randomly generated decks with three or more colors.
- Added Rupture Spire and Undiscovered Paradise to randomly generated decks with four or more colors.
2011-08-29 20:15:13 +00:00
Hellfish
57541ab2b6 *Picked off some low hanging CheckStyle fruit in TriggerHandler 2011-08-29 19:54:03 +00:00
Sloth
9314655fbc - Added Fetchlands to randomly generated decks.
- Updated some SVars.
2011-08-29 19:33:43 +00:00
Sloth
fdd16a28ea - Fixed the SplashFrame error. 2011-08-29 19:31:29 +00:00
jendave
766236ee54 move from Braids directory 2011-08-29 18:46:17 +00:00
jendave
eb45689f48 update commons-discovery 2011-08-29 18:45:33 +00:00
Braids
61d68e3782 Incremental check-in for forge.card.CardRulesReader and related classes. 2011-08-29 16:33:08 +00:00
Braids
119398c5a5 Reduced CheckStyle violations in src/main/java/forge/AllZone.java. 2011-08-29 16:31:21 +00:00
Braids
fd25e38c9e Organized imports in src/test/java/forge/model/FModelTest.java 2011-08-29 16:28:46 +00:00
Chris
3e6071e737 Added LQ pic URL to Bloodcrazed Goblin; Gleancrawler; Inferno Elemental; No Rest for the Wicked; Second Sunrise and Twilight Shepherd. 2011-08-29 13:11:13 +00:00
Doublestrike
5bfb20e916 - Splash view/model renamed, moved to forge.view.swing folder
- Small fix to decouple interface from implementation
- Add dispatch thread test
- Updated javadoc
2011-08-29 10:22:04 +00:00
Chris
455caa0280 - Added the recent commit logs to changes.txt. 2011-08-29 09:52:04 +00:00
Chris
e4d2c66704 - Ran set info script. 2011-08-29 09:50:56 +00:00
jendave
3eefc0899a add old deck generators back due to popular demand 2011-08-29 08:00:15 +00:00
Sloth
9ca9a91ae0 - Cleanup for last commit. 2011-08-29 07:44:10 +00:00
Sloth
e4fde9a4ea - Fixed targeting of some more cards using AF PreventDamage. 2011-08-29 07:22:30 +00:00
Sloth
b923cc5b05 - Fixed targeting of Noble Vestige and Shieldmate's Blessing.
- Added SVar:RemRandomDeck:True to Execute.
2011-08-29 07:02:29 +00:00
ArsenalNut
3332ec6673 Added Planar Chaos 2011-08-29 06:49:07 +00:00
slapshot5
c5d4a83516 CheckStyle cleanup in AbilityFactory.java 2011-08-29 05:56:16 +00:00
ArsenalNut
2aaecf993f Added Puppet's Verdict and Crazed Firecat 2011-08-29 05:17:47 +00:00
ArsenalNut
07395f1dc1 Added Goblin Bomb, Goblin Kites, Goblin Lyre, Molten Sentry, and Viashino Sandswimmer 2011-08-29 04:35:59 +00:00
Rob Cashwalker
d5db85d7f1 Issue 187 - You win - window covers the booster select window
- changed setAlwaysOnTop() to toFront()
Issue 188 - Window title text truncated in *Choose a format of cards for the pr...* window
- Shortened window title to fit
2011-08-29 04:04:34 +00:00
slapshot5
d7360b539e CheckStyle fixes in AbilityFactory_Animate.java 2011-08-29 03:35:49 +00:00
slapshot5
5a62cce15e Checkstyle fixes in CardFactory_Auras.java 2011-08-29 03:13:29 +00:00
slapshot5
222a319188 add Vigean Graftmage (from Dissension) 2011-08-29 02:56:04 +00:00
slapshot5
e317e60a05 add Sporeback Troll (from Dissension) 2011-08-29 02:51:11 +00:00
slapshot5
4ade4e1fe4 Checkstyle fixes in Upkeep.java 2011-08-28 23:38:30 +00:00
slapshot5
b6e767780a CheckStyle fixes in CardFactoryUtil.java 2011-08-28 23:19:11 +00:00
Sol
25a0db7fd0 Fixing Blind with Anger having the whole mtgdata.txt as Oracle Text
Fixing issue where if Name isn't found in mtgdata.txt an error is written and the card is skipped
2011-08-28 21:58:05 +00:00
Sol
f1191965ee Oracle Update for X-Z 2011-08-28 20:06:16 +00:00
Sol
695653860c Oracle Update for U-W 2011-08-28 20:03:47 +00:00
Sol
5d294057e4 Oracle Update for S-T 2011-08-28 20:00:05 +00:00
Sol
860da32298 Oracle Update for P-R 2011-08-28 19:50:18 +00:00
Sol
d6c60a8255 Oracle Update for M-O 2011-08-28 19:44:21 +00:00
Sol
0a0a426988 Oracle Update for J-L 2011-08-28 19:39:34 +00:00
Sol
7a7fa34607 Oracle Update for G-I 2011-08-28 19:35:58 +00:00
Sol
5d415c23aa Oracle Update for D-F 2011-08-28 19:30:52 +00:00
Sol
d5e8455bff Adding Oracle text to A-C 2011-08-28 19:24:48 +00:00
Sol
9c8cd21dd9 Adding new OracleScript to add Oracle to cards.txt; in the future this script will replace setInfo scripts. This script depends on mtg-data.txt instead of magiccards.info 2011-08-28 19:17:16 +00:00
slapshot5
5f834dcf6a fix a bunch of CheckStyle things in AbilityFactory_Counters.java 2011-08-28 19:10:35 +00:00
ArsenalNut
9ee86de16b added support for Bloodthirst X 2011-08-28 18:30:50 +00:00
ArsenalNut
47ae5c0078 Removed ActivatedOnly script key. Not needed after changes in Rev# 9882 2011-08-28 18:27:32 +00:00
slapshot5
0df9d89aea minor cleanup in QuestPetHound.java 2011-08-28 18:03:21 +00:00
Braids
8834383279 forge.MagicStack: Fix many CheckStyle and a few PMD violations. 2011-08-28 17:33:43 +00:00
Sloth
6eb1f45f91 - Small improvement of AI in PreventDamage AF. 2011-08-28 15:58:06 +00:00
Rob Cashwalker
c2d45c557f Issue 147 - Explain reason for victory/win/lose/loss/defeat before closing battlefield window
- delays dispose() on the battlefield screen until button clicks in Gui_WinLose
2011-08-28 15:44:45 +00:00
Maxmtg
fc95a74ada now we depend on apache.commons.io
updated set aliases
more predicates for good use
deckeditorbase concept preview
2011-08-28 15:33:26 +00:00
Hellfish
b67e86c573 *Fixed Blocks triggers. 2011-08-28 15:28:49 +00:00
Maxmtg
af5948e344 lazycf, slight updates to classes - more parsing moved to appropiate class 2011-08-28 15:20:43 +00:00
Sloth
117d10fa74 - Fixed description of Lighthouse Chronologist. 2011-08-28 14:31:38 +00:00
Hellfish
0eeeb1885d *fixed Bloodcrazed Goblin PT 2011-08-28 14:31:35 +00:00
Hellfish
dc34b606d6 *Added
Bloodcrazed Goblin
	Inferno Elemental
2011-08-28 14:24:49 +00:00
Sloth
8fff1dc157 - Fixed description of Hammer of Ruin. 2011-08-28 14:24:22 +00:00
Braids
05dfdcb60b In Eclipse, turn on CheckStyle plugin checks for any file opened in the editor, even if it is already in synch with the repository.
Otherwise, it is difficult to go back and fix style changes in a file you just committed. Because then it is in synch with the repository.
2011-08-28 13:42:22 +00:00
Sloth
300748d48a - Fixed the description of the reveal cost.
- Little fix in the description of additional costs of spells.
2011-08-28 13:32:16 +00:00
Sloth
a0b46e67e5 - Little fix in the description of discard cost. 2011-08-28 13:03:54 +00:00
Sloth
0093ad34cf - Random decks for the human will now include cards with RemAIDeck. 2011-08-28 12:20:52 +00:00
Doublestrike
ad3a6055fb Separated model/view for splash frame preloader using Braids' progress monitor heirarchy.
Possibly deprecated: forge/gui/MultiPhaseProgressMonitorWithETA
Possibly deprecated: forge/gui_progressbarwindow
2011-08-28 12:17:31 +00:00
Maxmtg
d09ee12d03 aliases for sets (different data sources may have other names) 2011-08-28 12:04:26 +00:00
Chris
c3b4279b3a - Added the recent commit logs to changes.txt. 2011-08-28 11:54:31 +00:00
Chris
0bef7c1bd2 - Ran set info script. 2011-08-28 11:53:24 +00:00
Maxmtg
4e5457cfaa carddb and manaparser less related to mtg-data.txt and support alternative sources of data. 2011-08-28 10:12:16 +00:00
Maxmtg
296e777597 A little cleanup on new classes, aimed to remove warnings due to unused imports 2011-08-28 09:57:48 +00:00
slapshot5
3548ea759b add Vigean Hydropon (from Dissension) 2011-08-28 08:41:11 +00:00
slapshot5
05a37565e1 add Simic Initiate (from Dissension) 2011-08-28 08:38:22 +00:00
slapshot5
2053d5f62f add Plaxcaster Frogling (from Dissension) 2011-08-28 08:36:28 +00:00
slapshot5
d7f6a91ba9 convert Llanowar Reborn to Graft keyword 2011-08-28 08:34:05 +00:00
slapshot5
8a3c12055c add Helium Squirter (from Dissension) 2011-08-28 08:28:33 +00:00
slapshot5
a8101e24f3 add Cytospawn Shambler (from Dissension) 2011-08-28 08:28:14 +00:00
Sloth
80524f9c16 - Updated some SVars. 2011-08-28 08:07:38 +00:00
slapshot5
1260adc442 add Cytoplast Manipulator (from Dissension) 2011-08-28 08:04:38 +00:00
slapshot5
423ddff824 add Aquastrand Spider (from Dissension) as an example of Graft 2011-08-28 07:58:26 +00:00
slapshot5
1e3c4fcb34 add Graft keyword as "Graft <value>" 2011-08-28 07:57:36 +00:00
slapshot5
25386d819d Java warning cleanup in CardReader.java 2011-08-28 07:56:52 +00:00
slapshot5
5a8280199a add an AbilityFactory for MoveCounter (doesn't support targeting. requires Source$ and Defined$ which both take Defined values.) 2011-08-28 07:56:20 +00:00
slapshot5
25bc109322 add Maralen of the Mornsong (from Morningtide) 2011-08-28 03:43:28 +00:00
Sol
60a23ab77f Initial checkin for AF DigUntil
Convert Hermit Druid to Script
2011-08-28 03:02:50 +00:00
Braids
9d8d9a9eea Make progress in segregating game model data; move some fields from forge.AllZone to forge.model.FGameState.
Left delegate methods in AllZone, marking their Javadoc (in English) for future deprecation.
Added some rudimentary tests on forge.model.FModel's getGameState and resetGameState methods.

Bug: 154
2011-08-28 03:01:13 +00:00
Rob Cashwalker
36ee43b604 Fix issue 174 - Error reporting bug: MCException - submit Issue - Error Type: APPLICATION ERROR #1300, Error Description: Custom field not found
- Steps to Reproduce wasn't a custom field.
2011-08-28 02:13:13 +00:00
Maxmtg
117000e129 mtg-data reference 2011-08-28 02:10:19 +00:00
Maxmtg
6c77de9d4c New lightweight classes for cards management in deck editors and quest mode (no other parts or project changed) 2011-08-28 02:05:04 +00:00
slapshot5
09b868adde forgot to add VELOCITY counters for Tornado 2011-08-28 00:54:30 +00:00
slapshot5
0eb66565b7 add Waxmane Baku (from Betrayers of Kamigawa) 2011-08-28 00:53:56 +00:00
ArsenalNut
693a255caf Converted Orcish Captain to script 2011-08-28 00:24:30 +00:00
ArsenalNut
5ab4f9c23d Added Goblin Archaeologist, Goblin Bangchuckers, and Skyclaw Thrash 2011-08-28 00:19:13 +00:00
Doublestrike
0309d08fb5 View util package rename, class name underscores removed. 2011-08-28 00:09:20 +00:00
Maxmtg
ef8072b77a Predicates are a needed part for new cards management. 2011-08-27 23:54:53 +00:00
Braids
1e0d9cb937 Fix default comment and body of setters to improve readability. Added TODO marker in body to remind programmer to change parameter's name. 2011-08-27 23:24:14 +00:00
slapshot5
acaa6a59da add Tornado (from Alliances) 2011-08-27 22:54:45 +00:00
Braids
6274d5dbb4 Change default Eclipse project settings to automatically generate code and comments that are more consistent with CheckStyle.
These are all up for debate, so I can revert anything someone particularly hates.
2011-08-27 22:38:29 +00:00
Braids
2c76370648 Relabeled Error Dump to Crash Report in bug reporting window.
Bug: 176
2011-08-27 22:06:44 +00:00
Sloth
f087520b32 - The random 3- and 5-color deck generators will now also include colorless cards. 2011-08-27 21:22:23 +00:00
Sloth
d24145b072 - The random deck generators will now include colorless cards. 2011-08-27 21:21:37 +00:00
Sol
7fa9334a2a Initial checkin for Attach_KeepTapped
Converted some Auras to KeepTapped Logic.
2011-08-27 20:54:23 +00:00
Sloth
fc8186208e - Added limited support for "RememberChanged" parameter in AF Dig.
- Added Killer Instinct.
2011-08-27 19:22:14 +00:00
Hellfish
0888f2b7d4 *Fixed a trigger problem that arose when the new controller code autocorrected the zone of a card.
*Removed some ambiguity in Triggers' parameter names.
2011-08-27 18:34:08 +00:00
slapshot5
99d7410adb convert Dance of the Dead upkeep ability to script (also fixes Human being prompted when it's under computer's control) 2011-08-27 18:23:45 +00:00
Sloth
c4e26d6aba - Added Skyshroud Blessing. 2011-08-27 15:57:39 +00:00
Sloth
9c0943e6d0 - Added the Frankenstein 1 deck.
- Replaced the Gold dungeon special quest.
2011-08-27 15:12:49 +00:00
Sloth
df81eee0b2 - Converted Farsight Mask to script. 2011-08-27 14:59:49 +00:00
ArsenalNut
e21831cc74 Added Count$OppDamageThisTurn and Count$YourDamageThisTurn 2011-08-27 14:07:49 +00:00
Sloth
bc83bee85e - Added Michiko Konda, Truth Seeker and Retaliator Griffin. 2011-08-27 13:38:03 +00:00
Hellfish
a5001de97f *Added
Gleancrawler
	No Rest for the Wicked
	Twilight Shepherd
2011-08-27 13:15:46 +00:00
Hellfish
f627b8497b *Added a ThisTurnEntered equivalent for DefinedCards.
*Added Second Sunrise.
2011-08-27 12:53:23 +00:00
Doublestrike
8755ce80c2 Minor fix 2011-08-27 12:51:09 +00:00
Doublestrike
0a4a9f6501 Embedded instance of progress bar in splash frame.
(First serious commit - very sorry if anything wrong!)
2011-08-27 12:37:59 +00:00
Doublestrike
423c617bac View utils:
Progress bar interface
Progress bar base class
Progress bar embedded class (extends base)
2011-08-27 12:23:17 +00:00
Chris
7784d1aade - Added the recent commit logs to changes.txt. 2011-08-27 11:25:08 +00:00
Chris
c2e2ae843d - Ran set info script. 2011-08-27 11:24:14 +00:00
Hellfish
b589539cd3 *Hopefully fixed the "triggers for wrong player" bug. The Anodet Lurker/Slave of Bolas case works properly now, among others at least. 2011-08-27 11:18:20 +00:00
Sloth
124f7c74eb - Added Auntie's Snitch. 2011-08-27 10:30:45 +00:00
Sloth
fd0b054282 - Added Stinkdrinker Bandit. 2011-08-27 10:21:13 +00:00
Sloth
d4dc60d8c9 - Added support for restrictions in alternate costs (same as those of AbilityFactory).
- Added Lashknife.
2011-08-27 10:11:38 +00:00
Sloth
5664e1ba2c - Updated the scripting of AltCost (in preparation of adding conditions). 2011-08-27 08:39:10 +00:00
Sloth
6fe991a5f0 - Static abilities of face down cards will no longer be applied. 2011-08-27 07:52:46 +00:00
slapshot5
386c39e18f tweak showMessage() in Fireball 2011-08-27 06:33:37 +00:00
Sloth
23bcab21cd - Fixed Adaptive Automaton. 2011-08-27 06:01:53 +00:00
slapshot5
b14cf390c6 fix Akki Underling. It should check cards in your hand, not opponent's hand. 2011-08-27 05:43:27 +00:00
Sol
64dee8757b - Fix AI not activating Sacrifice This Costs 2011-08-27 03:44:00 +00:00
slapshot5
1c6ca0268b clean up some Java warnings in CardFactory files 2011-08-27 03:35:02 +00:00
slapshot5
90f13221bc clean up some Java warnings in Upkeep.java 2011-08-27 03:30:59 +00:00
slapshot5
8688a5b885 add Living End (from Time Spiral) 2011-08-27 00:18:22 +00:00
Rob Cashwalker
e768e84e8d Change "Human - View Decklist" to "Player = ViewDecklist 2011-08-26 19:42:43 +00:00
Rob Cashwalker
69d7dda15b Feature Request 168 - View Decklist during game.
Pop-up dialog with option to copy to clipboard.
2011-08-26 19:08:33 +00:00
Sloth
ea8d7f7d17 - Added Disaster Radius. 2011-08-26 16:34:20 +00:00
Sloth
cf913c6dc3 - Fixed the description of exile from graveyard/hand costs. 2011-08-26 16:22:52 +00:00
Maxmtg
7ed5437a5d Card image in rewards view didn't display properly if player had only pet-set images and no flat storage 2011-08-26 15:40:49 +00:00
Sloth
ba72d2c9c2 - Removed SVar:RemAIDeck:True from some cards. 2011-08-26 13:31:03 +00:00
Chris
55fb3d29f2 - Added the recent commit logs to changes.txt. 2011-08-26 12:22:00 +00:00
Chris
f12f177adb - Ran set info script. 2011-08-26 12:20:49 +00:00
Sloth
0dc7434844 - Improved blocking AI predicting multiblocks. 2011-08-26 09:00:11 +00:00
Sloth
157217e7a7 - Fixed the Kojak 2 deck list. 2011-08-26 06:40:07 +00:00
slapshot5
9c06ec4c5d clean up a few java warnings 2011-08-26 05:57:38 +00:00
slapshot5
eaa6226df8 add Memory Jar (from Urza's Legacy) 2011-08-26 05:04:20 +00:00
slapshot5
2aa431cbe9 add Panoptic Mirror (from Darksteel). Surprisingly, this seems to work. I thought I'd need to add some code... 2011-08-26 04:51:44 +00:00
Sol
485c207ebf - Fix for CostInputs not handling X set to 0. 2011-08-26 02:36:55 +00:00
Sloth
7014096d67 - Converted Favor of the Mighty to script. 2011-08-25 20:54:59 +00:00
Sloth
f412265403 - Added Topple. 2011-08-25 20:31:18 +00:00
Sloth
5f5d857017 - Added the Frankenstein 2 and 3 decks. 2011-08-25 15:55:10 +00:00
jendave
2b07df21c8 fixed checkstyles 2011-08-25 15:22:02 +00:00
jendave
8cf3c63d55 Revert "fix checkstyles. remove old files"
This reverts commit e6ae0bd753cd02c545f41d7434604e0c69e39e6e.
2011-08-25 15:21:53 +00:00
jendave
18b41f2bcb fix checkstyles. remove old files 2011-08-25 15:21:43 +00:00
Sloth
16e71235a4 - Fixed View from Above. 2011-08-25 12:55:53 +00:00
Sloth
aeb5bf0bd4 - Replaced the red dungeon special quest. 2011-08-25 11:03:59 +00:00
Sloth
3ef7b21654 - Little updates in CombatUtil. 2011-08-25 11:01:10 +00:00
Chris
196863ca9f - Added the recent commit logs to changes.txt. 2011-08-25 10:49:28 +00:00
Chris
6b826432f3 - Ran set info script. 2011-08-25 10:48:15 +00:00
Maxmtg
4373bd84ff added dependency 2 org.apache.commons.lang3 (for StringUtils.join)
@GuiFilter just removed duplicated code
2011-08-25 09:52:44 +00:00
Sloth
c2a188addd - The AI will now check DealDamage triggered abilities when attacking (to not run into Circle of Flame and Caltrops). 2011-08-25 09:30:04 +00:00
Sloth
45508a62fd - Fixed some auras not granting abilities or triggers properly. 2011-08-25 07:51:06 +00:00
jendave
8a00c12bd0 add default buildnumber when scm fails. 2011-08-25 07:30:59 +00:00
slapshot5
4fe5f83aa7 add Ignorant Bliss (from Dissension) 2011-08-25 07:24:27 +00:00
Sloth
f4ace9fca3 - Fixed Elemental Mastery. 2011-08-25 07:07:19 +00:00
slapshot5
44238e8803 remove some debug code in GuiDisplay4.java 2011-08-25 05:42:32 +00:00
slapshot5
9020bca834 add Magus of the Jar (from Time Spiral) 2011-08-25 05:40:31 +00:00
slapshot5
bf60a0b534 add the ability to Exile cards face down. Added an ExileFaceDown$ True parameter to ChangeZone and ChangeZoneAll. In the GUI code, I had to change the ZoneAction (for viewing Exile, Graveyard, etc.) class to not use the YieldUtils iterator stuff. I pull the Generator into an ArrayList. If someone can do it with Iterator, go for it. 2011-08-25 05:39:44 +00:00
Sol
763d7e7870 Initial checkin of CostReveal
Some preparation for actual Payment occurring after all Costs have been completed.
Add Living Destiny
2011-08-25 02:32:40 +00:00
jendave
1912a951a5 Add .gitignore for the truly adventurous using git-svn 2011-08-25 01:04:11 +00:00
Sol
40a945fa72 Moving Inputs from Cost_Input into specific CostParts 2011-08-25 00:25:20 +00:00
Sol
6132594038 Small fix for ExileFromHand Input 2011-08-25 00:15:57 +00:00
Sol
631821a038 Added Bond of Agony 2011-08-25 00:02:56 +00:00
Sol
b436950ac3 Fix for CostExile not grabbing Valid Cards before being used with XChoice 2011-08-24 23:44:45 +00:00
Sloth
de68a3b258 - Added the function removeAll to CardList to remove all instances of a card from it (I was shocked that we didn't have this, or am I missing something?).
- Fixed some possible bugs of assigning blockers twice in ComputerUtil_Block2.
2011-08-24 21:11:45 +00:00
Sloth
20c45c1441 - Added Chill Haunting. 2011-08-24 20:35:48 +00:00
Rob Cashwalker
d71799ff29 Will be used by new Gui. 2011-08-24 19:45:40 +00:00
Rob Cashwalker
3f2fa09751 Updated BugzReporter -
- Fixed layout issues causing truncated labels.
- Changed "Git rev" field to "SVN rev." field.
- Added "Steps to Reproduce" field.
- Check Summary and Description fields for valid data, Error Message Dialog if not.
- Attempt to match Build Version with Mantis version list.
- Populate SVN rev. field with revision if available.
- If crash report, relabel "Additional Information" field as "Error Dump" and auto-select category "New Crash Report".
- Fix log4j warning.
- Fix close and Cancel buttons not terminating window.
2011-08-24 19:15:43 +00:00
Rob Cashwalker
d95a9bf685 Modified svnversion command line - provide "src" as target path for revision. 2011-08-24 18:43:05 +00:00
Chris
33c8b2ec52 - Added the LQ pic URL for Torpor Orb. 2011-08-24 17:04:52 +00:00
Sloth
0bea97b042 - Changed Prowl to be used for other Creature types than Rogue. 2011-08-24 16:53:06 +00:00
Sloth
99d06c01be - Added the missing Prowl part to Morsel Theft. 2011-08-24 14:57:32 +00:00
Sloth
48bc240d9a - Added Prowl keyword.
- Added Thieves' Fortune.
2011-08-24 14:33:53 +00:00
Sloth
ce25a3cedc - Fixed the description and updated the decklist of Jabba the Hut 3. 2011-08-24 11:35:35 +00:00
Chris
0623ce54f8 - Added the recent commit logs to changes.txt. 2011-08-24 11:01:16 +00:00
Chris
20cff74a89 - Ran set info script. 2011-08-24 11:00:24 +00:00
Sloth
dee558b870 - Added Renegade Warlord. 2011-08-24 09:01:57 +00:00
Sloth
a77a4d0534 - Fixed Mimic Vat. 2011-08-24 08:28:21 +00:00
Sloth
4d32fc85fc - Added Restless Dreams. v Added Turbulent Dreams v 2011-08-24 07:07:10 +00:00
Sloth
3fdb7dc05e 2011-08-24 07:01:38 +00:00
Sloth
7afccb0283 - Fixed Salvage Scout. 2011-08-24 06:40:17 +00:00
slapshot5
9c7cd58ad0 add Necrologia (form Exodus) 2011-08-24 06:29:49 +00:00
Sol
9947b3281b Add XChoice to PayLife
Add Hatred
2011-08-24 04:05:37 +00:00
Sol
055936d218 Add Missing Exile Inputs and support for XChoice
Convert Haunting Misery to Script
2011-08-24 03:46:26 +00:00
Rob Cashwalker
3ea659d548 Updated SetInfo for Whip Vine - 2 arts. 2011-08-24 03:22:39 +00:00
Sol
633b69ec82 Add XChoice to CostDiscard
Convert Firestorm and Vengeful Dreams to Script
2011-08-24 01:33:21 +00:00
Hellfish
8d29f7b3ce *Added Torpor Orb.
*Triggered Abilities no longer trigger AbilityCast.
2011-08-23 20:45:16 +00:00
Sloth
d2f48dfa98 - Fixed Thran Golem and similar cards. 2011-08-23 18:51:35 +00:00
Sloth
d74f9e6358 - Replaced the black and green dungeon special quests. 2011-08-23 18:45:47 +00:00
Hellfish
a76d56e40c *Fixed Thalakos Dreamsower's damage ability. 2011-08-23 18:14:16 +00:00
Sloth
60033a4074 - Added Tectonic Rift. 2011-08-23 16:18:13 +00:00
Sloth
44e4abf238 - Fixed Spitfire Handler and Ironclaw Curse. 2011-08-23 14:58:29 +00:00
Sloth
698986d571 - Fixed Dragon Mage. 2011-08-23 12:21:47 +00:00
Sloth
65cfa4a5f5 - Fixed a couple of auras that give abilities to lands. 2011-08-23 12:13:31 +00:00
Sloth
0de6c3a01a - Fixed Flame Rift and Kagemaro, First to Suffer. 2011-08-23 12:09:07 +00:00
Chris
74c46e6b87 - Added the recent commit logs to changes.txt. 2011-08-23 11:50:52 +00:00
Chris
37398f1871 - Ran set info script. 2011-08-23 11:50:07 +00:00
Sloth
71763271aa - Fixed logic error with DamageAmount parameter of DamageDone triggers.
- Fixed TriggerZones of Pain Magnification.
2011-08-23 11:47:56 +00:00
jendave
90c4b458a0 ignore log files 2011-08-23 07:33:29 +00:00
Sloth
2672d342d5 - Added Trollhide. 2011-08-23 07:10:13 +00:00
jendave
357eb4b76c ignore PerSetTrackingResults 2011-08-23 07:00:43 +00:00
Sloth
c551e0afd4 - Fixed 5 card text files. 2011-08-23 06:19:35 +00:00
jendave
c8237d07ca Fix output directory name 2011-08-23 06:15:54 +00:00
slapshot5
31f0b0e84d fix Gideon Jura's Lure-like ability not working properly when the Human is low on life. (bAssault was taking over before the 'must attack entity' logic was being run.) 2011-08-23 06:06:18 +00:00
slapshot5
7ec3016fef add a Set Player Life option in DevMode 2011-08-23 04:57:30 +00:00
Sol
943057865a - Added Support for XChoice to CostRemoveCounter
- Converted Mana Batteries and FE Storage Lands to Script
2011-08-23 04:25:00 +00:00
Sol
2dbd141611 - Some fixes to Reflectable Mana in regard to activating during activation of a SA. 2011-08-23 03:38:23 +00:00
Maxmtg
fabb3f7f25 CardReference is designed for use in decks and cardpools. holds only name, edition, foil; it also can be key of a hashtable. 2011-08-22 23:44:19 +00:00
Maxmtg
96b6bd0a99 fix: Player could not concede having Platinum Angel on battlefield 2011-08-22 23:23:23 +00:00
Maxmtg
2b86fbb7ba Aestetic text changes (booster type "T2" renamed to Standard) 2011-08-22 20:54:35 +00:00
jendave
f929e7a04f update maven-jar-plugin 2011-08-22 16:03:00 +00:00
Maxmtg
8133a3d8ec Quest reward cards are being presented in a much cleaner detailed view 2011-08-22 13:58:04 +00:00
Chris
7e73c14892 - Added the recent commit logs to changes.txt. 2011-08-22 11:31:37 +00:00
Chris
df3c992c5f - Ran set info script. 2011-08-22 11:30:31 +00:00
ArsenalNut
96149e1ac4 Added "ActivatedOnly" script key so SpellAbilityCast triggers can be limited to non-triggered abilities. Added Ceaseless Searblades. 2011-08-22 04:56:13 +00:00
Maxmtg
825e64e9f2 Player can choose which booster to receive in the course of quest: containing only T2 cards, Extanded or Legacy (the way it was before) 2011-08-22 04:33:15 +00:00
ArsenalNut
766e872518 Added Oona's Prowler 2011-08-22 04:07:45 +00:00
Sol
a3b5f9eb45 - HumanPlayer wasn't saved apparently. 2011-08-22 03:39:34 +00:00
Sol
8451aa99a4 - Fixing NPE in IsPlayer() 2011-08-22 03:38:48 +00:00
Braids
c51797280d Added questData.dat to svn:ignore on res/quest, so developers don't accidentally add it to the repository. 2011-08-22 02:53:06 +00:00
Sol
8897f5f981 - Add Viscerid Drone 2011-08-22 02:40:27 +00:00
Sol
9a00e9618b Added Foil using new Cost mechanism 2011-08-22 02:20:19 +00:00
Sol
c0e68b19d2 Issue 92: Reorganization of Costs
- Fix a few cards to adhere to new Cost requirements
2011-08-22 02:19:10 +00:00
Braids
1df5c1aa55 Fixed compatibility with Java 7.
Problem was due to inability to deserialize display_new_layout.xml. I changed that file's default serializer to XStream. This fix maintains compatibility with existing display_new_layout.xml when possible, and uses an XStream-generated display_layout.xml when it cannot parse the former.

Note this updates the default display_layout.xml, which looks OK under Windows XP with resolution 1024x768.

Bug: 144
2011-08-22 01:54:21 +00:00
Maxmtg
36e71434c2 fix typo 2011-08-22 00:04:21 +00:00
Maxmtg
a04d035129 Refactored QuestMatchState
GameInfo is renamed to GameSummary and is now an observer for game state. It's purpose is now to hold statistic data on game and actions performed by players. The former functionality moved to ColorChanger and Phase (all combat damage prevention due to Fog spell). Since then game turns calculation is done properly (no need to add/substract 1)
Total cleanup at Gui_WinLose, removed all references to global objects for quest and match-related entites. 
Some of quest rewards calculations use now special functions in QuestData class.
Tracking of win and lose conditions refactored (see Player and Upkeep classes)
2011-08-22 00:02:22 +00:00
Braids
6afac1c7e0 Issue 117: Load from default display_layout.xml when user's customized display_new_layout.xml does not exist.
* Updated the default display_layout.xml to look good on a Windows XP 1024x768 display.
* Updated GuiDisplay4.java to load from default layout if user's "new" layout does not exist.
* We have not had display_new_layout.xml in the repository for some time, but that is a related change.

Bug: 117
2011-08-21 16:05:15 +00:00
Chris
4ffcc7ce0a - Added the LQ pic URL for Chandra, the Firebrand. 2011-08-21 13:22:44 +00:00
Chris
1d24b6d412 - Added the recent commit logs to changes.txt. 2011-08-21 11:44:17 +00:00
Chris
c5dc07bb99 - Ran set info script. 2011-08-21 11:42:11 +00:00
jendave
0bfd66f8b3 remove Adium depedency. modify other dmg scripts 2011-08-21 05:08:11 +00:00
ArsenalNut
90dfca737b Added RememberTokens script key to Token AF, added Gilt-Leaf Ambush 2011-08-21 04:19:44 +00:00
Braids
01e7f66d6b Issue 77: Avoid NPE when choosing cards at random for quests. 2011-08-21 04:01:47 +00:00
Braids
ed7b114a67 - Remove compiler warning from forge.deck.generate.Generate5ColorDeck. 2011-08-21 02:45:55 +00:00
ArsenalNut
6793ca6df3 Added Streambed Aquitects, Warren Pilferers, and Wellgabber Apothecary 2011-08-20 23:58:38 +00:00
jendave
d7ceba4f19 match on empty line with trailing space - thanks Braids 2011-08-20 22:31:23 +00:00
Chris
a724e2a16b - Added the new Swan 2 deck to quest mode. 2011-08-20 16:42:42 +00:00
Hellfish
d31396474b *Added Chandra, the Firebrand. 2011-08-20 13:20:02 +00:00
Chris
17a40d5b67 - Added the recent commit logs to changes.txt. 2011-08-20 10:53:57 +00:00
Hellfish
557d04e554 *Fixed Matsu-Tribe Sniper to trigger on noncombat damage as well. 2011-08-20 08:45:40 +00:00
jendave
f9fe9d0fc5 renaming splashpic 2011-08-20 08:36:53 +00:00
jendave
6c063e62ce renaming splash pic. 2011-08-20 08:36:36 +00:00
jendave
479b2b98db rename splash pic. Spaces in the filename are not best practice 2011-08-20 08:35:56 +00:00
jendave
0c4cada39e supress checkstyle error if there is a trailing space after a javadoc comment 2011-08-20 06:55:39 +00:00
jendave
400b9a5a0e update to latest launch4j maven plugin 2011-08-20 05:13:44 +00:00
jendave
31e7c6529f add link to releases 2011-08-19 23:18:16 +00:00
Chris
d26842a511 - Cleared out the changes.txt file, is ready for new material. 2011-08-19 20:55:04 +00:00
Braids
bec4a7393c - Fix typo in Stone-Seeder Hierophant. now untaps for landfall. 2011-08-19 20:14:18 +00:00
Braids
ff1b5f8d1d - Add missing image for SplashFrame. 2011-08-19 19:07:31 +00:00
Chris
23d4528dcd [maven-release-plugin] prepare for next development iteration 2011-08-19 18:31:20 +00:00
10014 changed files with 66060 additions and 46939 deletions

View File

@@ -10,5 +10,4 @@
</fileset>
<filter name="WriteProtectedFiles" enabled="true"/>
<filter name="UnOpenedFiles" enabled="true"/>
<filter name="FilesInSync" enabled="true"/>
</fileset-config>

750
.gitattributes vendored

File diff suppressed because it is too large Load Diff

9
.gitignore vendored
View File

@@ -2,10 +2,19 @@
/*.iml
/*.tmp
.settings/org.eclipse.core.resources.prefs
/build
/forge.log
/forge.preferences
/release.properties
res/PerSetTrackingResults
res/cardsfolder/cardsfolder.zip
res/decks/AI_o1.dck
res/decks/o1.bdk
res/gui/display_new_layout.xml
res/oracleScript.log
res/quest/questData.dat
res/quest/questData.dat.xml
res/reprintSetInfo.log
res/setInfoScript.log
/target
/test-output

View File

@@ -11,12 +11,12 @@
</arguments>
</buildCommand>
<buildCommand>
<name>net.sf.eclipsecs.core.CheckstyleBuilder</name>
<name>org.eclipse.m2e.core.maven2Builder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.m2e.core.maven2Builder</name>
<name>net.sf.eclipsecs.core.CheckstyleBuilder</name>
<arguments>
</arguments>
</buildCommand>

File diff suppressed because one or more lines are too long

View File

@@ -1,19 +1,13 @@
Forge Beta: 08-19-2011 ver 1.1.2 rev 9812
Forge Beta: 09-30-2011 ver 1.1.5 rev 10795
(Quest icons used created by Teekatas, from his Legendora set
http://raindropmemory.deviantart.com)
8764 cards in total.
9176 cards in total.
A new bug reporting system based on Mantis is being developed. When Forge crashes a new report form will appear that will allow you to send in a detailed bug report.
We would like to remove the old "Current Known Bugs" list topic on the forum. While this topic has been useful over the last two years it may be time to try another approach.
In the future bugs and other issues will be reported with the Bug Report form, the Mantis based Cardforge Issue Tracker or by posting a message on the then current forge beta release topic at CCGH.
Some people that are using an early version of java 7 under the Windows OS have reported errors that state "Split must have > 2 children". Anyone having this sort of problem should de-install java 7 and install java 6 instead.
This beta is primarily a maintenance release. Some of the new Innistrad cards had typos. There was a bug with the quest mode in the last beta which apparently breaks the quest after 10 wins. These problems should be fixed in this version.
We have changed the archiving format to ".tar.bz2". There are utilities for Windows, Mac OS and the various *nix's that can be used to decompress these archives.
@@ -21,7 +15,7 @@ We have changed the archiving format to ".tar.bz2". There are utilities for Wind
The Mac OS application version:
We have packaged the Forge 08-19-2011 BETA version as a Mac OS application. You can double click the Forge.app icon to launch the forge application on your Apple computer running Mac OS. This application will automatically increase the java heap space memory for you as it launches. This version does not require the forge.command file and it does not need to start the Terminal application as part of the start up process.
We have packaged the Forge 09-30-2011 BETA version as a Mac OS application. You can double click the Forge.app icon to launch the forge application on your Apple computer running Mac OS. This application will automatically increase the java heap space memory for you as it launches. This version does not require the forge.command file and it does not need to start the Terminal application as part of the start up process.
You can move a copy of your pictures and decks over to the Forge.app application. Right click or control click on the Forge.app icon. Select Show Package Contents form the contextual menu. A Finder window will open and will display a folder named Contents. Navigate to the folder:
@@ -32,384 +26,208 @@ Your decks can be placed in the decks folder, your pics can be placed in the pic
Fixes/Features:
- Some cleanup in Card.java.
- Changed usage of outdated Card.abilityUsed in most circumstances.
- Removed last beta's material from changes.txt.
- Restored setAbilityUsed.
- Updated some SVars.
- Added an easy and a medium version of the Odin deck.
- Added Gambit 2 deck to quest mode.
- AF_CopySpell wasn't setting Activation Player causing an NPE.
- Bugfix for non-GainControl Auras having Leave Play Command.
- Initial code for Attaching Auras that ETB Indirectly (i.e. not Casting).
- Converted SearchRebel to AF now that Auras can be placed when Indirectly ETB.
- Convert Hokori to Script.
- Fixed bug in UntapUpTo for AI.
- Attach artifacts to build, add in ftp site.
- Add local repo for tests.
- Removed some non-Aura restrictions from some card scripts.
- [maven-release-plugin] prepare release forge-1.1.1-SNAPSHOT.
- [maven-release-plugin] rollback the release of forge-1.1.1-SNAPSHOT.
- Fixed Path to Exile.
- Update dev connection.
- Update dev connection.
- Move release plugin back to 2.1 to avoid 2.2 bug.
- Update git location.
- [maven-release-plugin] prepare release forge-1.1.1.
- [maven-release-plugin] prepare for next development iteration.
- Fixed problem with attached artifact.
- [maven-release-plugin] prepare release forge-1.1.2.
- [maven-release-plugin] prepare for next development iteration.
- [maven-release-plugin] rollback the release of forge-1.1.2.
- Fixed local repo.
- [maven-release-plugin] prepare release forge-1.1.2.
- [maven-release-plugin] rollback the release of forge-1.1.2.
- Rev pom.xml.
- [maven-release-plugin] prepare release forge-1.1.3.
- [maven-release-plugin] prepare for next development iteration.
- Fixed repo again.
- Fixed AI not playing Auras.
- Added the new Krypto 3 deck to quest mode.
- Partially converted Venser, the Sojourner to script.
- Performed formats rotation.
- added ISD line to boosters.txt
- enabling limited play with ISD
- Cleared out the changes.txt file, is ready for new material.
- Fixed several LQ pic URLs.
- Improve error message in CardRules
- Added missing LQ pic URLs.
- Fixed name of Curse of the Nightly Hunt.
- Fixed Beacon of Destruction text.
- Added a Planeswalker check to AbilityFactory.playReusable to make the AI use the abilities each turn (without random factor).
- Added Innistrad setinfo to reprints.
- Fixing SetInfo for Basic Land
- Island SetInfo didn't update properly
- Increasing Commons in a Quest Booster Pack to 11
- Increasing Money earned from Quest Victories
- Fixed type of Pit Spawn.
- Added two missing setinfos.
- Fixed destroyPlaneswalkers checking non-Planeswalker types (so two Artifact Planeswalker won't destroy each other).
- Little AI improvements in AF ChangeZone Hidden.
- Added the recent commit logs to changes.txt.
- Reduced access to Card.setUniqueNumber, this should be auto-generated by new Card().
- The AI will now prefer to use unenchanted mana sources before enchanted ones.
- try again with another local repo.
- [maven-release-plugin] prepare release forge-1.1.4
- [maven-release-plugin] prepare for next development iteration.
- Bugfix issue88, Tokens can no longer Persist. "Flickering" tokens no longer causes an NPE.
- Fixed Oblivion Ring (by changing getCardState to search all zones for the card).
- Fixed delayedTriggers.
- Reverted newgame_background.jpg.
- Fixed the possible crash in assembleDuelUniquedata.
- Changed generateDuels to the old system (ending with one very hard and two hard opponents).
- Updating mtgData
- Graphics for HomeScreen
- Removed a few commented references of OldGuiNewGame.
- Add CustomPool property to deck file for filtering from HomeScreen's deck list.
- Adds first draft of HomeScreen gui. Requires an environmental variable to be present in order to enable it.
- Move ManaSymbol initialization from OldGuiNewGame to ApplicationView.
- Completed the fix for delayed triggers.
- Disabled the use of AF ChooseColor for the AI.
- Fixed Militia's Pride.
- Change the absolute path to relative path for graphics
- Added four copies of Isolated Chapel to the Data 2 deck.
- Fixed type of Skulltap.
- Added "Custom Pool=true" so it doesn't show up as a regular constructed deck in the new HomeScreen.
- Added the -1/-1 counters (formerly Flourishing Defenses) deck by Nordos as Starfire 3.
- Fixed name of Mikaeus, the Lunarch.
- copyCard will now copy remembered objects (this could make some more use of ClearRemembered CleanUp necessary).
- Fixed Admonition Angel.
- Cleanup of stAnimate.
- Updated some SVars of Innistrad cards (A-E).
- Minor fix to the new Home Screen(nice and understandable code); Picking random deck for the AI causes it to echo the deck chosen for the human.
- Updated some SVars of Innistrad cards (F-M).
- Updated some SVars of Innistrad cards (N-S).
- Fixed file name of Silver-Inlaid Dagger.
- Updated some SVars of Innistrad cards (T-Z).
- Ran oracle script.
- Added the recent commit logs to changes.txt.
- Added the player keyword "Prevent all damage that would be dealt to you".
- Added a new static ability "PreventDamage".
- Converted Personal Sanctuary to it.
- Fixed affected creatures in Gallows Warded
- Added support for "Amount" and "Source" parameters to the PreventDamage static ability.
- Converted Daunting Defender, Energy Field and Energy Storm.
- Converted all cards with stPreventDamage keyword to the PreventDamage static ability.
- Removed the code of the stPreventDamage keyword.
- Removed the keyword "Prevent all damage that would be dealt to you."
- Fixed text of Unbreathing Horde.
- Added RemAIDeck to Caldera Hellion.
- Converted Bubble Matrix.
- Converted Forfend.
- Fixing text of Diplomatic Immunity
- Fixing Fire-Belly Changeling
- Forgot to handle launching Quest Mode.
- fixed generateChallenges.
- Added the recent commit logs to changes.txt.
- Final minor fix to model/view architecture in quest event panels.
- Fixed tooltip on "Deck Editor" button (issue 294)
- Fixed Aquitect's Will.
- Added support for "CombatDamage$" "True" and "False" to the PreventDamage static ability.
- Converted Mark of Asylum to script.
- Converted and corrected Enchanted Being.
- Converted Dolmen Gate.
- minor optimizations of CardRules, fix typo in comment of MtgDataParser
- Removed the function isValidCard in favor of isValid in GameEntity.
- overload for subtype
- Changing Curse of Chains AILogic
- added overload for name-based predicate, simplified NamesExcept
- deckmanager crashed on bad files
- Fixed typeline of Telethopter.
- Fixed cost of Burning Vengeance.
- Added the recent commit logs to changes.txt.
- Fixed name of Blind with Anger.
- Converted Blazing Archon and Peacekeeper to script.
- Converted Ensnaring Bridge and Reverence to script.
- Added support for targeting in AF DestroyAll.
- Converted the last ability of Ajani Vengeant to script.
- Added the deck: Chief Clancy Wiggum 1.
- Added support for targeting and Defined parameter in AF AnimateAll.
- Little fixed in AF AnimateAll.
- Cleanup of Ego Erasure and Shields of Velis Vel.
- Fixed delayed triggers triggering over and over again.
- Difficulty multiplier on base reward for quest events added.
- More level descriptors added to quest mode
- Added the recent commit logs to changes.txt.
- Repeatability activated for quest challenge events.
- Added quest23.
- Added Werewolf to the list of creature types.
- Fixed a possible NPE in changeHiddenOriginResolveAI.
- Made the script of Fiend Hunter AI friendly.
- Made some scripts AI friendly (A-I).
- Made some scripts AI friendly (J-Z).
- Fixed broken LQ pic URL for Woodland Sleuth.
- add TopOfLibrary as Defined for Cards
- support Defined for Cards in ChangeZone Hidden
- convert Necropotence to script
- add an AbilityFactory for ExchangeLife
- Moving Repeatability check inside QC check.
- convert etb part of Bazaar of Wonders to script
- Corrected Lost Order of Jarkeld.
- Removed the copies of Rage Nimbus from the Redwall 2 deck.
- Little fix in Redwall 2.
- Corrected Pallimud and Skyshroud War Beast.
- Ran set info script.
- Fixed Tar Fiend.
- Converted Xenograft to script.
- Added RememberMilled capability for AF_Mill.
- Added the new Krypto 2 deck to quest mode.
- Made a couple of adjustments to Krypto 2.
- Ran oracle script.
- Added the recent commit logs to changes.txt.
- Add a fluff piece to the changes.txt file.
- Fixed Chainer, Dementia Master.
- convert Mirror Universe to script
- Add specification entries to Manifest file. Reset Checkstyle in project
- Add more entries to .gitignore
- Add one more entry to .gitignore
- Ran oracle and set info scripts
- Fix for attempting to put counters on a token that no longer exists
- Things that "come into play tapped" should not fire triggers for Mode$Taps according to my reading of rule 603.2d. I hope I haven't missed any place where this might be happening.
- a couple tweaks to AF_PutCounter:
1. add UpTo param for "add up to X counters to" a card
2. add MaxFromEffect param to specify the maximum amount of these counters the card can have from this effect
- add UntilYourNextUpkeep param to AF_Animate
- Fixed Gratuitous Violence.
- Ran set info script.
- Ran oracle script.
- Added the recent commit logs to changes.txt.
- Made additional adjustments to Krypto 2.
- Converted Belbe's Portal to script.
- Converted Conspiracy to script.
- Rewrote most of ReadCard to support LazyCardFactory in the future. Tested and works OK with current default PreloadingCardFactory.
- Rename forge.ReadCard and forge.ReadCardTest to CardReader and CardReaderTestNG.
- Finished LazyCardFactory (for unit testing only) and related classes.
- Eliminated many CheckStyle, FindBugs, and PMD errors in forge.CardUtil, forge.card.cardFactory.AbstractCardFactory, forge.card.cardFactory.CardFactoryTest, forge.card.cardFactory.LazyCardFactory, and net.slightlymagic.braids.util.NotImplementedError.
- Fixed conflicts in AbstractCardFactory.java.
- Cleanup.
- Ran set info script.
- Replaced the white dungeon special quest deck.
- Added the recent commit logs to changes.txt.
- Fix to local ftp.
- [maven-release-plugin] prepare release forge-1.1.5.
- [maven-release-plugin] prepare for next development iteration.
- The AI can now pay non mana costs for triggered abilities (this was really easy).
- Rollback version number to 1.1.2.
- Fixed Engulfing Slagwurm.
- Fixed some more triggers that used attackerBlocked instead of blocked.
- Issue 73: add Eclipse project settings to reduce CheckStyle errors.
- Removed RemAIDeck from some cards the AI can now use.
- Fixed accidental edit of display_new_layout.xml.
- Fixed Oona's Blackguard.
- Fixed Dwarven Patrol.
- Mantis 88: Change Crash Report text to fit our new issue reporting process. Updated README.txt. Updated res/lang/en.properties. Provisionally updated res/lang/de.properties; still needs a native speaker to go over it. Updated res/main.properties, changing the forum URL to the how-to tinyURL and removing the email address entirely. Updated src/forge/error/ErrorViewer.java and src/forge/properties/NewConstants.java to be congruent with the above changes.
- Updated Java files to reduce messages produced by CheckStyle, FindBugs, and/or PMD.
- Added snapshot deployment.
- Fixed some checkstyle issues.
- Refactor - now works in WindowBuilder.
- Fixed Path of Peace.
- Added the recent commit logs to changes.txt.
- Ran set info script.
- Fixed Misfortune's Gain.
- Replaced the blue dungeon special quest.
- Cleanups. Quest filter now can use WindowBuilder.
- Cardshop and deckanalysis now use WindowBuilder.
- DeckEditor now works in WindowBuilder.
- Updated the King Kong 1 and 2 decks.
- Made the Samantha Stephens 1 deck a little less and the Rocky 1 deck a little more powerful.
- Update German language rendition of Crash Report to fluent level. Special thanks to silly freak.
- Added LICENSE to test/java/net/slightlymagic/braids/util/testng/.
- Changed DamgeDone ValidSource list delimiter to "," instead of space.
- Integrated Mantis Bug Reporting.
- Fixed Goblin Gaveleer.
- Equiping and enchanting will now renew the timestamp of a card.
- Update for last commit.
- gui_quest_deckeditor can now use WindowBuilder.
- gui_import picure can now use WindowBuilder.
- Removed ComputerUtil.canPayCost from non-trigger canPlayAI checks. This is checked elsewhere and currently may prevent the AI from using cascade and casting spells for free.
- Fixed Rakdos Carnarium.
- Fixed Hope and Glory (Thanks Sol).
- Fixed Whiplash Trap.
- Updated some SVars.
- Added support for granting static abilities to tokens.
- Replaced the colorless dungeon special quest.
- Some fixes for Pyromancer's Swath (still not completely correct).
- Fixed Pyromancer's Swath.
- Fixed High Market.
- Fixed Typo in AF Token.
- Move to maven standard directory.
- Move to standard maven directory.
- Fixed return value.
- Update javax.jaxrpc.
- Fixed site and checkstyle configration.
- Added the recent commit logs to changes.txt.
- Ran set info script.
- Added menu item to launch Bug Report Screen.
- Added Bug Report to Deck Editor menu.
- Use Maven source paths.
- Edited the quests.txt file, reduced wins needed by 20%.
- Edited the quests.txt file, added Sloth's deck descriptions.
- Edited the QuestMainPanel.nextQuestInWins() method, lowered wins needed to 20 and reduced the int mul by one.
- Added the recent commit logs to changes.txt.
- Added a new description to quest 6.
- Move.
- Fixed checkstyle for eclipse.
- Updated maven release plugin.
- Added placeholder for official revision identifier.
- Reverted "- Added placeholder for official revision identifier."
- Updated maven site plugin. fix output directories in eclipse.
- Updated tests to run better in Eclipse.
- Fixed test names.
- Fixed checkstyles, fixed unit tests, added unit tests.
- Removed obselete libs and build files.
- Added the recent commit logs to changes.txt.
- Ran set info script.
- Fixed the activation cost for Wave Elemental.
- Added a fluff piece about the new bug reporting system to changes.txt.
- Fixed Surgical Extraction.
- Fixed Adaptive Automaton.
- Fixed Numot the Devastator and Teneb the Harvester.
- Made it so that an empty list of controllers means that the owner is the controller.
- This is the initial commit in this repository. This was an attempt to make it so that changes to the files display_new_layout.xml and JuzamjediCube.dck would not automatically appear in EGit<69>s Commit window. this seems to have failed.
- Testing EGit merge.
- Revert "- Testing EGit merge.
- Revert "- Testing EGit merge.
- Fixed logic so CardsInPlay was not checked when ConditionDefined used.
- First small step toward separating UI from logic. Created some packages and some classes. they are not yet in use.
- Added unit test.
- Fixed some checkstyle issues.
- Updated substance LAF jar.
- Exposed Storm count through Count$.
- Added Amount parameter to AF_CopySpell.
- Reimplemented the Storm keyword using Trigger objects. (Though it could be replaced by a script trigger).
- Simplified Bitter Ordeal. Kinda forgot how ThisTurnEntered worked.
- Testing conflicting and nonconflicting pulls. To be reverted later.
- Resolved intentional conflicts; removed silly comments that I made.
- Move Gui_NewGame to forge.view.swing.OldGuiNewGame. Move main(). Left a delegate from forge.Gui_NewGame.main to forge.swing.view.Main.main. Refactored references to Gui_NewGame to use new package and class name, forge.view.swing.OldGuiNewGame.
- Cleaned up Echo Mage using CopySpell's new Amount parameter.
- Split triggers into intrinsic and extrinsic.
- Morphed cards can now have triggers pumped to them actually going off.
- Create forge.view.swing.Main. Sorry, I missed this in previous commit.
- Reduce Checkstyle, FindBugs, and PMD output for forge.view.swing.Main.
- Reduce Checkstyle output for forge.view.swing.OldGuiNewGame.
- Reduce FindBugs & PMD output in forge.view.swing.OldGuiNewGame.
- Continue to slowly refactor forge.view.swing.Main. Moved some code from forge.view.swing.Main to forge.model.FModel. Improved Main's error handling to catch all Throwables. Turned FModel into a class that could later be turned into an interface. We're not changing models any time soon, so it made sense. Did not do the same for FView; I could see us potentially using a different view for future unit tests. Created nascent forge.view.swing.ApplicationView.
- Continue to slowly refactor forge.view.swing.Main. Minor changes to forge.view.swing.Main that should have gone into the last commit.
- Activate $Id$ processing for Git in .java, .properties, and top-level txt files. $Id$ should be replaced by the Git revision SHA-1 hex identifier at checkout, and reversed upon check-in.
- Maybe I used the wrong syntax for .gitattributes?
- Automatically fill in and lock the Git field if known. If $Id$ does get replaced properly, we fill in the Git field and set it non-editable. But sometimes $Id$ doesn't get substituted at all. In that case, we allow the user to edit the field.
- Fixed bug in detection of whether $Id$ had been replaced.
- Fixed Primal Whisperer.
- Revert $Id$ changes.
- Ignore $Id$.
- Fixed Maggot Therapy and Sigil Blessing.
- Reverted Sigil Blessing. The implementation is a hack, but there is no scriptable way around it for now.
- Fixed Stoic Ephemera.
- Fixed Gobhobbler Rats. The Hellbent flag does not work in StaticAbility. Actually, it does work, I just missed the lower-cased b.
- A real fix for Gobhobbler Rats.
- Fixed Blind-Spot Giant, it now can't attack or block unless you control another Giant.
- Fixed the cc for Wings of Velis Vel.
- Fixed the CostDesc$ for Krovikan Sorcerer.
- Fixed Plumes of Peace, it no longer has Flash.
- Fixed the rest of the morph cards with StaticAbility.
- Ran Set Info Script.
- Fixed Slithery Stalker.
- Fix the unless cost for abilities.
- Fix the unless cost for spells. [Big changes in MagicStack included!]
- Moved repository.
- Moved the last of the commit logs from Git to changes.txt.
- Ran set info script.
- Updated Maven site url.
- Fixed Maven site links, Make unit test shorter, add svn rev to manifest.
- Fixed the activation cost for Wave Elemental.
- Do not create timestamped snapshots.
- Updated unit tests to make them less painful from command line. Fixed urls in Maven site home page.
- Updated project.
- Small cleanups to make Eclipse happy.
- Added a section dealing with java 7 issues to the readme.txt file.
- Added a section dealing with java 7 issues to the changes.txt file.
- Fixed link to slightlymagic docs.
- Fixed typo.
- Fixed Mistform Stalker, it's Flying ability is an activated ability.
- Removed SVar:RemAIDeck:True from four cards that the AI can now use.
- Modified xCount to make Daybreak Coronet scriptable.
- Added SVar:RemAIDeck:True to some cards that after further analysis and testing discovered that the AI will attempt to buff these cards and they will then go to the graveyard.
- Added the recent commit logs to changes.txt.
- Added issue tracking to maven site.
- Added javasvn provider to buildnumber plugin.
- Modified filterListByType method so isRemembered works correctly.
- Added support for "RememberChanged" to changeKnownOriginResolve.
- Fixed returning all exiled cards for Day of the Dragons and Portcullis. Issue #0000126.
- Changed Creature.isRemembered to Card.isRemembered.
- Fixed site. Starting refactor of deck generation.
- Fixed method signature.
- Cleanups.
- Added the recent commit logs to changes.txt.
- Added programmatic access to BuildID and Version through methods on FModel.getBuildInfo().
- Added class forge.model.BuildInfo with unit test.
- Added unit test for forge.model.FModel.
- Added exception class forge.model.MultipleForgeJarsFoundError.
- Updated forge.view.swing.Main with some preliminary code for progress monitoring.
- Reduced CheckStyle, FindBugs, and PMD violations in these files and in net.slightlymagic.braids.util.testng.BraidsAssertFunctions.
- Added missing package-info in net.slightlymagic.braids.util.testng.
- Added the new Dream 3 quest deck.
- Apparently Maven 3 does not support uniqueVersion for snapshots.
- Issue 120: Improve version and build ID in Crash Reports.
- forge.error.ErrorViewer now uses BuildInfo.toPrettyString() to display the version.
- Fixed some CheckStyle violations in ErrorViewer.
- Added forge.model.BuildInfo.toPrettyString method.
- Removed obsolete VERSION field from forge.properties.NewConstants. (Java)
- Removed obsolete property "program/version" from res/main.properties.
- Replaced the Divination spells with Sleep in the quest deck Dream 3.
- Added test-output to top svn:ignore.
- Update svn:ignore on more files; delete display_new_layout.xml (which gets recreated every game).
- Moved handling of Imprint exclusively to ChangeZone AF.
- Issue 106: Refactor Gui_NewGame. Moved preferences to FModel.
- Updated former references to preferences to use FModel in forge.GuiDisplay4 and in forge.view.swing.OldGuiNewGame.
- Added simple unit test.
- Reworked Mimic Vat using only the RememberChanged.
- Added the recent commit logs to changes.txt.
- Fixed Echoing Ruin, it is now a Sorcery.
- Added support for "ClearImprinted" to Cleanup AF. Updated Mimic Vat.
- Issue 106: Continue refactoring code from Gui_NewGame to other classes. Moved most of forge.view.swing.Main.main's code into forge.model.FModel and forge.view.swing.ApplicationView. Tested and seems to work OK. Reduced Checkstyle, FindBugs, and PMD output in all changed files.
- Eliminate compiler warnings from the various class files. This involved commenting out some variables, among other things.
- Spellbinder can only imprint Instants.
- Added the recent commit logs to changes.txt.
- Quest Cardshop: after selling a card the picture at the right is being updated properly.
- M12 is already T2, so it should be added here too.
- Minor api changes in preparation for Gui_WinLose refactoring.
- Extended Setup Game State. Added named parameters. Tapped = If this is True,well... the card is tapped, ofc. SummonSick = If this is True, the card has Summoning Sickness. Counters = A comma-separated list of counters on the card. Morphed = If this is True, the card is facedown. (It must have the morph keyword for this to work.) Set = Like you previously set SetCode.If absent, the latest printing is used. Ex. "AICardsInPlay=Aphetto Alchemist|Set:ONS|Tapped:True|SummonSick:True|Counters:P1P1,P1P1,M0M2|Morphed:True; Memnite"
- Removed misleading comments.
- Fixed Nameless Inversion so that it removes creature subtypes from target creature.
- First cut of 5 color deck generator.
- Added the recent commit logs to changes.txt.
- Fixed bugs related to Animate AF, see bug issue #137.
- Removed coburtura reports for now.
- Fixed releasedVersion in pom.xml.
- Updates to checkstyle, new version of plugin needs cachefile prop.
- Fixed javadoc comments.
- Added support for RemoveSuperTypes, RemoveCardTypes, RemoveSubTypes, and RemoveCreatureTypes to Animate AF.
- Fixed Nameless Inversion to only remove creature types.
- Added the recent commit logs to changes.txt.
- Replaced a couple of foreach loops with regular for-loops to avoid ConcurrentModificationException in TriggerHandler.
- Fixed Howling Banshee ETB Check.
- Hide old deck generators.
- Fixed problem with checkstyle eclipse integration.
- Ran set info script.
- Added the recent commit logs to changes.txt.
- Fixed .checkstyle configuration.
- Moved Marsh Flitter to correct folder.
- Added the recent commit logs to changes.txt.
- Added the new card list to changes.txt.
- Alphabetized the new card listing in cards.txt.
- Renamed the quest deck Rogue 3 to Sabertooth 3.
- Issue 106: Add splash screen just under progress bar, and load all cards at startup.
- Reduce CheckStyle, FindBugs, and PMD output for recently changed files.
- Added the recent commit logs to changes.txt and made a few edits. Preparing for the next beta.
- Preparing the changes.txt file for the next bi-weekly build and release.
Many people helped with this version. A special thank you goes out to them:
Many people helped with this version. A special thank you goes out to them. (Attempted to list names alphabetically):
Friar Sol
Sloth
Dave
Rob Cashwalker
Braids
Max mtg
Jeff Wadsworth
Hellfish
ArsenalNut
Starcrash
Dave
Doublestrike
Friar Sol
Hellfish
Marc
Corwin
Max mtg
Night Shadow
Nordos
Rob Cashwalker
Slapshot5
Sloth
Chris H
Added many cards, including:
Amber Prison
Amoeboid Changeling
Ashes of the Fallen
Ashnod's Battle Gear
Balduvian Hydra
Bitter Ordeal
Chaos Warp
Chariot of the Sun
Darksteel Pendant
Daybreak Coronet
Dwarven Song
Elephant Resurgence
Emblem of the Warmind
Endoskeleton
Everglove Courier
Flamestick Courier
Flowstone Armor
Frenzy Sliver
Frightshroud Courier
Ghosthelm Courier
Grozoth
Hallowed Healer
Heal the Scars
Heavens Gate
Heed the Mists
Hisoka's Guard
Ice Floe
Infernal Genesis
Judge Unworthy
Llanowar Teborn
Lowland Oaf
Lumithread Field
Lys Alana Scarblade
Mana Leech
Marsh Flitter
Militia's Pride
Mimic Vat
Mistmeadow Witch
Mole Worms
Nectar Faerie
Oni Possession
Open the Vaults
Pact of the Titan
Petrified Plating
Pit Spawn
Planar Guide
Portcullis
Putrid Cyclops
Pyromancer's Swath
Reality Anchor
Remembrance
Rest for the Weary
Restock
Riddle of Lightning
Riptide Entrancer
Saltskitter
Sand Squid
Sea Kings Blessing
Spellbinder
Spirit Shield
Steamflogger Boss
Sylvan Paradise
Tawnos's Weaponry
Thalakos Dreamsower
Tidewater Minion
Touch of Darkness
Treacherous Urge
Veiled Serpent
View from Above
Visions of Beyond
Weed Strangle
Whip Vine
Whirlpool Whelm
Workfang Behemoth
Worldgorger Dragon
Zelyon Sword
Al-abara's Carpet
Altar's Reap
Chameleon Blur
Clockwork Avian
Clockwork Beast
Clockwork Steed
Clockwork Swarm
Deathcurse Ogre
Devouring Strossus
Distorting Wake
Divine Light
Endure
Ethereal Haze
Firebrand Ranger
Goblin Furrier
Harmless Assault
Hearth Kami
Horizon Seed
Hundred-Talon Kami
Indentured Oaf
Kitsune Healer
Llanowar Vanguard
Lost Order of Jarkeld
Luminesce
Magebane Armor
Magus of the Mirror
Personal Sanctuary
Phyrexian Reaper
Phyrexian Slayer
Powerleech
Primeval Light
Radiant Kavu
Runic Repetition
Safe Passage
Scarecrow
Skeletal Scrying
Soul Conduit
Spare from Evil
Tanglesap
Transmute Artifact
Venarian Glimmer
Woodland Sleuth
Xenic Poltergeist
end

58
pom.xml
View File

@@ -5,7 +5,7 @@
<artifactId>forge</artifactId>
<packaging>jar</packaging>
<name>Forge</name>
<version>1.1.2</version>
<version>1.1.5</version>
<description>
Forge lets you play the card game Magic: The Gathering against a computer opponent
using all of the rules.
@@ -117,8 +117,8 @@
</licenses>
<scm>
<connection>scm:svn:http://svn.slightlymagic.net/forge/tags/forge-1.1.2</connection>
<developerConnection>scm:svn:http://svn.slightlymagic.net/forge/tags/forge-1.1.2</developerConnection>
<connection>scm:svn:http://svn.slightlymagic.net/forge/tags/forge-1.1.5</connection>
<developerConnection>scm:svn:http://svn.slightlymagic.net/forge/tags/forge-1.1.5</developerConnection>
</scm>
<prerequisites>
@@ -156,8 +156,8 @@
</execution>
</executions>
<configuration>
<revisionOnScmFailure>0000</revisionOnScmFailure>
<providerImplementations>
<svn>javasvn</svn>
</providerImplementations>
</configuration>
</plugin>
@@ -165,11 +165,12 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<version>2.3.1</version>
<version>2.3.2</version>
<configuration>
<archive>
<manifest>
<addDefaultImplementationEntries>true</addDefaultImplementationEntries>
<addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
</manifest>
<manifestEntries>
<Implementation-Build>${buildNumber}</Implementation-Build>
@@ -224,6 +225,7 @@
<artifactId>maven-assembly-plugin</artifactId>
<version>2.2.1</version><!--$NO-MVN-MAN-VER$-->
<configuration>
<attach>false</attach>
<descriptorRefs>
<descriptorRef>jar-with-dependencies</descriptorRef>
</descriptorRefs>
@@ -268,7 +270,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-deploy-plugin</artifactId>
<version>2.6</version>
<version>2.7</version>
<dependencies>
<dependency>
<groupId>org.apache.maven.wagon</groupId>
@@ -301,10 +303,17 @@
<executions>
<execution>
<id>released-version</id>
<phase>validate</phase>
<goals>
<goal>released-version</goal>
</goals>
</execution>
<execution>
<id>parse-version</id>
<goals>
<goal>parse-version</goal>
</goals>
</execution>
</executions>
</plugin>
@@ -354,6 +363,9 @@
<goal>
released-version
</goal>
<goal>
parse-version
</goal>
</goals>
</pluginExecutionFilter>
<action>
@@ -581,10 +593,20 @@
<artifactId>ant-commons-logging</artifactId>
<version>1.8.2</version>
</dependency>
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-lang3</artifactId>
<version>3.0.1</version>
</dependency>
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-io</artifactId>
<version>1.3.2</version>
</dependency>
<dependency>
<groupId>commons-discovery</groupId>
<artifactId>commons-discovery</artifactId>
<version>20040218.194635</version>
<version>0.5</version>
</dependency>
<dependency>
<groupId>axis</groupId>
@@ -659,7 +681,7 @@
<plugin>
<groupId>com.akathist.maven.plugins.launch4j</groupId>
<artifactId>launch4j-maven-plugin</artifactId>
<version>1.3.3</version>
<version>1.3.4</version>
<executions>
<execution>
<id>l4j-gui</id>
@@ -686,12 +708,12 @@
<maxHeapSize>1024</maxHeapSize>
</jre>
<versionInfo>
<fileVersion>${releasedVersion.version}.0</fileVersion>
<txtFileVersion>${releasedVersion.version}.0</txtFileVersion>
<fileVersion>${parsedVersion.majorVersion}.${parsedVersion.minorVersion}.${parsedVersion.incrementalVersion}.0</fileVersion>
<txtFileVersion>${parsedVersion.majorVersion}.${parsedVersion.minorVersion}.${parsedVersion.incrementalVersion}.0</txtFileVersion>
<fileDescription>Forge</fileDescription>
<copyright>Forge</copyright>
<productVersion>${releasedVersion.version}.0</productVersion>
<txtProductVersion>${releasedVersion.version}.0</txtProductVersion>
<productVersion>${parsedVersion.majorVersion}.${parsedVersion.minorVersion}.${parsedVersion.incrementalVersion}.0</productVersion>
<txtProductVersion>${parsedVersion.majorVersion}.${parsedVersion.minorVersion}.${parsedVersion.incrementalVersion}.0</txtProductVersion>
<productName>Forge</productName>
<internalName>forge</internalName>
<originalFilename>forge.exe</originalFilename>
@@ -772,6 +794,12 @@
<goal>released-version</goal>
</goals>
</execution>
<execution>
<id>parse-version</id>
<goals>
<goal>parse-version</goal>
</goals>
</execution>
<execution>
<id>attach-distribution</id>
<phase>package</phase>
@@ -878,6 +906,12 @@
<goal>released-version</goal>
</goals>
</execution>
<execution>
<id>parse-version</id>
<goals>
<goal>parse-version</goal>
</goals>
</execution>
<execution>
<id>attach-distribution-osx</id>
<phase>package</phase>

View File

@@ -11,8 +11,8 @@ if not os.path.exists(pathToMtgData) :
raw_input("")
sys.exit()
if not os.path.isdir(sys.path[0] + os.sep + 'PerSetTracking Results') :
os.mkdir(sys.path[0] + os.sep + 'PerSetTracking Results')
if not os.path.isdir(sys.path[0] + os.sep + 'PerSetTrackingResults') :
os.mkdir(sys.path[0] + os.sep + 'PerSetTrackingResults')
forgeFolderFiles = []
forgeCards = []
@@ -90,7 +90,7 @@ for currentSet in setCodes :
currentMissing.sort()
currentImplemented.sort()
with open(sys.path[0] + os.sep + "PerSetTracking Results" + os.sep + "set_" + currentSet + ".txt", "w") as output :
with open(sys.path[0] + os.sep + "PerSetTrackingResults" + os.sep + "set_" + currentSet + ".txt", "w") as output :
output.write("Implemented (" + str(len(currentImplemented)) + "):\n")
for everyImplemented in currentImplemented :
output.write(everyImplemented + '\n')
@@ -112,7 +112,7 @@ totalPercentage = 0
totalMissing = 0
totalImplemented = 0
fullTotal = 0
with open(sys.path[0] + os.sep + "PerSetTracking Results" + os.sep + "CompleteStats.txt", "w") as statsfile:
with open(sys.path[0] + os.sep + "PerSetTrackingResults" + os.sep + "CompleteStats.txt", "w") as statsfile:
statsfile.write("Set: Implemented (Missing) / Total = Percentage Implemented\n")
for k,dataKey in totalDataList :
totalImplemented += dataKey[0]

View File

@@ -44,3 +44,4 @@ Index:39|Set0:M11|Name:Magic 2011|DraftPacks:3|LandSetCode:M11|SealedPacks:6
Index:40|Set0:SOM|Set1:MBS|Set2:NPH|Name:Scars of Mirrodin|DraftPacks:3|LandSetCode:SOM|SealedPacks:6
Index:41|Set0:M12|Name:Magic 2012|DraftPacks:3|LandSetCode:M12|SealedPacks:6
Index:42|Set0:ISD|Name:Innistrad|DraftPacks:3|LandSetCode:SOM|SealedPacks:6

View File

@@ -0,0 +1,74 @@
Set:10E|Commons:10|Uncommons:3|Rares:1
Set:2ED|Commons:11|Uncommons:3|Rares:1
Set:3ED|Commons:11|Uncommons:3|Rares:1
Set:4ED|Commons:11|Uncommons:3|Rares:1
Set:5DN|Commons:11|Uncommons:3|Rares:1
Set:5ED|Commons:11|Uncommons:3|Rares:1
Set:6ED|Commons:11|Uncommons:3|Rares:1
Set:7ED|Commons:10|Uncommons:3|Rares:1
Set:8ED|Commons:10|Uncommons:3|Rares:1
Set:9ED|Commons:10|Uncommons:3|Rares:1
Set:ALA|Commons:10|Uncommons:3|Rares:1
Set:ALL|Commons:8|Uncommons:3|Rares:1
Set:APC|Commons:11|Uncommons:3|Rares:1
Set:ARB|Commons:10|Uncommons:3|Rares:1
Set:ARN|Commons:6|Uncommons:2
Set:ATQ|Commons:5|Uncommons:2|Rares:1
Set:BOK|Commons:11|Uncommons:3|Rares:1
Set:CFX|Commons:10|Uncommons:3|Rares:1
Set:CHK|Commons:11|Uncommons:3|Rares:1
Set:CHR|Commons:9|Uncommons:3
Set:CSP|Commons:11|Uncommons:3|Rares:1
Set:DIS|Commons:11|Uncommons:3|Rares:1
Set:DRK|Commons:6|Rares:2
Set:DST|Commons:11|Uncommons:3|Rares:1
Set:EVE|Commons:11|Uncommons:3|Rares:1
Set:EXO|Commons:11|Uncommons:3|Rares:1
Set:FEM|Commons:5|Uncommons:2|Rares:1
Set:FUT|Commons:11|Uncommons:3|Rares:1
Set:GPT|Commons:11|Uncommons:3|Rares:1
Set:HML|Commons:6|Uncommons:2
Set:ICE|Commons:11|Uncommons:3|Rares:1
Set:INV|Commons:11|Uncommons:3|Rares:1
Set:JUD|Commons:11|Uncommons:3|Rares:1
Set:LEA|Commons:11|Uncommons:3|Rares:1
Set:LEB|Commons:11|Uncommons:3|Rares:1
Set:LEG|Commons:11|Uncommons:3|Rares:1
Set:LGN|Commons:11|Uncommons:3|Rares:1
Set:LRW|Commons:11|Uncommons:3|Rares:1
Set:M10|Commons:10|Uncommons:3|Rares:1
Set:M11|Commons:10|Uncommons:3|Rares:1
Set:M12|Commons:10|Uncommons:3|Rares:1
Set:MBS|Commons:10|Uncommons:3|Rares:1
Set:MIR|Commons:11|Uncommons:3|Rares:1
Set:MMQ|Commons:11|Uncommons:3|Rares:1
Set:MOR|Commons:11|Uncommons:3|Rares:1
Set:MRD|Commons:11|Uncommons:3|Rares:1
Set:NMS|Commons:11|Uncommons:3|Rares:1
Set:NPH|Commons:10|Uncommons:3|Rares:1
Set:ODY|Commons:11|Uncommons:3|Rares:1
Set:ONS|Commons:11|Uncommons:3|Rares:1
Set:PO2|Commons:11|Uncommons:3|Rares:1
Set:PCY|Commons:11|Uncommons:3|Rares:1
Set:PLC|Commons:11|Uncommons:3|Rares:1
Set:PLS|Commons:11|Uncommons:3|Rares:1
Set:POR|Commons:11|Uncommons:3|Rares:1
Set:PTK|Commons:5|Uncommons:2|Rares:1
Set:RAV|Commons:11|Uncommons:3|Rares:1
Set:ROE|Commons:10|Uncommons:3|Rares:1
Set:SCG|Commons:11|Uncommons:3|Rares:1
Set:SHM|Commons:11|Uncommons:3|Rares:1
Set:SOK|Commons:11|Uncommons:3|Rares:1
Set:SOM|Commons:10|Uncommons:3|Rares:1
Set:STH|Commons:11|Uncommons:3|Rares:1
Set:TMP|Commons:11|Uncommons:3|Rares:1
Set:TOR|Commons:11|Uncommons:3|Rares:1
Set:TSP|Commons:10|Uncommons:3|Rares:1|Special:1
Set:UDS|Commons:11|Uncommons:3|Rares:1
Set:ULG|Commons:11|Uncommons:3|Rares:1
Set:USG|Commons:11|Uncommons:3|Rares:1
Set:VIS|Commons:11|Uncommons:3|Rares:1
Set:WTH|Commons:11|Uncommons:3|Rares:1
Set:WWK|Commons:10|Uncommons:3|Rares:1
Set:ZEN|Commons:10|Uncommons:3|Rares:1
Set:ISD|Commons:10|Uncommons:3|Rares:1

View File

@@ -0,0 +1,5 @@
Name:Standard|Sets:SOM, MBS, NPH, M12, ISD
Name:Extended|Sets:ALA, CFX, ARB, M10, ZEN, WWK, ROE, M11, SOM, MBS, NPH, M12, ISD|Banned:Storeforge Mystic; Jace, the Mind Sculptor; Ponder; Preordain; Mental Misstep
Name:Modern|Sets:8ED, MRD, DST, 5DN, CHK, BOK, SOK, 9ED, RAV, GPT, DIS, CSP, TSP, PLC, FUT, 10E, LRW, EVE, SHM, MOR, ALA, CFX, ARB, M10, ZEN, WWK, ROE, M11, SOM, MBS, NPH, M12, ISD|Banned:Ancestral Vision; Ancient Den; Bitterblossom; Chrome Mox; Dark Depths; Dread Return; Glimpse of Nature; Golgari Grave-Troll; Great Furnace; Hypergenesis; Jace, the Mind Sculptor; Mental Misstep; Seat of the Synod; Sensei's Divining Top; Stoneforge Mystic; Skullclamp; Sword of the Meek; Tree of Tales; Umezawa's Jitte; Valakut, the Molten Pinnacle; Vault of Whispers; Blazing Shoal; Cloudpost is banned; Green Sun's Zenith; Ponder; Preordain; Rite of Flame
Name:Legacy|Banned:Amulet of Quoz; Ancestral Recall; Balance; Bazaar of Baghdad; Black Lotus; Black Vise; Bronze Tablet; Channel; Chaos Orb; Contract from Below; Darkpact; Demonic Attorney; Demonic Consultation; Demonic Tutor; Earthcraft; Falling Star; Fastbond; Flash; Frantic Search; Goblin Recruiter; Gush; Hermit Druid; Imperial Seal; Jeweled Bird; Land Tax; Library of Alexandria; Mana Crypt; Mana Drain; Mana Vault; Memory Jar; Mind Twist; Mind's Desire; Mishra's Workshop; Mox Emerald; Mox Jet; Mox Pearl; Mox Ruby; Mox Sapphire; Mystical Tutor; Necropotence; Oath of Druids; Rebirth; Shahrazad; Skullclamp; Sol Ring; Strip Mine; Survival of the Fittest; Tempest Efreet; Time Vault; Time Walk; Timetwister; Timmerian Fiends; Tinker; Tolarian Academy; Vampiric Tutor; Wheel of Fortune; Windfall; Worldgorger Dragon; Yawgmoth's Bargain; Yawgmoth's Will; Mental Misstep
Name:Vintage|Banned:Amulet of Quoz; Bronze Tablet; Chaos Orb; Contract from Below; Darkpact; Demonic Attorney; Falling Star; Jeweled Bird; Rebirth; Shahrazad; Tempest Efreet; Timmerian Fiends

View File

@@ -1,4 +1,4 @@
Index:0|Code2:MBP|Code3:MBP|Name:Media Insert Promo
Index:0|Code2:MBP|Code3:MBP|Name:Media Insert Promo|Alias:PRO
Index:1|Code2:A|Code3:LEA|Name:Limited Edition Alpha
Index:2|Code2:B|Code3:LEB|Name:Limited Edition Beta
Index:3|Code2:U|Code3:2ED|Name:Unlimited
@@ -23,7 +23,7 @@ Index:19|Code2:WL|Code3:WTH|Name:Weatherlight
Index:20|Code2:TE|Code3:TMP|Name:Tempest
Index:21|Code2:SH|Code3:STH|Name:Stronghold
Index:22|Code2:EX|Code3:EXO|Name:Exodus
Index:23|Code2:P2|Code3:PO2|Name:Portal Second Age
Index:23|Code2:P2|Code3:PO2|Name:Portal Second Age|Alias:P02
Index:24|Code2:US|Code3:USG|Name:Urza's Saga
Index:25|Code2:UL|Code3:ULG|Name:Urza's Legacy
Index:26|Code2:6E|Code3:6ED|Name:Classic (Sixth Edition)
@@ -32,7 +32,7 @@ Index:28|Code2:P3|Code3:PTK|Name:Portal Three Kingdoms
Index:29|Code2:ST|Code3:S99|Name:Starter 1999
Index:30|Code2:MM|Code3:MMQ|Name:Mercadian Masques
Index:31|Code2:NE|Code3:NMS|Name:Nemesis
Index:31|Code2:NE|Code3:NMS|Name:Nemesis|Alias:NEM
Index:32|Code2:S2K|Code3:S00|Name:Starter 2000
Index:33|Code2:PY|Code3:PCY|Name:Prophecy
Index:34|Code2:IN|Code3:INV|Name:Invasion
@@ -68,9 +68,9 @@ Index:60|Code2:10E|Code3:10E|Name:Core Set - Tenth Edition
Index:61|Code2:LRW|Code3:LRW|Name:Lorwyn
Index:62|Code2:MOR|Code3:MOR|Name:Morningtide
Index:63|Code2:SHM|Code3:SHM|Name:Shadowmoor
Index:64|Code2:EVE|Code3:EVE|Name:Eventide
Index:64|Code2:EVE|Code3:EVE|Name:Eventide|Alias:EVT
Index:65|Code2:ALA|Code3:ALA|Name:Shards of Alara
Index:66|Code2:CFX|Code3:CFX|Name:Conflux
Index:66|Code2:CFX|Code3:CFX|Name:Conflux|Alias:CON
Index:67|Code2:ARB|Code3:ARB|Name:Alara Reborn
Index:68|Code2:M10|Code3:M10|Name:Magic 2010
Index:69|Code2:ZEN|Code3:ZEN|Name:Zendikar
@@ -82,4 +82,5 @@ Index:73|Code2:SOM|Code3:SOM|Name:Scars of Mirrodin
Index:74|Code2:MBS|Code3:MBS|Name:Mirrodin Besieged
Index:75|Code2:NPH|Code3:NPH|Name:New Phyrexia
Index:76|Code2:COM|Code3:COM|Name:Commander
Index:77|Code2:M12|Code3:M12|Name:Magic 2012
Index:77|Code2:M12|Code3:M12|Name:Magic 2012
Index:78|Code2:ISD|Code3:ISD|Name:Innistrad

View File

@@ -1,3 +0,0 @@
Commons:10
Uncommons:3
Rares:1

View File

@@ -1,3 +0,0 @@
Commons:11
Uncommons:3
Rares:1

View File

@@ -1,3 +0,0 @@
Commons:11
Uncommons:3
Rares:1

View File

@@ -1,3 +0,0 @@
Commons:11
Uncommons:3
Rares:1

View File

@@ -1,3 +0,0 @@
Commons:11
Uncommons:3
Rares:1

View File

@@ -1,3 +0,0 @@
Commons:11
Uncommons:3
Rares:1

View File

@@ -1,3 +0,0 @@
Commons:11
Uncommons:3
Rares:1

View File

@@ -1,3 +0,0 @@
Commons:10
Uncommons:3
Rares:1

View File

@@ -1,3 +0,0 @@
Commons:10
Uncommons:3
Rares:1

View File

@@ -1,3 +0,0 @@
Commons:10
Uncommons:3
Rares:1

View File

@@ -1,3 +0,0 @@
Commons:11
Uncommons:3
Rares:1

View File

@@ -1,4 +0,0 @@
Commons:10
Uncommons:3
Rares:1
Mythics:1

View File

@@ -1,3 +0,0 @@
Commons:8
Uncommons:3
Rares:1

View File

@@ -1,3 +0,0 @@
Commons:11
Uncommons:3
Rares:1

View File

@@ -1,4 +0,0 @@
Commons:10
Uncommons:3
Rares:1
Mythics:1

View File

@@ -1,2 +0,0 @@
Commons:6
Uncommons:2

View File

@@ -1,3 +0,0 @@
Commons:5
Uncommons:2
Rares:1

View File

@@ -1,3 +0,0 @@
Commons:11
Uncommons:3
Rares:1

View File

@@ -1,3 +0,0 @@
Commons:11
Uncommons:3
Rares:1

View File

@@ -1,4 +0,0 @@
Commons:10
Uncommons:3
Rares:1
Mythics:1

View File

@@ -1,3 +0,0 @@
Commons:11
Uncommons:3
Rares:1

View File

@@ -1,2 +0,0 @@
Commons:9
Uncommons:3

View File

@@ -1,3 +0,0 @@
Commons:11
Uncommons:3
Rares:1

View File

@@ -1,3 +0,0 @@
Commons:11
Uncommons:3
Rares:1

View File

@@ -1,2 +0,0 @@
Commons:6
Rares:2

View File

@@ -1,3 +0,0 @@
Commons:11
Uncommons:3
Rares:1

View File

@@ -1,3 +0,0 @@
Commons:11
Uncommons:3
Rares:1

View File

@@ -1,3 +0,0 @@
Commons:11
Uncommons:3
Rares:1

View File

@@ -1,3 +0,0 @@
Commons:5
Uncommons:2
Rares:1

View File

@@ -1,3 +0,0 @@
Commons:11
Uncommons:3
Rares:1

View File

@@ -1,3 +0,0 @@
Commons:11
Uncommons:3
Rares:1

View File

@@ -1,2 +0,0 @@
Commons:6
Uncommons:2

View File

@@ -1,3 +0,0 @@
Commons:11
Uncommons:3
Rares:1

View File

@@ -1,3 +0,0 @@
Commons:11
Uncommons:3
Rares:1

View File

@@ -1,3 +0,0 @@
Commons:11
Uncommons:3
Rares:1

View File

@@ -1,3 +0,0 @@
Commons:11
Uncommons:3
Rares:1

View File

@@ -1,3 +0,0 @@
Commons:11
Uncommons:3
Rares:1

View File

@@ -1,3 +0,0 @@
Commons:11
Uncommons:3
Rares:1

View File

@@ -1,3 +0,0 @@
Commons:11
Uncommons:3
Rares:1

View File

@@ -1,3 +0,0 @@
Commons:11
Uncommons:3
Rares:1

View File

@@ -1,4 +0,0 @@
Commons:10
Uncommons:3
Rares:1
Mythics:1

View File

@@ -1,4 +0,0 @@
Commons:10
Uncommons:3
Rares:1
Mythics:1

View File

@@ -1,4 +0,0 @@
Commons:10
Uncommons:3
Rares:1
Mythics:1

View File

@@ -1,4 +0,0 @@
Commons:10
Uncommons:3
Rares:1
Mythics:1

View File

@@ -1,3 +0,0 @@
Commons:11
Uncommons:3
Rares:1

View File

@@ -1,3 +0,0 @@
Commons:11
Uncommons:3
Rares:1

View File

@@ -1,3 +0,0 @@
Commons:11
Uncommons:3
Rares:1

View File

@@ -1,3 +0,0 @@
Commons:11
Uncommons:3
Rares:1

View File

@@ -1,3 +0,0 @@
Commons:11
Uncommons:3
Rares:1

View File

@@ -1,4 +0,0 @@
Commons:10
Uncommons:3
Rares:1
Mythics:1

View File

@@ -1,3 +0,0 @@
Commons:11
Uncommons:3
Rares:1

View File

@@ -1,3 +0,0 @@
Commons:11
Uncommons:3
Rares:1

View File

@@ -1,3 +0,0 @@
Commons:11
Uncommons:3
Rares:1

View File

@@ -1,3 +0,0 @@
Commons:11
Uncommons:3
Rares:1

View File

@@ -1,3 +0,0 @@
Commons:11
Uncommons:3
Rares:1

View File

@@ -1,3 +0,0 @@
Commons:11
Uncommons:3
Rares:1

View File

@@ -1,3 +0,0 @@
Commons:11
Uncommons:3
Rares:1

View File

@@ -1,3 +0,0 @@
Commons:5
Uncommons:2
Rares:1

View File

@@ -1,3 +0,0 @@
Commons:11
Uncommons:3
Rares:1

View File

@@ -1,4 +0,0 @@
Commons:10
Uncommons:3
Rares:1
Mythics:1

View File

@@ -1,3 +0,0 @@
Commons:11
Uncommons:3
Rares:1

View File

@@ -1,3 +0,0 @@
Commons:11
Uncommons:3
Rares:1

View File

@@ -1,3 +0,0 @@
Commons:11
Uncommons:3
Rares:1

View File

@@ -1,4 +0,0 @@
Commons:10
Uncommons:3
Rares:1
Mythics:1

View File

@@ -1,3 +0,0 @@
Commons:11
Uncommons:3
Rares:1

View File

@@ -1,3 +0,0 @@
Commons:11
Uncommons:3
Rares:1

View File

@@ -1,3 +0,0 @@
Commons:11
Uncommons:3
Rares:1

View File

@@ -1,4 +0,0 @@
Commons:10
Uncommons:3
Rares:1
Special:1

View File

@@ -1,3 +0,0 @@
Commons:11
Uncommons:3
Rares:1

View File

@@ -1,3 +0,0 @@
Commons:11
Uncommons:3
Rares:1

View File

@@ -1,3 +0,0 @@
Commons:11
Uncommons:3
Rares:1

View File

@@ -1,3 +0,0 @@
Commons:11
Uncommons:3
Rares:1

View File

@@ -1,3 +0,0 @@
Commons:11
Uncommons:3
Rares:1

View File

@@ -1,4 +0,0 @@
Commons:10
Uncommons:3
Rares:1
Mythics:1

View File

@@ -1,4 +0,0 @@
Commons:10
Uncommons:3
Rares:1
Mythics:1

263
res/cardTemplateScript.py Executable file
View File

@@ -0,0 +1,263 @@
#!/usr/bin/env python
pathToMtgData = "mtg-data.txt"
############IMPLEMENTATION FOLLOWS############
import os,sys,fnmatch
class Card:
def __init__(self, name):
self.name = name
self.cost = ""
self.types = ""
self.pt = ""
self.oracle = []
self.sets = ""
def initSets():
# Base Sets
forgeSets.append('LEA')
forgeSets.append('LEB')
forgeSets.append('2ED')
forgeSets.append('3ED')
forgeSets.append('4ED')
forgeSets.append('5ED')
forgeSets.append('6ED')
forgeSets.append('7ED')
forgeSets.append('8ED')
forgeSets.append('9ED')
forgeSets.append('10E')
forgeSets.append('M10')
forgeSets.append('M11')
forgeSets.append('M12')
# Multiplayer Sets
forgeSets.append('COM')
# Portal
forgeSets.append('POR')
forgeSets.append('PO2')
forgeSets.append('PTK')
# Starter
forgeSets.append('S99')
forgeSets.append('S00')
# Early Sets
forgeSets.append('ARN')
forgeSets.append('ATQ')
forgeSets.append('LEG')
forgeSets.append('DRK')
forgeSets.append('FEM')
forgeSets.append('HML')
# Ice Age
forgeSets.append('ICE')
forgeSets.append('ALL')
forgeSets.append('CSP')
# Mirage
forgeSets.append('MIR')
forgeSets.append('VIS')
forgeSets.append('WTH')
# Rath Cycle
forgeSets.append('TMP')
forgeSets.append('STH')
forgeSets.append('EXO')
# Artifacts Cycle
forgeSets.append('USG')
forgeSets.append('ULG')
forgeSets.append('UDS')
# Masques
forgeSets.append('MMQ')
forgeSets.append('NMS')
forgeSets.append('PCY')
# Invasion
forgeSets.append('INV')
forgeSets.append('PLS')
forgeSets.append('APC')
# Odyssey
forgeSets.append('ODY')
forgeSets.append('TOR')
forgeSets.append('JUD')
# Onslaught
forgeSets.append('ONS')
forgeSets.append('LGN')
forgeSets.append('SCG')
# Mirrodin
forgeSets.append('MRD')
forgeSets.append('DST')
forgeSets.append('5DN')
# Kamigawa
forgeSets.append('CHK')
forgeSets.append('BOK')
forgeSets.append('SOK')
# Ravnica
forgeSets.append('RAV')
forgeSets.append('GPT')
forgeSets.append('DIS')
# Time Spiral
forgeSets.append('TSP')
forgeSets.append('TSB')
forgeSets.append('PLC')
forgeSets.append('FUT')
# Lorwyn
forgeSets.append('LRW')
forgeSets.append('MOR')
# Shadowmoor
forgeSets.append('SHM')
forgeSets.append('EVE')
# Alara
forgeSets.append('ALA')
forgeSets.append('CFX')
forgeSets.append('ARB')
# Zendikar
forgeSets.append('ZEN')
forgeSets.append('WWK')
forgeSets.append('ROE')
# Scars of Mirrodin
forgeSets.append('SOM')
forgeSets.append('MBS')
forgeSets.append('NPH')
if not os.path.exists(pathToMtgData) :
print("This script requires the text version of Arch's mtg-data to be present.You can download it from slightlymagic.net's forum and either place the text version next to this script or edit this script and provide the path to the file at the top.")
print("Press Enter to exit")
raw_input("")
sys.exit()
forgeSets = []
mtgDataCards = {}
setCodes = []
tmpName = ""
line = ""
# initialize sets supported by Forge
initSets()
#Parse mtg-data
mtgdata = open(pathToMtgData,"r")
line = mtgdata.readline()
# Read set codes at top of file
while line != "\n" and line != "":
setCodes.append(line[0:3])
line = mtgdata.readline()
# loop over remaining file parsing cards
while line:
# Ignore blank lines
while line == "\n" and line != "":
line = mtgdata.readline()
# process card data
linesFound = 0
foundCost = False
foundType = False
foundPT = False
isPlaneswalker = False
oracleText = ""
prevLine = ""
while line != "\n" and line != "":
linesFound += 1
tmpLine = line
tmpLine = tmpLine.rstrip()
# First line is always the name
if linesFound == 1 :
mtgName = tmpLine
cardName = tmpLine.replace('AE', 'Ae')
card = Card(cardName)
# Second line is either cost or type
elif not foundCost :
if line[0] == '{' :
tmpLine = tmpLine.replace('}{',' ')
tmpLine = tmpLine.replace('{','')
tmpLine = tmpLine.replace('}','')
tmpLine = tmpLine.replace('/','')
card.cost = tmpLine
else :
card.cost = "no cost"
tmpLine = tmpLine.replace(' - ',' ');
card.types = tmpLine
foundType = True
foundCost = True
elif not foundType :
tmpLine = tmpLine.replace(' - ',' ');
card.types = tmpLine
foundType = True
elif not foundPT :
card.pt = tmpLine
foundPT = True
else :
if prevLine != '' : card.oracle.append(prevLine)
prevLine = tmpLine.replace(mtgName,'CARDNAME')
# if card is not creature, set foundPT to true
if foundType and not foundPT :
if card.types.find('Creature') == -1 and card.types.find('Planeswalker') == -1: foundPT = True
line = mtgdata.readline()
# found blank line or end of file so store last line as set info
card.sets = prevLine.rstrip()
# store Card object in hash table
mtgDataCards[cardName] = card
print 'WARNING: Card template contains bogus SetInfo for testing only!!!'
print ' Please remove the SetInfo before committing to repository\n'
inputName = raw_input("Enter Card Name: ")
inputName = inputName.rstrip()
while inputName != 'quit' :
if mtgDataCards.keys().count(inputName) != 0 :
cardData = mtgDataCards[inputName]
cleanName = cardData.name.lower()
cleanName = cleanName.replace("'",'')
cleanName = cleanName.replace(',','')
cleanName = cleanName.replace(' ','_')
print '\nName:'+cardData.name
print 'ManaCost:'+cardData.cost
print 'Types:'+cardData.types
print 'Text:no text'
if cardData.types.find('Creature') != -1:
print 'PT:'+cardData.pt
elif cardData.types.find('Planeswalker') != -1 :
print 'Loyalty:'+cardData.pt
print "\n<Script Start>"
for text in cardData.oracle :
print text
print "<Script End>\n"
tmpSets = cardData.sets
tmpSets = tmpSets.split(', ')
setInfo = [];
for edition in tmpSets :
edition = edition.split(' ');
if forgeSets.count(edition[0]) != 0 :
if edition[1] == 'C' :
rarity = 'Common'
elif edition[1] == 'U' :
rarity = 'Uncommon'
elif edition[1] == 'R' :
rarity = 'Rare'
elif edition[1] == 'M' :
rarity = 'Mythic'
setInfoStr = 'SetInfo:'+edition[0]+'|'+rarity+'|'+'http://dummy.com/dummy.jpg'
setInfo.append(setInfoStr)
print 'SVar:Rarity:'+rarity
print 'SVar:Picture:http://www.wizards.com/global/images/magic/general/'+cleanName+'.jpg'
for edition in setInfo : print edition
print 'End\n'
else :
print inputName+' not found\n'
inputName = raw_input("Enter Card Name: ")
inputName = inputName.rstrip()

View File

@@ -12,4 +12,5 @@ K:CARDNAME enters the battlefield tapped.
SVar:Rarity:Common
SVar:Picture:http://www.wizards.com/global/images/magic/general/abandoned_outpost.jpg
SetInfo:ODY|Common|http://magiccards.info/scans/en/od/312.jpg
Oracle:Abandoned Outpost enters the battlefield tapped.\n{T}: Add {W} to your mana pool.\n{T}, Sacrifice Abandoned Outpost: Add one mana of any color to your mana pool.
End

View File

@@ -0,0 +1,14 @@
Name:Abattoir Ghoul
ManaCost:3 B
Types:Creature Zombie
Text:no text
PT:3/2
K:First Strike
T:Mode$ ChangesZone | Origin$ Battlefield | Destination$ Graveyard | ValidCard$ Creature.DamagedBy | TriggerZones$ Battlefield | Execute$ TrigGainLife | TriggerDescription$ Whenever a creature dealt damage by CARDNAME this turn dies, you gain life equal to that creature's toughness.
SVar:TrigGainLife:AB$ GainLife | Cost$ 0 | Defined$ You | LifeAmount$ X
SVar:X:TriggeredCard$CardToughness
SVar:Rarity:Uncommon
SVar:Picture:http://www.wizards.com/global/images/magic/general/abattoir_ghoul.jpg
SetInfo:ISD|Uncommon|http://magiccards.info/scans/en/isd/85.jpg
Oracle:First strike\nWhenever a creature dealt damage by Abattoir Ghoul this turn dies, you gain life equal to that creature's toughness.
End

View File

@@ -9,4 +9,5 @@ SVar:Rarity:Uncommon
SVar:Picture:http://www.wizards.com/global/images/magic/general/abbey_gargoyles.jpg
SetInfo:HML|Uncommon|http://magiccards.info/scans/en/hl/101.jpg
SetInfo:5ED|Uncommon|http://magiccards.info/scans/en/5e/277.jpg
Oracle:Flying, protection from red
End

View File

@@ -0,0 +1,12 @@
Name:Abbey Griffin
ManaCost:3 W
Types:Creature Griffin
Text:no text
PT:2/2
K:Flying
K:Vigilance
SVar:Rarity:Common
SVar:Picture:http://www.wizards.com/global/images/magic/general/abbey_griffin.jpg
SetInfo:ISD|Common|http://magiccards.info/scans/en/isd/1.jpg
Oracle:Flying, vigilance
End

View File

@@ -8,4 +8,5 @@ SVar:RemAIDeck:True
SVar:Rarity:Common
SVar:Picture:http://www.wizards.com/global/images/magic/general/abbey_matron.jpg
SetInfo:HML|Common|http://magiccards.info/scans/en/hl/102.jpg|2
Oracle:{W}, {T}: Abbey Matron gets +0/+3 until end of turn.
End

View File

@@ -13,4 +13,5 @@ SVar:Rarity:Uncommon
SVar:Picture:http://www.wizards.com/global/images/magic/general/abduction.jpg
SetInfo:WTH|Uncommon|http://magiccards.info/scans/en/wl/30.jpg
SetInfo:6ED|Uncommon|http://magiccards.info/scans/en/6e/55.jpg
Oracle:Enchant creature\nWhen Abduction enters the battlefield, untap enchanted creature.\nYou control enchanted creature.\nWhen enchanted creature dies, return that card to the battlefield under its owner's control.
End

View File

@@ -2,9 +2,10 @@ Name:Abjure
ManaCost:U
Types:Instant
Text:no text
A:SP$ Counter | Cost$ U Sac<1/Permanent.Blue> | CostDesc$ As an additional cost to cast Abjure, sacrifice a blue permanent. | TargetType$ Spell | TgtPrompt$ Select target spell | ValidTgts$ Card | SpellDescription$ Counter target spell.
A:SP$ Counter | Cost$ U Sac<1/Permanent.Blue/blue permanent> | TargetType$ Spell | TgtPrompt$ Select target spell | ValidTgts$ Card | SpellDescription$ Counter target spell.
SVar:RemAIDeck:True
SVar:Rarity:Common
SVar:Picture:http://www.wizards.com/global/images/magic/general/abjure.jpg
SetInfo:WTH|Common|http://magiccards.info/scans/en/wl/31.jpg
Oracle:As an additional cost to cast Abjure, sacrifice a blue permanent.\nCounter target spell.
End

View File

@@ -3,8 +3,9 @@ ManaCost:1 W W
Types:Instant
Text:no text
A:SP$ Destroy | Cost$ 1 W W | ValidTgts$ Artifact,Enchantment | TgtPrompt$ Select target artifact or enchantment | SpellDescription$ Destroy target artifact or enchantment.
SVar:AltCost:Discard<1/Plains>
SVar:AltCost:Cost$ Discard<1/Plains>
SVar:Rarity:Uncommon
SVar:Picture:http://www.wizards.com/global/images/magic/general/abolish.jpg
SetInfo:PCY|Uncommon|http://magiccards.info/scans/en/pr/1.jpg
Oracle:You may discard a Plains card rather than pay Abolish's mana cost.\nDestroy target artifact or enchantment.
End

View File

@@ -13,4 +13,5 @@ SVar:Rarity:Uncommon
SVar:Picture:http://www.wizards.com/global/images/magic/general/abomination.jpg
SetInfo:4ED|Uncommon|http://magiccards.info/scans/en/4e/1.jpg
SetInfo:LEG|Uncommon|http://magiccards.info/scans/en/lg/1.jpg
Oracle:Whenever Abomination blocks or becomes blocked by a green or white creature, destroy that creature at end of combat.
End

View File

@@ -8,4 +8,5 @@ A:AB$ TapAll | Cost$ U U U | ValidCards$ Creature.withoutFlying | SpellDescripti
SVar:Rarity:Rare
SVar:Picture:http://www.wizards.com/global/images/magic/general/aboshan_cephalid_emperor.jpg
SetInfo:ODY|Rare|http://magiccards.info/scans/en/od/58.jpg
End
Oracle:Tap an untapped Cephalid you control: Tap target permanent.\n{U}{U}{U}: Tap all creatures without flying.
End

View File

@@ -9,4 +9,5 @@ S:Mode$ Continuous | Affected$ Creature.EnchantedBy | AddKeyword$ Shroud | Thres
SVar:Rarity:Common
SVar:Picture:http://www.wizards.com/global/images/magic/general/aboshans_desire.jpg
SetInfo:ODY|Common|http://magiccards.info/scans/en/od/59.jpg
Oracle:Enchant creature\nEnchanted creature has flying.\nThreshold - Enchanted creature has shroud as long as seven or more cards are in your graveyard. (It can't be the target of spells or abilities.)
End

View File

@@ -7,4 +7,5 @@ SVar:RemAIDeck:True
SVar:Rarity:Common
SVar:Picture:http://www.wizards.com/global/images/magic/general/about_face.jpg
SetInfo:ULG|Common|http://magiccards.info/scans/en/ul/73.jpg
Oracle:Switch target creature's power and toughness until end of turn.
End

Some files were not shown because too many files have changed in this diff Show More