Compare commits

..

1164 Commits

Author SHA1 Message Date
Chris
e4eda93695 [maven-release-plugin] prepare release forge-1.3.8 2013-02-08 13:16:32 +00:00
Chris
9522efe24a - Preparing the changes.txt file for the next beta build and release. 2013-02-08 13:04:30 +00:00
Chris
858f0f0ed9 - Added the recent commit logs to changes.txt. Preparing for the beta build and release. 2013-02-08 12:55:52 +00:00
moomarc
d9d71ab997 - Added Breath of Fury 2013-02-08 12:43:30 +00:00
Maxmtg
dc1f58decf delete jpg booster pictures, replace them with PNG (since code wants png), ISD, DKA added 2013-02-08 08:35:56 +00:00
moomarc
1cd4e196b1 - Removed a debug output I'd left in an earlier commit 2013-02-08 08:03:49 +00:00
moomarc
fd42f11139 - Better fix for Goldmeadow 2013-02-08 07:51:29 +00:00
moomarc
af5f437d3c - Fixed the Chaos effect of Goldmeadow 2013-02-08 07:40:07 +00:00
moomarc
2bd98dff5c - Fixed ai not discarding cards in certain discard modes 2013-02-08 06:49:33 +00:00
moomarc
dbdf81e856 - Small fix for Sewer Nemesis 2013-02-08 05:43:31 +00:00
Sol
dfd37d14f0 - Convert Painter's Servant to Script 2013-02-08 04:02:22 +00:00
Sol
da83acb67c - Updating mtg-data.txt with GTC cards. 2013-02-08 03:41:52 +00:00
Sol
f1b240ff97 - Convert Curse of Misfortunes to Script 2013-02-08 03:31:32 +00:00
Sol
62a357ff65 - Fixing Domri Rade placing non-Creatures on the bottom of the library 2013-02-08 01:12:02 +00:00
Maxmtg
7b23e9d868 moved infiniteSupply flag into table model, since remove (that should not remove cards when supply is endless) method belongs to model layer. 2013-02-08 00:16:30 +00:00
Maxmtg
41b78e7313 moved that infiniteStock field from ItemPool to more approriate place 2013-02-08 00:01:50 +00:00
Maxmtg
63edb1601f avr, m13, rtr, gtc - pictures of boosters and fatpacks 2013-02-07 23:34:48 +00:00
myk
a577792fa1 make start button change appearance on focus 2013-02-07 22:28:32 +00:00
Sloth
e887f9d62f - Added a medium quest by Nordos: Cipher 2. 2013-02-07 21:31:57 +00:00
myk
b08eaf18f5 - make button-like FLabels act more like buttons
- can tab focus
  - space/enter to select
  - brighten on hover
- use previous "hover" border for focus indicator
- fix various layout and style bugs (e.g. too-short widths and missing hoverable properties)
2013-02-07 21:31:42 +00:00
Maxmtg
ead67174e2 fixing a crash when creature with B/G sword attacked AI (there was NPE on attempt to iterate over restrictions) 2013-02-07 20:53:04 +00:00
Maxmtg
9f2efbcf02 Added some text to winlose screen that would explain why player lost or won 2013-02-07 20:25:21 +00:00
myk
2ad1b57515 - change selection highlight in deck editor tables based on component focus to more clearly indicate which table has focus
- allow tab key to set focus to next component (e.g. prevent tables from swallowing tab and shift-tab)
- flicker-free reinstatement of current selection when table model data changes
2013-02-07 19:55:00 +00:00
moomarc
9b6d7d11d4 - Added Sewer Nemesis (thanks Rooger) 2013-02-07 18:03:09 +00:00
myk
d6b20d449a - don't let tables extend past bottom of deck editor page
- calculate the correct table row selection when multiple cards are bought at once
2013-02-07 13:19:06 +00:00
Chris
2ac3570840 - Added the recent commit logs to changes.txt. Preparing for the snapshot build release. 2013-02-07 13:02:09 +00:00
myk
58049bf017 don't select negative row after buying every last item in the spell shop 2013-02-07 12:30:30 +00:00
myk
d1fb51a898 use predicates instead of a custom count function 2013-02-07 12:15:44 +00:00
myk
0ee3219c99 use FButtons instead of FLabels on the AssignDamage dialog so default actions and tabbing work properly 2013-02-07 11:45:24 +00:00
swordshine
a6e42a73dd - Added some cards
- Vanguard: added Momir Vig, Simic Visionary Avatar
2013-02-07 11:19:37 +00:00
myk
c0c541832e add pack filter in spell shop 2013-02-07 10:50:38 +00:00
Maxmtg
e0a599fcbe getAvailableMana and mapManaSources accept any player as parameter, since AI wants to evaluate player's mana he might use to pump creatures 2013-02-07 09:15:09 +00:00
moomarc
32e0374166 - Added a deck editor icon for products. Hooked up the icon in FSkin and added a commented out basic hook for it in SEditorUtil 2013-02-07 07:29:17 +00:00
moomarc
aceff2002d - Added an ai check svar to Sheltered Valley so that it won't play it if it already has another one on the battlefield
- AiController.getLandsToPlay will now check NeedsToPlayVar and filter out relevant cards
2013-02-07 05:47:08 +00:00
Sol
5a9838c6d1 - Converting Sheltered Valley to script (no AI exists in hardcode, but we probably should an add an SVar to not play this if that player already controls one of these) 2013-02-07 04:22:44 +00:00
myk
f89efa6ae4 - reshow selected card when the listbox regains focus
- show current card /after/ the events stop firing so the card data doesn't get overwritten
2013-02-07 01:41:48 +00:00
myk
f552ffbed6 - add ctrl(cmd)+enter hotkey to auto button in ability chooser dialog
- scroll game log to top on display
2013-02-07 00:30:56 +00:00
myk
480124f407 - allow highlighting and copying of match log in ViewWinLose
- make saving layouts thread safe
2013-02-06 23:38:35 +00:00
Maxmtg
17b42ebf83 SpellAbility: Intrinsic/Extrinsic types were never assigned (removed)
setPaidList, beforePayManaAI, setAllReplacingObjects, hasReplacingObject, wasCancelled were never used (removed)
reduced visibility of setManaPart, 
finalized setReplicateManaCost, setXManaCost, setIsMultiKicker, setIsReplicate, setIsCycling, setConditions, (set/add)OptionalAdditionalCosts  since they were called by CardFactoryUtil only => all removed from WrappedAbility.java
2013-02-06 21:53:37 +00:00
Maxmtg
2075591430 SpellAbility: afterResolve and afterPayMana were removed, since they were not used.
little refactoring for global ruin
CardEdition: remove unused ctor
2013-02-06 21:13:10 +00:00
myk
987af8ba4f set button focus after match; this also gets the game log scrolling properly 2013-02-06 20:23:25 +00:00
myk
22859cec6c - allow spacebar to move cards in DualListBox and enter to select the OK button
- make color of listbox selection depend on listbox focus, not cell focus
- avoid NPE when attempting to start a challenge when there isn't one to start
2013-02-06 19:59:37 +00:00
myk
f7001a17f2 differentiate item hilight when a FList listbox has lost focus from when the listbox is selected
ensure the CardListViewer always appears in the center of the screen
2013-02-06 19:41:48 +00:00
Sloth
dae7d2f110 - Fixed Deathpact Angel. 2013-02-06 18:54:29 +00:00
myk
4bfaa9fcb1 move type parsing from private constructor to reader class; add comment on purpose of 2-letter codes 2013-02-06 18:11:43 +00:00
myk
71624be223 make set chooser dialog overlay-based instead of JDialog-based 2013-02-06 17:03:26 +00:00
moomarc
a81f97ae92 - Added Skill Borrower 2013-02-06 14:07:56 +00:00
Sloth
a942894fd7 - Fixed AI ignoring "DiscardValid" parameter. 2013-02-06 13:52:30 +00:00
Sloth
6777f40bd1 - Fixed Haste on suspended creatures. 2013-02-06 13:40:42 +00:00
moomarc
0461c169f4 - Improved Sedris, the Traitor King's script to better handle the exile at next EOT 2013-02-06 13:31:36 +00:00
Chris
2d2a317772 - Added the recent commit logs to changes.txt. Preparing for the snapshot build release. 2013-02-06 12:56:30 +00:00
moomarc
1b3110ee7c - Added Sedris, the Traitor King 2013-02-06 12:51:23 +00:00
RumbleBBU
458c879343 Minor technical improvement to a check in BoosterUtils.java. 2013-02-06 12:06:30 +00:00
myk
78fed8fede simplify and theme choose sets dialog 2013-02-06 11:54:06 +00:00
RumbleBBU
fa7cfb3c84 The Very Hard Jamuraa decks can now occasionally (rarely) give you special extra rewards. 2013-02-06 11:39:12 +00:00
myk
e000e107e3 add set type information to setdata.txt and store it via CardEdition 2013-02-06 10:36:29 +00:00
Maxmtg
e01a5af4b2 GameAction divided into 2 parts: original keeps cards' zone transitions, GameActionPlay.java holds methods for playing spells (mostly used by human player I guess)
in ComputerUtil demanded player to be AiPlayer for playeing spells
2013-02-06 09:35:27 +00:00
moomarc
2e421729f9 - Fixed Krosa Chaos trigger 2013-02-06 09:34:29 +00:00
myk
29564f37d7 ensure stats labels in deck editor are shown at the correct height on large displays
this works around a quirky interaction between WrapLayout and MigLayout that was causing interior cells to be properly resized but the cells surrounding them would not be, resulting in widgets that would be too large or too small for their unupdated containing cells
2013-02-06 09:19:56 +00:00
Maxmtg
ba80f2126d moved GameAction & its util class to forge.game 2013-02-06 07:06:58 +00:00
Maxmtg
7e804867de missing HumanPlayer.java for commit 19420 2013-02-06 06:47:16 +00:00
Maxmtg
cb1793eddf player.isHostileTo() renamed to more correct 'isOpponentOf()' 2013-02-06 06:41:51 +00:00
Maxmtg
9cd0afa0d8 CardEdition: removed ctor overload and made it private (editions must not be created by other code but nested Reader class anyway)
Player: isComputer and isHuman methods redefined as getType() == PlayerType(computer/human), no overloads needed in derived classes
2013-02-06 06:34:27 +00:00
moomarc
53635ddc1a - Cunning Giant will now interact correctly with planeswalkers 2013-02-06 06:03:50 +00:00
Maxmtg
d3bb37a368 Methods to test a string against a valid card type moved to forge.CardType
CommonDrawback: wrote in a single line the complicated chkAIDrawback method
removed unused imports
CardUtil.getRandom replaced with Aggregates.random
getReflectableMana uses Set as collection, so it does not have to check for duplicates before adding new items.
united two CMC calculation methods (one was getCMC from card that read characteristics while other took more factors into account)
2013-02-05 20:51:01 +00:00
Sloth
2ad0bae9f7 - Fixed CostTapType hanging when X=0. 2013-02-05 19:21:38 +00:00
Maxmtg
58fa5b34ea Added AIPlayer parameter to doTrigger and chkAIDrawback 2013-02-05 19:18:31 +00:00
Sloth
8ba3ad5b90 - Fixed Assemble the Legion. 2013-02-05 19:06:57 +00:00
moomarc
b6236a551f - Made sure Cunning Giant's replacement effect (for now) only triggers if it wasn't blocked, not also if it tramples over something. 2013-02-05 15:16:57 +00:00
moomarc
145b10596c - Added Cunning Giant (will convert to trigger if necessary) 2013-02-05 14:55:01 +00:00
Chris
e9739d1428 - Added the recent commit logs to changes.txt. Preparing for the snapshot build release. 2013-02-05 12:29:44 +00:00
moomarc
e90eae8450 - Removed duplicate sharesCreatureTypeWith property from isValid 2013-02-05 11:53:47 +00:00
RumbleBBU
ac7ce39877 Made it possible to include special rewards like predefined cards or duplicate cards in Quest duels.
Some notes:
- Special rewards for normal duels should be extremely rare, mostly for very hard opponents, 1 special reward per opponent, and always a percentage chance of getting the special reward (preferably less than 50%) rather getting a guaranteed reward.
- In the interests of downward compatibility, it is possible to define the Card Reward either in the [quest] portion (like before) or the [metadata] portion of the dck file. (Duels do not have the [quest] portion but if the definition were simply moved from [quest] to [metadata], all current challenge files would have stopped working properly.)
2013-02-05 11:37:16 +00:00
myk
ebe368ed9b remove cards from one table after adding them to the other table so the displayed card stays consistent with the focused card 2013-02-05 11:19:46 +00:00
moomarc
072cf04271 - Converted Alpha Status to script 2013-02-05 11:18:40 +00:00
myk
0e65ad2ebf Sell lands down to 50 when selling all extras in the card shop 2013-02-05 10:36:35 +00:00
Sloth
e63d914b47 - Fixed Ogre Slumlord. 2013-02-05 09:37:35 +00:00
Sloth
64e9f318ff - Fixed Verdant Haven. 2013-02-05 09:28:59 +00:00
Sloth
1bc856b908 - Another fix for AddToughness. 2013-02-05 09:28:08 +00:00
Sloth
263c357dfc - Fix last commit commiting WIP. 2013-02-05 09:23:53 +00:00
moomarc
f758bc9847 - Removed reminder text for suspend from Talon Gates. Description was too long for SA choice window so the second choice was hidden (on a 1280 wide display at least). We need to find a way to wrap text in the choice window when it would extend past the edge of the screen. 2013-02-05 09:22:10 +00:00
Sloth
d4d452270d - Fixed a bug with AddToughness. 2013-02-05 09:21:53 +00:00
moomarc
39168be85a - Added plane: Takenuma 2013-02-05 09:14:39 +00:00
moomarc
7c93ed151b - Added plane: Talon Gates 2013-02-05 08:58:08 +00:00
Maxmtg
a57034a374 GameAction - extract method * 3
GameActionUtil - uses common GuiDialog.confirm
CardFactoryLands - converted inlined class to nested
ChangeZoneEffect - removed stringbuilder wrapper (as it was not used anyway)
replaced isComputer/isHuman where it was clear and possible
2013-02-05 08:17:50 +00:00
myk
2e1d6e791d fix NPE in card detail when the card does not belong to any set (e.g. a token) 2013-02-05 08:05:40 +00:00
Maxmtg
db720acb01 predictThreatenedObjects moved from AbilityFactory to ComputerUtil (for now, will find a more specific place later)
GameActionUtil.payCostDuringAbilityResolve method now demands player parameter (though it is always human player)
2013-02-05 06:51:09 +00:00
Maxmtg
a1f7790968 replaced deprecated methods isHuman/isComputer with reference comparisons (to compare with acting player) and checks of player's hostility. 2013-02-05 06:38:30 +00:00
Maxmtg
fffdc4acc6 calls to AI-related methods require the player parameter to have AIPlayer type to enable calls to ai-specific methods (like acquiring aicontroller by aiplayer.getcontroller().getai() and performing something from it) without need to cast types) 2013-02-05 06:25:01 +00:00
Maxmtg
5c4931a520 Moved check for card controller (used in CardDetailPanel and ImageCache) to card class - that's not perfect, but at least eliminates code duplication. 2013-02-05 04:26:56 +00:00
Maxmtg
62126dc82d cosmetic changes in chooses (i'm thinking of a good way to make that choices player-independent) 2013-02-05 03:36:46 +00:00
Maxmtg
c071d4f738 remove unused imports 2013-02-05 03:34:55 +00:00
Maxmtg
12ad63f59f Converted inlined classes to nested 2013-02-05 03:34:40 +00:00
myk
f2054a3f8f make current deck stats widgets wrappable 2013-02-05 03:26:25 +00:00
myk
3d3414f099 wrap card catalog toggle filters when the tab is resized small 2013-02-05 01:55:13 +00:00
myk
1e0f67bcc9 set better width and sorting defaults 2013-02-05 00:47:19 +00:00
myk
b8b02be89e remove editor.preferences from repo -- it will get created as necessary 2013-02-05 00:27:06 +00:00
myk
4577e8ecce add default editor preferences file so missing preferences will always have a default value 2013-02-05 00:20:12 +00:00
Sloth
75cae91127 - Fixed broken Shandalar decks. 2013-02-04 19:50:15 +00:00
myk
d816c0b929 fix background coloring not being displayed in deck editor card detail rarity label
add tooltip for rarity label
2013-02-04 19:10:06 +00:00
Maxmtg
b3d03c9dd8 reverting unwanted changes from r19381 to core classes 2013-02-04 17:29:00 +00:00
myk
5059e7757e use bulk operations for card moving where ever possible to avoid stale GUI updates 2013-02-04 17:07:33 +00:00
Maxmtg
8fa9abc946 sideboarding affects the next match correctly 2013-02-04 15:36:22 +00:00
Chris
9481a8a27c - Cleared out the changes.txt file, now ready for new material. 2013-02-04 15:28:14 +00:00
Chris
c53d16f1f5 [maven-release-plugin] prepare for next development iteration 2013-02-04 14:18:21 +00:00
Chris
5ae15d7b96 [maven-release-plugin] prepare release forge-1.3.7 2013-02-04 14:18:09 +00:00
Chris
b9cafe6859 - Added the recent commit logs to changes.txt. Preparing for the beta build and release.
- Preparing the changes.txt file for the next beta build and release.
2013-02-04 14:04:49 +00:00
moomarc
401575dbd5 - Added plane: Truga Jungle 2013-02-04 13:38:53 +00:00
Maxmtg
353a159c2c CardDetailPanel 2013-02-04 13:30:28 +00:00
Chris
4262ee8141 [maven-release-plugin] prepare for next development iteration 2013-02-04 13:08:47 +00:00
Chris
9adaf86d50 [maven-release-plugin] prepare release forge-1.3.6 2013-02-04 13:08:32 +00:00
Chris
cf51732dd8 - Preparing the changes.txt file for the next beta build and release. 2013-02-04 12:57:07 +00:00
Chris
800826fc0d - Added the recent commit logs to changes.txt. Preparing for the beta build and release. 2013-02-04 12:52:16 +00:00
moomarc
ea2487a0a1 - Added plane: Trail of the Mage-Rings 2013-02-04 12:50:12 +00:00
Maxmtg
3773587b35 adjust conditions to prompt sideboarding 2013-02-04 11:47:04 +00:00
moomarc
63080ac68a - Cleanup (Ajani Goldmane's ultimate avatar's P/T was handled by both script and hardcoding) 2013-02-04 11:33:29 +00:00
moomarc
e4fd7f75f7 - Converted Sound the Call to script 2013-02-04 11:02:56 +00:00
moomarc
3d9049341a - Forgot to commit these changes with my last commit 2013-02-04 11:02:23 +00:00
myk
7e0a09d660 allow ctrl-enter to work from both the search textbox and the combobox 2013-02-04 10:25:06 +00:00
moomarc
94e8197d4b - Added plane: Velis Vel
- Converted Coat of Arms to script
- Fixed chaos trigger on The Hippodrome
2013-02-04 10:08:28 +00:00
myk
dc4b8c8e5b add tutorial on new filter and spell shop features 2013-02-04 10:04:56 +00:00
Maxmtg
810c2dc493 removed functions where they were not needed 2013-02-04 09:54:21 +00:00
Maxmtg
e72f9485c9 saves changes made by sideboarding until 3rd match (this one and prevoius commit do) 2013-02-04 09:46:15 +00:00
Maxmtg
c60dcdd34b 2013-02-04 09:44:05 +00:00
Maxmtg
e46a43e8ee CardDetailPanel - text composition moved to a separate method
a method to determine if a player may see cards cntrolld by other player
2013-02-04 09:37:54 +00:00
Maxmtg
809cc468d9 GameNew refactor - remove ante list and ai unplayables composition from code that builds libraries
removed variuos duplications in GameNew
moved sideboard code to PlayerController (to allow make an overload with AI sideboarding)
2013-02-04 09:35:46 +00:00
myk
7cc9e94a99 re-disable buying and selling cards when the full catalog is being displayed in the spell shop 2013-02-04 08:55:04 +00:00
Maxmtg
fc1c2d9eeb remove unused imports 2013-02-04 07:06:59 +00:00
myk
5c5c5898bf calculate how close a player is to completing a set in the spell shop 2013-02-04 06:40:00 +00:00
moomarc
92287f0277 - Improved Enchantment icon for deck editor 2013-02-04 05:59:39 +00:00
myk
6b5af9b46a fix basic land detection in sell excess cards routine 2013-02-04 03:40:48 +00:00
myk
34dd170f62 - add bulk addition and removal routines to editor model
- add button to sell excess duplicates of all cards in spell shop
- ensure table selection is restored properly after adding a card
2013-02-04 03:09:14 +00:00
Sloth
e5d4d84e00 - Updated 11 of the Shandalar World quest decks. 2013-02-03 18:58:39 +00:00
Maxmtg
cd9c815534 removed some calls to IsComputer in favour of comparision with player passed as parameter
checkConditions inlined
ComputerUtilCombat recieve ai player as parameter
2013-02-03 17:30:25 +00:00
Sloth
59df2417b8 - Fixed Unmorph targeting trigger freeze when Phase is set to skip. 2013-02-03 13:16:53 +00:00
Sloth
18d3b4bb27 - Fixed Khalni Garden freeze when Phase is set to skip. 2013-02-03 13:10:13 +00:00
Chris
e601af7dba - Added the recent commit logs to changes.txt. Preparing for the snapshot build release. 2013-02-03 12:24:53 +00:00
Sloth
5e7d0f4704 - Fix for Skullbriar, the Walking Grave. 2013-02-03 11:28:17 +00:00
myk
2582fd787e autoselect the items that were just added to the other list when choosing order for simultaneous abilities or cards from the sidebar between match rounds. this allows accidental moves to be undone with a single click 2013-02-03 07:34:41 +00:00
Chris
155bd97dfa - Added the recent commit logs to changes.txt. Preparing for the snapshot build release. 2013-02-02 15:14:33 +00:00
myk
d6212b16ca autoselect first item when choosing order of simultaneous abilities and autoselect next item when current item is added/removed 2013-02-02 11:41:37 +00:00
Sloth
e2f62c40fb - Updated 4 of the Shandalar World quest decks. 2013-02-02 11:04:57 +00:00
swordshine
92cdd08ec6 - Added spelldescription to Rhystic Syphon 2013-02-02 06:42:48 +00:00
swordshine
d627434d62 - Added Rhystic Syphon and Duplicant 2013-02-02 06:38:16 +00:00
ArsenalNut
f177be3e54 removed redundant check on copied card to make copies that are cast work with triggers 2013-02-02 03:56:29 +00:00
Sol
17a15fc12e - Convert Leeches to Script 2013-02-02 02:50:53 +00:00
Sol
9796a3220f - Convert Windfall to the script Whispering Madness uses 2013-02-02 02:25:25 +00:00
Sloth
1a0f60e73f - Restructured Destroy functions in GameAction to fix Knight of the Holy Nimbus with zero toughness. 2013-02-02 00:00:49 +00:00
Sloth
caca01df6b - Fixed Aven Mimeomancer. 2013-02-01 23:33:43 +00:00
Sloth
ef2e692f72 - Fixed AEtherize. 2013-02-01 23:29:08 +00:00
Sloth
1f53bc8152 - Updated 6 of the Shandalar World quest decks. 2013-02-01 23:16:03 +00:00
Sloth
1d199e1ff1 - Fixed Korozda Guildmage. 2013-02-01 23:14:25 +00:00
Sol
f25aaa9a79 - Convert Yosei to script 2013-02-01 22:57:32 +00:00
myk
c52f7b4586 add info in tooltip about clicking filter toggles 2013-02-01 22:41:42 +00:00
myk
1498975886 don't try to get tooltips for items that have disappeared from the table 2013-02-01 20:44:44 +00:00
Sloth
d9a89c0b99 - Fixed possible NPE in performTest checking "TargetsValid". 2013-02-01 17:52:33 +00:00
Sloth
33279a66f5 - Fixed Leyline Phantom bug. 2013-02-01 17:47:40 +00:00
Sloth
15ce13fe5a - Fixed Scorchwalker. 2013-02-01 17:45:18 +00:00
Sloth
f0dbf2fe29 - Fixed Skyblinder Staff. 2013-02-01 17:40:23 +00:00
myk
152e8fa9fc prevent bazaar current shop button from becoming unselected 2013-02-01 17:18:30 +00:00
myk
96b569cc24 - remove width restriction from challenger name widget
- make wins/best streak widget label multiline
2013-02-01 16:29:15 +00:00
Chris
32b3521193 - Added a fluff piece to the changes.txt file.
- Added the recent commit logs to changes.txt. Preparing for the snapshot build release.
2013-02-01 13:20:59 +00:00
myk
8fd045a32b highlight the enchantment icon in purple for the default skin so you can see it on the toggle button 2013-02-01 07:56:00 +00:00
myk
062461914e new painting algorithms for FLabel 2013-02-01 07:31:48 +00:00
moomarc
1547911488 - Added plane: The AEther Flues 2013-02-01 07:30:38 +00:00
moomarc
4cdbc3a39c - Uncommented Kaldra token in download links 2013-02-01 06:49:11 +00:00
moomarc
53465a2d06 - Fixed Skyship Weatherlight (was a typo in Artifact count) 2013-02-01 06:45:55 +00:00
myk
1ea1bbc398 rename "Edition (set)" menu item to "Sets" 2013-02-01 00:51:23 +00:00
myk
fbf6f177e8 - consolidate all card adding/removing logic so all paths update the stats correctly
- set focus on the catalog table when the deck editor opens so the arrow keys work immediately without having to click the mouse
- if multiple cards are selected, apply the add/remove operation to all of them, not just the first one
- hide the non-functional 'remove' buttons in draft mode
- protect against NPE when the cursor is hovering above a row that disappears just as swing is trying to get the tooltip
- add note to add button tooltip that the spacebar can be used as a shortcut
2013-02-01 00:50:12 +00:00
ArsenalNut
519fe84f71 fixed Wight of Precinct Six graveyard bonus 2013-01-31 23:09:21 +00:00
myk
e204c484eb remove superfluous Pair class and use apache's version 2013-01-31 16:17:52 +00:00
Chris
2b8e5199b0 - Added the recent commit logs to changes.txt. Preparing for the snapshot build release. 2013-01-31 12:27:39 +00:00
myk
b2fc003a67 allow filtering to a specific set, disallowing reprints in other sets 2013-01-31 11:02:43 +00:00
swordshine
b61fba478f - Added Muse Vessel
- Added cleanup to some cards
2013-01-31 08:36:37 +00:00
swordshine
a40c4f4eb8 - Added Skyship Weatherlight and Spelljack 2013-01-31 07:46:45 +00:00
swordshine
0d0ce9aa5f - Fixed Dragon Appeasement 2013-01-31 07:26:49 +00:00
myk
ed9730387e make room so the sorcery toggle filter shows up 2013-01-31 06:00:30 +00:00
swordshine
9a190c784e - Fixed Nightveil Specter (when the exiled card changes zone, remove it from the remembered list) 2013-01-31 05:26:56 +00:00
swordshine
e94ad22c42 - Added Kill-Suit Cultist
- Fixed Overlaid Terrain
2013-01-31 04:41:16 +00:00
myk
4dddfaa8c6 add full catalog view to spell shop so players can compare their libraries to the full list of available cards; this way they can determine how close they are to completing a set 2013-01-31 03:38:32 +00:00
myk
fd850d465a fix targeting layer /properly/ 2013-01-31 02:33:46 +00:00
myk
9f919d3c6e reapply the filters after the models have been initiated for all modes 2013-01-30 23:33:44 +00:00
myk
b062065ff9 prevent sealed mode from crashing 2013-01-30 23:29:14 +00:00
myk
e65e39f50f revert r19291 for now -- it was preventing the catalog from updating in the quest deck editor and spell shop 2013-01-30 23:00:14 +00:00
myk
7a48173b2c check in a new font for the default skin -- the existing one does not have vertical centering capabilities making the text on all labels permanently top-aligned -- will discuss on forum before making permanent 2013-01-30 22:34:29 +00:00
myk
25ecb5b0f7 prevent invalid properties from letting the deck editor load 2013-01-30 22:08:49 +00:00
myk
b007e3943c - fixed resize cursor not appearing when hovering between columns in table headers
- added forge-specific spinner widget (FSpinner)
- allowed labels to have their toggle state read externally and added configuration to set whether the onClick command is executed on mouse button down or mouse button up (FLabel)
- added builder pattern to FTextField and autoset properties to common values
- fixed header comments in WrapLayout
- renamed DialogCustomFormat to the more generic DialogChooseSets since I use it now from the filters too; extended its functionality to run a specified command on ok button click
- removed Filters dockable panel
- added old filters functionality to the stats buttons above the catalog table (stats can no longer be removed via a preference setting)
- combined scattered metadata about the filters (e.g. icon, label, filter predicate) into a single enum
- rewrote filter utility functions to not have any side effects (they now use no global data/singletons)
- added "Owned" column to spell shop catalog, indicating number of cards already owned by player (can remove column with preference)
- don't count the "click" as a sort command when resizing a column
- exposed top-level main world custom format in QuestController -- other format-retrieving methods would be masked by the current world selection
- added utility fn to TextUtils to create a (locale-independent) Title out of an ENUM
- added a templated Pair<T, V> utility class for ad-hoc two-value parameter returning
- prevented invalid enum values in editor_preferred.xml from causing errors
2013-01-30 22:04:21 +00:00
Sloth
09de9e2a91 - Fixed Deck Editor editing Draft/Sealed decks. 2013-01-30 19:34:26 +00:00
Sloth
cc54678fd0 - Cipher will now only trigger when damage is dealt to players. 2013-01-30 19:06:23 +00:00
Chris
b2dd23e540 - Added the recent commit logs to changes.txt. Preparing for the snapshot build release. 2013-01-30 13:19:17 +00:00
Sloth
bc8ab66693 - Fixed Dread Slaver. 2013-01-30 12:19:03 +00:00
Sloth
4cfaf421e0 - Added SVar:RemAIDeck:True to 2 more cards. 2013-01-30 12:00:27 +00:00
Sloth
4a1318e460 - The AI will no longer copy permanents with RemAIDeck SVar. 2013-01-30 11:52:50 +00:00
Sloth
f73c2c6ee1 - Improved AI using Guilty Conscience. 2013-01-30 11:47:27 +00:00
swordshine
47455b4955 - Added Treefolk Mystic and Wood Elemental 2013-01-30 10:15:56 +00:00
swordshine
43e4df3dd5 - Added Helm of Kaldra
- Vanguard: Added Murderous Redcap Avatar
2013-01-30 00:23:23 +00:00
Sloth
a99066289e - Added SVar:RemAIDeck:True to 2 cards. 2013-01-29 22:40:50 +00:00
Chris
8bde5f146a - Fixed the recent commit logs added to changes.txt. 2013-01-29 17:37:29 +00:00
Chris
026180eb6a - Added a fluff piece to the changes.txt file.
- Added the recent commit logs to changes.txt. Preparing for the snapshot build release.
2013-01-29 14:00:07 +00:00
swordshine
ea3cee4b63 - Fixed Swirling Sandstorm 2013-01-29 13:07:57 +00:00
swordshine
c7c9e326d1 - Added Godo, Bandit Warlord and Tradewind Rider Avatar 2013-01-29 11:57:49 +00:00
RumbleBBU
f8b69ce5ed Added a card to a Jamuraa challenge deck. 2013-01-29 10:34:17 +00:00
RumbleBBU
37381aee38 The preset cards in one of the Jamuraa challenges were not working very well, improved. 2013-01-29 10:31:40 +00:00
RumbleBBU
27e42345ce Removed unused imports from QuestWinLose.java. 2013-01-29 09:49:11 +00:00
RumbleBBU
84520055df Replaced the composite QuestRewardCardChooser class with two subclasses that implement a common interface. Removed the obsolete class. 2013-01-29 09:46:48 +00:00
ArsenalNut
db38299a00 Fix issue with evolve trigger causing exception when AI evaluating blocks. 2013-01-29 07:37:15 +00:00
swordshine
55d3a3fa6d - Vanguard: Added Orcish Squatters Avatar 2013-01-29 05:45:10 +00:00
swordshine
7cd4f18337 - two more cards are now ready for multiplayers 2013-01-29 05:32:52 +00:00
ArsenalNut
da8fa10c22 Modifications to keep track of number of attacks. Modified Aurelia, The Warleader to use new FirstAttack parameter for Attacks trigger. 2013-01-29 05:07:31 +00:00
myk
e677b60656 ignore res/pics/GTC files 2013-01-29 02:58:31 +00:00
Sol
5d0b18faef - Updating Modern for new banned cards 2013-01-28 23:48:37 +00:00
myk
e753fd88ab remove unused imports 2013-01-28 22:47:36 +00:00
myk
9990c69a2e make columns not sort when they are resized 2013-01-28 22:38:11 +00:00
Chris
b82e0585c6 - Added the recent commit logs to changes.txt. Preparing for the snapshot build release. 2013-01-28 14:04:36 +00:00
myk
ed070ca13c add in user-settable preference (defaulting to false) for elastic resizing for deck editor columns 2013-01-28 10:35:47 +00:00
RumbleBBU
211f4c53b6 Simplify. The same format can be used for both QuestRewardCardChooser types. 2013-01-28 08:39:05 +00:00
RumbleBBU
d3ef5c2dc3 Made some of the Shandalar challenges use the new rewards code.
Beefed up Arzakon.
2013-01-28 07:50:01 +00:00
Maxmtg
f88d388a08 isHuman & isComputer methods are deprecated. (i don't commit player.java yet)
Card, C/VField classes changed not to use that methods
2013-01-28 06:35:42 +00:00
swordshine
3ccb43b78b - Vanguard: Added Ashling, the Extinguisher Avatar
- More cards converted to replacement effects
2013-01-28 05:55:28 +00:00
Maxmtg
55eef7ec45 * moved confirm, flip coin and message routines from GameUtils to GuiDialog.java
* removed unreferenced methods from GuiUtils
2013-01-28 05:13:34 +00:00
swordshine
48c09149ef - Added Nightveil Specter
- Converted cards with etbReplacements "as...enters the battlefield"
2013-01-28 00:51:54 +00:00
Sol
09c043ece7 - Adding Oracle text generated by magiccards.info (hopefully they look ok, I screened about 50 of them and found some minor issues that have been fixed) to Gatecrash cards 2013-01-27 18:05:49 +00:00
Sol
06af79acf0 - Updating OracleScript.py to be able to grab Oracle text from magiccards.info by Set if we need to 2013-01-27 17:39:18 +00:00
Maxmtg
30d5322e9d AiController now exposes a propper method - getCardsToDiscard instead of cleanupDiscard
Cascade ability uses a method from PlayerController to play the spell being cascaded
2013-01-27 17:32:15 +00:00
Chris
9be0833bab - Added the recent commit logs to changes.txt. Preparing for the snapshot build release. 2013-01-27 14:13:38 +00:00
Sloth
2a14a4d449 - Updated some SVars of GTC cards. 2013-01-27 13:15:31 +00:00
Hellfish
42570c89d1 *Converted Realmwright to ETBReplacement 2013-01-27 10:22:48 +00:00
Sloth
e044d58ae4 - Added AI support for Balustrade Spy. 2013-01-27 08:31:50 +00:00
Maxmtg
5fd66261a2 classes using generalized mayPlaySpellAbilityForFree and playFromSuspend 2013-01-27 08:19:07 +00:00
Maxmtg
f61d63ccbe PlayerController class divided in 2 subclasses - one for human, other for AI 2013-01-27 08:00:20 +00:00
Sol
469e40bdca - Marking Axebane Guardian unable to be played by AI. (See http://cardforge.org/bugz/view.php?id=662 ) 2013-01-27 02:33:10 +00:00
Sloth
2d15feec8f - Moved all AI related functions in CombatUtil to the new class ComputerUtilCombat. 2013-01-26 22:06:31 +00:00
Chris
c0fbd16d93 - Added a fluff piece to the changes.txt file. 2013-01-26 20:57:55 +00:00
Sol
eebd63543d - Updating Gatecrash info for Set related stuff 2013-01-26 20:07:24 +00:00
Sol
67b8bd2714 - Adding GTC SetInfo for reprints 2013-01-26 19:13:07 +00:00
Chris
0988ec2a87 - Added a fluff piece to the changes.txt file. 2013-01-26 16:45:20 +00:00
Chris
69c945a46b - Corrected the LQ pic URL to Realmwright. 2013-01-26 15:11:27 +00:00
ArsenalNut
81698e1613 fixed low res picture URLs 2013-01-26 15:11:19 +00:00
ArsenalNut
450f855c09 ran SetInfo 2013-01-26 14:52:37 +00:00
ArsenalNut
16f7766065 added SourceController to definedPlayers. added Soul Ransom 2013-01-26 14:47:35 +00:00
ArsenalNut
fa2fb9031f adding Aurelia, The Warleader 2013-01-26 14:01:51 +00:00
Chris
a4f7817acf - Added a fluff piece to the changes.txt file.
- Added the recent commit logs to changes.txt. Preparing for the snapshot build release.
2013-01-26 13:40:33 +00:00
swordshine
c0eddfc20a - Fixed Arrows of Justice
- Added Hive Mind
2013-01-26 11:40:13 +00:00
Maxmtg
49d294104c RippleAbility, CascadeAbility are now nested classes (previously they were inlined) 2013-01-26 09:54:01 +00:00
Maxmtg
e0d5b1166e * removed old Target syntax (Tgt$)
* in abilityFactory target parsing code extracted as a single method
* due to getDefinedCards return type generalization, a lot of classes had to declare variables as List (not arraylist)
2013-01-26 09:52:39 +00:00
swordshine
949d8b983c - Made Fireball ready for multiplayer
- Added Dwarven Catapult
2013-01-26 09:09:10 +00:00
Hellfish
3ed14e7587 *Removed duplicate Planechase 2012 setdata entry 2013-01-26 08:56:31 +00:00
Hellfish
0242837d7b *Made planechase submenu correctly report which players used a default planar deck. 2013-01-26 08:47:32 +00:00
Hellfish
4f47ed62f1 *Deck editors now use a single filechooser for import/export, one which filters out non-.dck files. 2013-01-26 08:32:30 +00:00
RumbleBBU
123edc2669 A QuestRewardCardChooser description can start with a space now. 2013-01-26 07:52:34 +00:00
Maxmtg
7195fbbbab players won't be asked to discard in cleanup phase of other players 2013-01-26 06:56:35 +00:00
RumbleBBU
6aa7e4ed22 Added missing preset IS_LAND predicate parsing to BoosterUtils. 2013-01-26 05:58:27 +00:00
RumbleBBU
2742526d97 The rules predicated needs an AND, not an OR. 2013-01-26 05:52:05 +00:00
swordshine
b2fe0ad6b1 - Converted several cards with etb replacement effects 2013-01-26 05:26:51 +00:00
RumbleBBU
3b725bd30a Minor cleanup of earlier commit; made variables final or unmodifiable where applicable. 2013-01-26 05:01:17 +00:00
swordshine
9f818e3e42 - Made 5 cards ready for multiplayer 2013-01-26 02:41:45 +00:00
myk
b0a15b4c08 show explanatory tooltips for edition set abbreviations in the card editor 2013-01-26 00:14:31 +00:00
Maxmtg
278e44667e passPriority is called from PlayerController, to avoid priority being passed by players who don't have it. 2013-01-25 23:42:49 +00:00
ArsenalNut
5a65d60d5f Reintegrated Gatecrash cardfolder branch into Trunk. Updated setdata.txt and setInfoScript.py for Gatecrash 2013-01-25 23:41:25 +00:00
myk
66c7c59b28 show tooltips in the deck editor when narrow cells truncate their contents 2013-01-25 21:15:30 +00:00
RumbleBBU
92211da9ec Further minor fix. 2013-01-25 20:14:28 +00:00
RumbleBBU
a3b7e4f579 Undid accidental commit of an earlier QuestController.java. 2013-01-25 19:45:24 +00:00
RumbleBBU
6063d66bcb Added more functionality to quest rewards, a second type of QuestRewardCardChooser that allows the player to select a card from a limited pool. The code is still somewhat experimental, if there are problems, let me know. 2013-01-25 19:02:45 +00:00
Max mtg
c37a021ecf Arranging AI methods by functionality: move mana-related and cost-related methods to respective static CoupterUtilXXXX classes 2013-01-25 18:48:29 +00:00
Chris
0463d51b6a - Added the recent commit logs to changes.txt. Preparing for the snapshot build release. 2013-01-25 16:20:22 +00:00
swordshine
72e2f80aa1 - Added Shimatsu the Bloodcloaked and Parallectric Feedback 2013-01-25 06:32:04 +00:00
ArsenalNut
a8a5c33e28 updates to handle Glaring spotlight 2013-01-25 03:34:50 +00:00
swordshine
1f3b5f3a1e - Fixed Cursebreak 2013-01-25 03:27:52 +00:00
Maxmtg
04e6bdd69a fixed payment for cards with 2/Color (eg Reaper King) 2013-01-25 00:56:35 +00:00
Maxmtg
17cb6393ac Moved some methods from ComputerUtil to AiController, made them instanced (non-static)
renamed AiAttackController
AiController returns a single SA to play.
2013-01-25 00:09:31 +00:00
Maxmtg
fae995f189 forge.game.ai created - just a small step towards AI isolation 2013-01-24 23:00:51 +00:00
Maxmtg
d409d5749c InputControl is invariant of player type 2013-01-24 22:20:28 +00:00
Maxmtg
57078eeb42 AI separation from game: playSpellAbilities does not play them, only choice is made. 2013-01-24 21:06:58 +00:00
myk
09634a145e myk patch 5: save/restore state of quest plant/pet widgets
- saved quest data when pet settings are modified
- moved the selectedPets map from QuestController to QuestData (since it now gets persisted); also renamed it petSlots for clarity
- incremented the quest file format version
- added code to bring older file formats up to date
- finally, while researching how the data is saved, I noticed that saveData() can be called from multiple threads. I made the method synchronized to prevent file corruption
2013-01-24 18:41:24 +00:00
myk
928a1bb596 patch 4: fix filter checkboxes not wrapping on initial display (issue 653) 2013-01-24 18:39:17 +00:00
myk
de896589da myk patch 3: make deck editor columns resizable; fix NPE when tables are empty and header is clicked 2013-01-24 18:38:35 +00:00
myk
202c3e2266 myk patch 2: reapply card filters on deck editor controller change (issue 652) 2013-01-24 18:37:18 +00:00
myk
d2ed0e49a4 myk patch 1.2 - refactoring of filter enums as per Max mtg's suggestions 2013-01-24 18:35:42 +00:00
RumbleBBU
185a0fbb6d Replaced the Beta rewards with Unlimited Edition. 2013-01-24 15:46:43 +00:00
RumbleBBU
ed34362db0 Changed the Jamuraa challenge rewards to use the new features. 2013-01-24 15:43:55 +00:00
Chris
294df1ca1c - Added the recent commit logs to changes.txt. Preparing for the snapshot build release. 2013-01-24 13:44:23 +00:00
swordshine
a4dcc9cfd1 - Added "InEnchantedYard" (used in Death's Approach) 2013-01-24 13:21:53 +00:00
RumbleBBU
2e45044053 Technical improvements to the new challenge rewards code. 2013-01-24 12:30:40 +00:00
Maxmtg
6dde021631 myk's (vol 1.1) code improvements to filter enums 2013-01-24 06:30:05 +00:00
Maxmtg
b1bf0d3aca myk's code contributions (vol. 1)
- adds tooltips for the filter checkboxes (issue 657)
- ensures the filter checkboxes are always in the same order
- puts all labels and checkboxes in "official" order from the mtg rules book:
    color order: WHITE, BLUE, BLACK, RED, GREEN, COLORLESS, MULTICOLOR
    type order: LAND, ARTIFACT, CREATURE, ENCHANTMENT, PLANESWALKER, INSTANT, SORCERY
2013-01-24 04:47:36 +00:00
swordshine
a492652fe8 - Converted Flash of Defiance to an effect
- Added a card restriction "IsNotImprinted"
2013-01-24 00:25:28 +00:00
RumbleBBU
00294612c0 Second iteration of the new challenge rewards code. Put the card chooser into a new class. Currently its only type option is "duplicate", new types may be added later.
Cleaned up unused imports.
2013-01-23 13:29:39 +00:00
Chris
40a06048e9 - Added the recent commit logs to changes.txt. Preparing for the snapshot build release. 2013-01-23 11:56:24 +00:00
swordshine
d448d904d9 - Added Lairwatch Giant
- Added oracles for planes
- Fixed cost description of Grimgrin, Corpse-Born
2013-01-23 08:51:35 +00:00
RumbleBBU
eb983ee4d7 More options to challenge rewards:
- Duplicate card of player's choice
- A specific card and edition
- n% chance for a given reward

(Will be documented on the forum.)
2013-01-23 08:42:53 +00:00
Hellfish
74d484ca0b *Fixed new Planar deck editor 2013-01-23 07:23:38 +00:00
Hellfish
753ff18d5d *Unified variant deck editor initial commit (Does not work 100% yet) 2013-01-23 07:20:42 +00:00
ArsenalNut
5ed34dbde4 Fixed issues with blocking triggers 2013-01-23 06:36:06 +00:00
Chris
ccf5518cdf - Added the recent commit logs to changes.txt. Preparing for the snapshot build release. 2013-01-22 13:52:21 +00:00
Maxmtg
762b71d723 fixing "play land" name popping for abilities that were not related to lands
CostPart.java got autoformatted
2013-01-22 07:19:40 +00:00
Maxmtg
e163cb2fe3 updated scritps with new GainLife syntax 2013-01-22 06:58:33 +00:00
Maxmtg
ab95f36861 * Costs: removed isUndoable, isReusable backing fields, appropiate values are returned by method overloads in classes
* Costs: joined all CostGainLife implementations. Syntax is: GainLife<LifeAmount/Player.Selector/[cntPlayers|*]> asterisk in last parameter means "all players".
* Changed a lot of methods to pass GameState as a parameter rather than get it from Singletons.*
2013-01-22 06:58:11 +00:00
swordshine
4ca6d8cbdf - Fixed the trigger description of Phantasmal Sphere 2013-01-22 04:43:49 +00:00
Maxmtg
fe6b941f50 Eixes 15 warnings eclipse showed up 2013-01-22 01:58:03 +00:00
Hellfish
2b82e03367 *Made the Generate option for planar decks actually generate a planar deck and not a scheme deck! 2013-01-21 22:23:15 +00:00
Hellfish
39588c3121 *Fixed the Deathly Dominion precon Set code 2013-01-21 21:43:07 +00:00
Chris
238a4f3e1d - Added the recent commit logs to changes.txt. Preparing for the snapshot build release. 2013-01-21 13:24:02 +00:00
ArsenalNut
8fd9e60d19 Modified encode effect to require a creature under activator's control before exile choice. 2013-01-21 07:11:12 +00:00
ArsenalNut
92de6b17f7 Activating player is not always the player revealing cards. Added parameter to set number of cards to reveal. 2013-01-21 05:25:16 +00:00
Sol
f9da34cbf1 - Fix for Turnabout
-NOTE Apparently the "TargetedPlayerCtrl" property doesn't actually work. It seems like 14 other scripts use this property
2013-01-21 02:02:58 +00:00
Sol
9106bce999 - NPE checks for fresh Forge install with no quests created 2013-01-20 22:47:28 +00:00
Sol
b736ed5fd9 - Fix for AI demorphing creatures by Making sure preTFD is set properly when Morph spell resolves 2013-01-20 20:41:41 +00:00
ArsenalNut
3be68c0828 Added can't be blocked by creature token keyword. Made mandatory choice box return null is choice list is null or empty. 2013-01-20 20:33:05 +00:00
Maxmtg
1c70a038ef Deck format checkbox also disables checks for limited and quest modes 2013-01-20 19:43:32 +00:00
Hellfish
f3e384e890 *Initial Planechase commit
*Added Planes
	Academy at Tolaria West
	Fields of Summer
	Goldmeadow
	Krosa
	Lethe Lake
	Llanowar
	Panopticon
	Raven's Run
	The Fourth Sphere
	The Great Forest
	The Hippodrome
*Added phenomenon Mutual Epiphany
2013-01-20 19:27:54 +00:00
Sol
02b5984039 - Fixing issue with Mana Abilities and Undoable timing
- Convert Undiscovered Paradise to script
2013-01-20 19:21:54 +00:00
Maxmtg
21570e526a Cloud key giving unsuitable options (http://www.slightlymagic.net/forum/viewtopic.php?p=107918) 2013-01-20 19:07:29 +00:00
Sol
3e946b48e8 - Some improvements to the structure of PerSetTracking.py
- Stats about Standard Format printed, similar to Distinct
2013-01-20 17:05:21 +00:00
Sol
61bdf760cc - Updating PerSetTracking.py to ignore specific sets 2013-01-20 15:51:10 +00:00
RumbleBBU
cdaac5460d Removed an in-play card that could cause problems in a Jamuraa challenge. 2013-01-20 14:38:23 +00:00
Chris
46b284f869 - Added the recent commit logs to changes.txt. Preparing for the snapshot build release. 2013-01-20 12:59:03 +00:00
Maxmtg
dc66ec6390 fixes crash when Rupture Spire ETB 2013-01-20 11:15:41 +00:00
Maxmtg
cbd1ecc580 a correct handling lotus bloom and its suspension
removed duplicate in GameAction
2013-01-20 09:59:46 +00:00
Sol
0cc143e8d4 - Fixing CC of Crosswinds 2013-01-20 02:16:48 +00:00
Chris
866586a49e - Added the recent commit logs to changes.txt. Preparing for the snapshot build release. 2013-01-19 13:07:49 +00:00
Maxmtg
5adec01a9b Computer and human flashback zones were mixed up 2013-01-19 08:19:36 +00:00
Maxmtg
819b66d357 GameAction playXXXX now require a player parameter
playCard method split into several simplier ones.
2013-01-19 00:57:38 +00:00
Maxmtg
d07acf51fa * fixing issues with zero mana cost (such as suspend of Lotus Bloom) 2013-01-18 23:07:10 +00:00
Sloth
7cd3a66f7b - Fixed "CounterType$ Any" in AF CounterRemove.
- GTC: Added Thrull Parasite by PowerClaws.
2013-01-18 19:36:59 +00:00
Chris
6d577dabfd - Cleared out the changes.txt file, now ready for new material. 2013-01-18 17:16:31 +00:00
Chris
3cf42814f3 [maven-release-plugin] prepare for next development iteration 2013-01-18 11:43:19 +00:00
Chris
3a0f6652a7 [maven-release-plugin] prepare release forge-1.3.5 2013-01-18 11:43:06 +00:00
Chris
7a7f5f15a5 - Preparing the changes.txt file for the next beta build and release. 2013-01-18 11:31:35 +00:00
Chris
95d12b47e4 - Added the recent commit logs to changes.txt. Preparing for the beta build and release. 2013-01-18 11:26:51 +00:00
moomarc
283717a80a - Fixed random scheme deck selection 2013-01-18 09:15:27 +00:00
swordshine
73ed3c1601 - Added Sentinel 2013-01-18 05:41:17 +00:00
RumbleBBU
413688e238 Yet another technical improvement to a Jamuraa challenge. 2013-01-17 14:20:00 +00:00
Chris
759dcc1b3c - Added a fluff piece to the changes.txt file.
- Added the recent commit logs to changes.txt. Preparing for the snapshot build release.
2013-01-17 12:45:02 +00:00
swordshine
3fd73b1027 - Made two cards ready for multiplayer 2013-01-17 12:04:44 +00:00
swordshine
95f723fac9 - Added Scattering Stroke and Sworn Defender 2013-01-17 11:54:52 +00:00
RumbleBBU
5d0461c8fa Slightly improved a Jamuraa challenge deck against certain counterstrategies. 2013-01-17 11:22:06 +00:00
RumbleBBU
95b3056ff7 Updated the Jamuraa definition include Weatherlight, as advertised. 2013-01-17 09:21:55 +00:00
RumbleBBU
3cf12e73b0 Added a description of Jamuraa to the changes.txt file. 2013-01-17 09:19:42 +00:00
RumbleBBU
765e29280e Added the second Quest World, Jamuraa. A readme update will follow shortly. 2013-01-17 09:07:32 +00:00
moomarc
8a7eaa99d6 - Fixed Novijen, Heart of Progress 2013-01-17 05:49:28 +00:00
Maxmtg
3eb4d3d834 Cost - rewrite of parsing code 2013-01-16 22:21:05 +00:00
Sloth
e1bbce45e1 - Fixed LKI copies forgetting their equipped/enchanted lists (Fixes Skullclamp). 2013-01-16 18:48:45 +00:00
moomarc
b4c7428bda - Updated quest icon download links to include icons for Jamuraa quest world 2013-01-16 16:05:44 +00:00
Chris
05bf6e6872 - Added the recent commit logs to changes.txt. Preparing for the snapshot build release. 2013-01-16 12:00:21 +00:00
Maxmtg
6a204d7a76 * removed unused method from CardLists
* pets will have its owner initialized
2013-01-16 08:09:35 +00:00
Chris
35765364e4 - Removing the wrong SVN rev number from title bar. 2013-01-16 03:36:10 +00:00
Chris
21d3803e35 - The "Sanctioned Format: Constructed" view should now be compatible with displays that are only 600 pixels verticle. The list at 600 pixels tall should now display three lines of text rather than less than a single line of text. 2013-01-15 23:38:18 +00:00
RumbleBBU
f44dfda4aa Always default to Main world when starting a new quest. 2013-01-15 10:28:08 +00:00
Maxmtg
787e39ee77 + Custom deck format for quest mode: 40 cards + 0 or 15 of sideboard, no more than 4 cards of a kind
* All gui.home.sanctioned.CSubmenu* controllers use deck format as specified in GameType
2013-01-15 08:07:17 +00:00
Maxmtg
42b72b032a * caching implementation CardPrinted.getMatchingForgeCard replaces toForgeCard without parameters. 2013-01-14 21:25:11 +00:00
swordshine
3a44e6f018 - Added MUSTER to CounterType 2013-01-14 14:09:24 +00:00
Chris
9482a46f0a - Added the recent commit logs to changes.txt. Preparing for the snapshot build release. 2013-01-14 12:28:00 +00:00
Maxmtg
f674d7e2f2 * url field moved to CardInSet - that allows proxy creation right from cardprinted
* sideboard checked independently of maximum amount of same cards in deck
* schemes and planes generation code in GameNew.java now demands a player.
- toForgeCardList method removed
2013-01-14 07:11:08 +00:00
Maxmtg
b21e22f75a Commander: SB is 0 or 10 cards
Quest: sold cards should be correctly removed from sideboard
2013-01-14 05:26:29 +00:00
Agetian
418ffa0af3 - Cards in sideboard are now marked in the quest shop as cards present in deck. The bug with the card not being sold correctly from the sideboard is still there for now though. 2013-01-14 03:12:24 +00:00
swordshine
22f657ac85 - More cards ready for multiplayer 2013-01-14 00:28:14 +00:00
ArsenalNut
349cbba910 Made xCount handling of RememberedSize consistent with other count keywords 2013-01-13 20:54:39 +00:00
Maxmtg
e7021c11e0 Deck: commander decks may have 0-10 cards sideboard 2013-01-13 19:19:06 +00:00
Maxmtg
cc8c27ecb6 * Better sideboarding: decks have no extra fields for changed parts, they are copied on sideboarding, new deck composition moved outside of GuiChoose.java
* Decks have no extra sections for variants (sideboard works in most cases)
* Deck Format restrictions are in a separate class not related to GameType
+ DeckSection has its own toString overload
+ DualListBox operates CardPrinted properly (sideboarding dialog uses cardprinted instances)
+ ItemPool.remove method returns true if any elements were removed.
2013-01-13 17:19:07 +00:00
swordshine
b983efb5a5 - Fixed Divine Reckoning and made it ready for multiplayer 2013-01-13 06:40:43 +00:00
swordshine
58d7ef85f0 - Fixed a few cards by updating TokenHiddenKeywords 2013-01-13 05:42:41 +00:00
swordshine
87efd04ddd - Fixed Contested Cliffs 2013-01-13 05:14:24 +00:00
Maxmtg
9eeb3441e7 forge.card.CardManaCost => SpellManaCost
forge.card.mana.ManaCost => ManaCostBeingPaid
Ability ctor now accepts SpellManaCost as 2nd argument.
2013-01-12 19:51:44 +00:00
Sloth
bd57fe3d93 - The AI will now anticipate effects with "Damage that would reduce your life total to less than 1 reduces it to 1 instead.". 2013-01-12 15:19:45 +00:00
Sloth
49eeacef9e - The AI can now use bounce spells to save non-creature permanents. 2013-01-12 15:04:29 +00:00
Sloth
255f5ac834 - Fixed AI using Discordant Dirge. 2013-01-12 14:52:45 +00:00
Sloth
e5eaf6d8eb - Fixed Rakdos Guildmage. 2013-01-12 14:22:11 +00:00
Chris
c8c9f09f15 - Added a fluff piece to the changes.txt file.
- Added the recent commit logs to changes.txt. Preparing for the snapshot build release.
2013-01-12 13:45:40 +00:00
Sloth
dd4d5f4804 - Replacement effect abilities are now flagged as trigger (to not be confused with a activated ability). This fixes the interaction of Suppression Field and replacement effects. 2013-01-12 11:25:16 +00:00
Sloth
61d19f011c - Fixed Plaxcaster Frogling. 2013-01-12 08:00:10 +00:00
Maxmtg
b2d49bfb19 - remove unused imports (and the warnings they originated) 2013-01-12 02:59:51 +00:00
RumbleBBU
9701b133c6 The multiple-choice booster reward thresholds were off by one. 2013-01-11 11:52:00 +00:00
moomarc
004a67c9b9 - A few more cards and abilities ready for multiplayer
- Cleanup
2013-01-10 16:48:04 +00:00
moomarc
30a476e0a5 - Constructed deck conformance check is now independent of dev mode. 2013-01-10 14:46:32 +00:00
ArsenalNut
b99173db42 added Cipher mechanic 2013-01-10 14:43:52 +00:00
Sloth
c55bbc0051 - Fixed Cascade AI not setting activating player. 2013-01-10 12:34:24 +00:00
ArsenalNut
3565039a82 fixed issue with spells that generate mana (bug id#0000648) 2013-01-10 03:51:30 +00:00
ArsenalNut
807035dfd8 changed resolution of AI mana abilities to use AbilityFactory.resolve so that subabilities resolve correctly. 2013-01-10 03:36:23 +00:00
ArsenalNut
165f08ea49 added really basic AI method for choosePlayer 2013-01-10 03:20:50 +00:00
ArsenalNut
a70c7a119b fixed bug in getAIPlayableMana method 2013-01-10 03:19:59 +00:00
moomarc
7863c15ef1 - Made deck conformance/legality a user-togglable preference (enabled by default) 2013-01-09 15:46:02 +00:00
Chris
d6e452d9e4 - Added the recent commit logs to changes.txt. Preparing for the snapshot build release. 2013-01-09 13:10:53 +00:00
moomarc
d707b8ad06 - GTC: Added Gideon, Champion of Justice 2013-01-09 12:55:29 +00:00
RumbleBBU
44b3222231 Disabled variants from custom Quest formats + more uniform style. 2013-01-09 12:20:12 +00:00
swordshine
74bb520a60 - Added an exile effect SVar to Runesword 2013-01-09 10:16:54 +00:00
swordshine
0b6d68ddf1 - Added Necromancer's Magemark and Runesword 2013-01-09 10:07:21 +00:00
Sloth
6727b5eaf5 - Fixed Elemental Mastery. 2013-01-08 19:45:06 +00:00
Sloth
1d2f827d00 - Added Spectral Searchlight fix by swordshine. 2013-01-08 17:52:34 +00:00
moomarc
86482f9c9d - Removed OpponentCalls param from FlipACoin as it was no longer used (I assume it was replaced by Caller) 2013-01-08 17:34:50 +00:00
ArsenalNut
34bd6f60cd fixed issue with copies and clones of tokens with abilities 2013-01-08 16:02:05 +00:00
moomarc
6e20e02586 - Converted a few instances of getOpponent()
- Converted Rainbow Vale to script
2013-01-08 10:33:13 +00:00
Sol
fb27a0d956 - Force certain triggers to wait for the next WaitingTrigger run (e.g. Fix Balefire Liege issue), there may be a few more of these that need to be forced
- Fixed "BecomesTarget" triggering for the same Object more than once for the same spell
2013-01-08 04:29:56 +00:00
moomarc
daee42b4da - Split OppGainLife costs into the two types, "you may have an opponent gain" and "you may have each other player gain" 2013-01-07 15:33:25 +00:00
Chris
5c0ed575cb - Added the recent commit logs to changes.txt. Preparing for the snapshot build release. 2013-01-07 11:40:37 +00:00
moomarc
efcab0921b - Fixed Bloodchief Ascension not showing up in the game 2013-01-06 15:29:59 +00:00
ArsenalNut
76fb013a5d Added EvolveCondition to requirementsCheck. 2013-01-06 15:06:08 +00:00
moomarc
3489471b77 - More cards ready for multiplayer
- Token AF can put tokens into play under multiple players' control.
- New PlayerCount<Type>: NonActive
2013-01-06 14:41:35 +00:00
Sloth
c2d838c611 - Fixed Phantasmal Terrain. 2013-01-06 14:26:22 +00:00
Sloth
e0e4e8b9fe - Fixed Ashes to Ashes if one target gains shroud. 2013-01-06 14:15:14 +00:00
Sloth
6ccab40a90 - Fixed Annihilator not being flagged as triggered ability. 2013-01-06 14:01:06 +00:00
Chris
9a00786e6a - Added the recent commit logs to changes.txt. Preparing for the snapshot build release. 2013-01-06 13:22:55 +00:00
Sloth
c857bef603 - Fixed Annihilator getting the wrong defender. 2013-01-06 11:16:32 +00:00
swordshine
7b3aa53bec - Added Limited Resources 2013-01-06 08:41:33 +00:00
Sloth
f9b41217b0 - Updated some SVars. 2013-01-06 08:29:24 +00:00
swordshine
e966b7f3c2 - Added more cards by squee1968 2013-01-06 08:04:54 +00:00
ArsenalNut
cb01fe4db0 Commenting out direct calls to resolveDrawback in ManaEffect. They are not needed after abilityfactory refactor. 2013-01-06 05:34:09 +00:00
Sol
c4935075bc - Fixing crash for pressing OK for Murmuring Bosk and friends 2013-01-06 03:38:10 +00:00
Sol
be814a8a57 - Fix issue with Qasali Ambusher 2013-01-06 03:33:38 +00:00
Sol
884363f962 - Allow OS to set location 2013-01-06 03:12:32 +00:00
swordshine
843ade6763 - Added 4 other Djinns 2013-01-06 02:55:43 +00:00
Sol
b34875c2a0 - Applying a patch that refreshes the Bazaar credit count after purchasing stuff 2013-01-06 02:19:47 +00:00
Sol
92d7039896 - Adding MostProminentColor as a property to be used with the Invasion Djinns
- Added Goham Djinn
2013-01-06 01:18:11 +00:00
swordshine
fe219c3620 - Added a few cards by squee1968 2013-01-06 01:01:33 +00:00
Sol
6243986899 - Converted all Kinship cards to script 2013-01-05 23:05:02 +00:00
Sol
914c5a060f - - Adding PeekAndReveal AF. It was simpler to create this subset of Dig than force Kinship cards to have a complex and ugly script. 2013-01-05 23:04:08 +00:00
Sol
0e8ce8e50d - Marking Old Targeting Scheme as deprecated. (Only used in AF.getAbility()) Will be removing it after next release. 2013-01-05 18:39:53 +00:00
Sol
3970558f26 - Converting V-Z Tgt$ cards 2013-01-05 18:34:29 +00:00
Sol
a9c0edfdb7 - Converting S-U Tgt$ cards 2013-01-05 18:32:50 +00:00
Sol
f4893603c5 - Converting M-R Tgt$ cards 2013-01-05 18:31:20 +00:00
Sol
7089c7455e - Converting H-L Tgt$ cards 2013-01-05 18:29:44 +00:00
Sol
1c57e770a0 - Converting D-G Tgt$ cards 2013-01-05 18:28:31 +00:00
Sol
aabf2a4c47 - Converting A-C Tgt$ cards 2013-01-05 18:27:04 +00:00
ArsenalNut
6aa5c1cfc5 adding Droning Bureaucrats 2013-01-05 17:50:46 +00:00
moomarc
e5738b3b13 - Added Evolve keyword
- GTC branch: Added Fathom Mage
2013-01-05 17:30:09 +00:00
Hellfish
bb70d9c026 *Corrected mana ability flagging.
*Fixed crash when using Metalworker-likes during mana payment.
2013-01-05 17:11:54 +00:00
Sol
49d602d4f0 - Small conversions of Tgt to ValidTgts 2013-01-05 14:45:30 +00:00
Chris
8f0ee8e3a2 - Added the recent commit logs to changes.txt. Preparing for the snapshot build release. 2013-01-05 13:38:28 +00:00
Sloth
e3941430b1 - Removed a duplicate precon. 2013-01-05 08:47:24 +00:00
swordshine
4da962c5ed - Fixed Grave Betrayal 2013-01-05 08:30:07 +00:00
Sloth
0a67b1af1a - Added more precons by Xitax and Lexusex. 2013-01-05 07:44:38 +00:00
Sol
a47ad2ebbb - Fixing Spell Description on Snakeform 2013-01-05 03:47:46 +00:00
swordshine
e550d845a2 - Added Mirrorweave and Petals of Insight 2013-01-05 01:18:42 +00:00
swordshine
afee94e438 - Added Planeswalker Type Domri 2013-01-05 01:15:03 +00:00
Sol
849df521a5 - Fixing triggers reliant on timing for cards like Earthbind and Valakut.
(Doesn't effect triggers that target being a touch odd)
2013-01-05 00:22:59 +00:00
Sol
71108623b9 - Added an extra word 2013-01-05 00:17:44 +00:00
Sol
4c602848db - Fix description in Martyr of Frost 2013-01-05 00:16:57 +00:00
Sol
902b52704d - Valakut was unbanned in Modern in October 2013-01-04 23:58:24 +00:00
Sloth
dd2127aaba - Added TriggerDescription to Extort. 2013-01-04 22:17:43 +00:00
Sloth
5b53130f26 - Fixed Delve. 2013-01-04 20:45:59 +00:00
moomarc
42a14d3db4 - Added Extort keyword 2013-01-04 18:43:43 +00:00
Sol
3856a8d23d - Added distinct card information to PerSetTracking.py 2013-01-04 16:33:14 +00:00
moomarc
decf8b38cf - More cards ready for multiplayer 2013-01-04 15:32:21 +00:00
Chris
e731d7c66d - Cleared out the changes.txt file, now ready for new material. 2013-01-04 15:15:11 +00:00
Chris
ad019eefa9 [maven-release-plugin] prepare for next development iteration 2013-01-04 11:34:23 +00:00
Chris
ba61946997 [maven-release-plugin] prepare release forge-1.3.4 2013-01-04 11:34:12 +00:00
Chris
b075510b72 - Preparing the changes.txt file for the next beta build and release. 2013-01-04 11:22:58 +00:00
Chris
2032a4e074 - Added the recent commit logs to changes.txt. Preparing for the beta build and release. 2013-01-04 11:16:58 +00:00
Sloth
9adfb235a0 - Added Thousand-Year Elixir. 2013-01-04 10:45:50 +00:00
Sloth
d4684c6ff4 - Fixed draft AI not building decks. 2013-01-04 08:57:50 +00:00
Hellfish
6a9ea7980c *Made copied abilities actually register as copied (and not trigger Rings of Brighthearth again,for example)
*Nonmana-root abilities with mana subabilities are now properly recognized as mana abilities (Metalworker)
2013-01-04 07:20:59 +00:00
ArsenalNut
a8585391d1 Added Duration parameter Clone effect. Added Cytoshape, Mizzium Transreliquant, Renegade Doppleganger, Scion of the Ur Dragon, and Shapesharer. 2013-01-04 06:26:08 +00:00
ArsenalNut
8f742ff631 added "TriggerZones$ Battlefield" to TurnsFaceUp triggers 2013-01-04 05:08:43 +00:00
Sol
82dbf94019 - Fixing apostrophe that doesn't display properly 2013-01-04 02:59:26 +00:00
Sol
b3731d7810 - Adding Arcane type to Overblaze 2013-01-04 02:43:31 +00:00
swordshine
7682aa2ecd - Added 4 cards with additional phases 2013-01-04 01:25:42 +00:00
Sloth
c2dfa1ffaa - The buildDeck function will now throw an error instead of looping infinitely. 2013-01-03 23:05:36 +00:00
Sloth
50014ddbc0 - Fixed a bug with morphs. 2013-01-03 21:35:53 +00:00
Sloth
a7e0a1100a - Fixed Storm and Epic keywords. 2013-01-03 20:55:13 +00:00
Sloth
6e99c89f91 - Fixed Zektar Shrine Expedition. 2013-01-03 20:47:26 +00:00
Sloth
997ee9071f - Better fix for AF Charm AI. 2013-01-03 20:40:59 +00:00
Sloth
1d7c93000c - Fixed AF Charm AI. 2013-01-03 20:17:37 +00:00
ArsenalNut
902d501647 restructured The Mimeoplasm to somewhat playable by AI 2013-01-03 16:54:30 +00:00
ArsenalNut
fe8a521a62 Added ChosenCard to defined card types.
Added ForgetChosen parameter to ChooseCardEffect to remove chosen card from host card remembered object list.
Added Mandatory parameter to ChooseCardEffect.
Added The Mimeoplasm.
2013-01-03 16:15:04 +00:00
ArsenalNut
27a0f313a0 Added replacement effect handler for turns face up. Moved running of triggers for TurnFaceUp to turnFaceUp method in Card.java. Added Vesuvan Shapeshifter. 2013-01-03 16:00:22 +00:00
ArsenalNut
c6523dd4fd Removed code that generates SVar:Rarity line. Rarity SVar is not a required field and is not actually used by Forge. 2013-01-03 15:50:58 +00:00
ArsenalNut
fb6bc13861 fixed some indentation issues. changed Commander set code to match mtg-data.txt 2013-01-03 15:34:06 +00:00
ArsenalNut
e0955d415e added Dragon's Maze 3 letter code 2013-01-03 15:12:30 +00:00
RumbleBBU
b3f322a9f4 Fixed NPEs in QuestController.java when the data directory is empty. 2013-01-03 13:57:38 +00:00
Sol
95f6f7d448 - Added FollowedBy Parameter in AddPhase which is common to many of these combat + main phase adders
- Added Relentless Assault
2013-01-03 02:51:34 +00:00
swordshine
edc5875c6b - Added Knollspine Dragon and Rhystic Scrying
- Vanguard:Added Sakashima the Impostor Avatar
- Added Mandatory$ True to Parallax Nexus
- Made Borrowing 100000 Arrows and Theft of Dreams ready for multiplayer
2013-01-03 02:07:48 +00:00
ArsenalNut
d943869a66 Made Karn Liberated first ability mandatory 2013-01-02 15:42:45 +00:00
Chris
6579e3b78d - Added the recent commit logs to changes.txt. Preparing for the snapshot build release. 2013-01-02 13:59:14 +00:00
Hellfish
c37c0fefbe *Renamed AF_CopySpell for clarity 2013-01-02 07:29:28 +00:00
Hellfish
07668ec038 *Tweaked CardFactory.copySpellOntoStack to accomodate abilities.
*Fixed CardDamageHistory crash in deckeditors
*Added Rings of Brighthearth
2013-01-02 07:15:18 +00:00
swordshine
b18d00a6a8 - Added Decree of Silence
- Fixed Victimize
2013-01-02 04:57:48 +00:00
Chris
2d2bfc1790 - Added the recent commit logs to changes.txt. 2013-01-01 21:51:37 +00:00
Sol
1a5b312133 - Fixing syntax error in AddTurnAI 2013-01-01 18:44:34 +00:00
moomarc
456fb4e002 - Got rid of some getOpponent() calls for multiplayer compatibility 2013-01-01 12:26:03 +00:00
RumbleBBU
d3e73d8256 Disabled the starting Quest World format overriding prized cards format and unlocking. This means that you can now define a custom format and unlock new sets even if you start the game in a format enforcing world, by travelling to a different world that does not enforce a format. 2012-12-31 12:42:31 +00:00
RumbleBBU
b0bfef7366 Allow selection of starting world. If the selected world has a format, it is enforced instead of a user-defined one. (More documentation to follow on the Forge forum.) 2012-12-31 09:36:27 +00:00
RumbleBBU
4f4ba6dd47 Removed an obsolete comment from QuestData.java 2012-12-31 07:43:31 +00:00
RumbleBBU
46c6dbf222 Support for initial Quest World definition in QuestData.java and QuestController.java when starting a new Quest. 2012-12-31 07:42:11 +00:00
swordshine
3a49138195 - Another fix of linessa zephyr mage 2012-12-31 05:48:58 +00:00
swordshine
f86db88ad7 - Fixed Linessa, Zephyr Mage 2012-12-31 05:35:33 +00:00
swordshine
c5ff49b5a1 - Converted a few cards by bbbbbbbbba 2012-12-31 01:34:25 +00:00
swordshine
6680a9d2b0 - Added Beacon of Destiny, Final Punishment, and Clarion Ultimatum 2012-12-31 00:59:42 +00:00
RumbleBBU
f87b6acb4b Fix misleading JavaDoc in QuestController.java. 2012-12-30 12:10:44 +00:00
RumbleBBU
04994cef4a Get rid of the superficial Index parameter. Quest Worlds are identified by their name. 2012-12-30 09:04:29 +00:00
RumbleBBU
d7adf38ae0 Fixed bad logic in QuestWorld.java. 2012-12-30 08:56:59 +00:00
RumbleBBU
004684a473 The Quest world format, if present, overrides the user-defined format. 2012-12-30 08:45:36 +00:00
swordshine
ca01e771dc * Added Energy Vortex and Faces of the Past 2012-12-29 12:04:38 +00:00
moomarc
68ca059697 - Hopefully fixed trigger bug in multiplayer.
- fixed potential bug with Haunt mechanism in multiplayer
2012-12-29 11:23:39 +00:00
swordshine
15e39d66af * Added Mourner's Shield and Instigator
* Vanguard: Added Platinum Angel Avatar
2012-12-29 10:36:26 +00:00
ArsenalNut
8abe69d96e added SVar:RemAIDeck:True to recently added coin flip cards 2012-12-29 07:34:31 +00:00
swordshine
263c33cedd * Added Carrion Rats and Carrion Wurm 2012-12-29 02:33:45 +00:00
swordshine
1320d01f68 * Added 5 cards 2012-12-29 01:27:15 +00:00
Sol
7487d56461 - Simplified Split Second 2012-12-29 01:25:16 +00:00
moomarc
e4cb871104 - More cards ready for multiplayer 2012-12-28 18:43:22 +00:00
moomarc
ff9ec261bd - missed two files with my last commit 2012-12-28 17:27:19 +00:00
moomarc
dd740e19d7 - More cards ready for multiplayer 2012-12-28 17:24:12 +00:00
moomarc
13208c0bfb - More cards ready for multiplayer 2012-12-28 15:53:28 +00:00
moomarc
9debd8e275 - Fixed The Fallen (damagedThisGame in CardDamageHistory was never adding damaged players to the array, also made multiplayer compatible)
- Changed initial array sizes in CardDamageHistory to the number of players in the game
2012-12-28 14:45:57 +00:00
moomarc
06334d655b - More cards ready for multiplayer 2012-12-28 08:43:44 +00:00
moomarc
1ac4d4228d - Removed some printlns I left in a earlier commit. 2012-12-28 07:09:25 +00:00
moomarc
16a89ea519 - Converted Black Vise for multiplayer 2012-12-27 17:13:09 +00:00
moomarc
c84e9f1f4c - Improved method name for isControlledByAnyOf predicate 2012-12-27 16:34:19 +00:00
swordshine
d20d2c0ba6 * Fixed Ethereal Haze 2012-12-27 07:18:19 +00:00
Sol
0d01f59006 - Fixed Voyager Staff 2012-12-27 03:01:39 +00:00
swordshine
541feb148c * Fixed Hakim, Loreweaver 2012-12-27 00:46:07 +00:00
swordshine
4349859a08 * Added Feral Contest, Hakim, Loreweaver, Hunt Down, and Rimehorn Aurochs 2012-12-27 00:22:14 +00:00
Maxmtg
15ca5cadb1 if chains changed to switches 2012-12-26 23:38:59 +00:00
Maxmtg
2888160826 removal of unused code 2012-12-26 23:33:04 +00:00
Maxmtg
31f9334f56 fixing a crash when AI had spare mana after playing a spell. 2012-12-26 23:32:41 +00:00
Maxmtg
aa22049291 reverting uglifying checkstyle changes 2012-12-26 23:30:02 +00:00
Chris
47432c832a - CheckStyle. 2012-12-26 19:28:43 +00:00
moomarc
20c93a5ac4 - More cards ready for multiplayer 2012-12-26 14:03:43 +00:00
Chris
293cc9fc80 - Added the recent commit logs to changes.txt. Preparing for the snapshot build release. 2012-12-26 13:41:44 +00:00
moomarc
4df67a8fd5 - More cards ready for multiplayer 2012-12-26 12:00:36 +00:00
moomarc
9185110edb - Fixed keyword "CARDNAME untaps during each other player's untap step." for correct application in multiplayer. 2012-12-26 11:47:16 +00:00
moomarc
6f6d56524e - Converted Blatant Thievery for multiplayer. 2012-12-26 10:51:19 +00:00
moomarc
479e5a614a - Converted Mass Mutiny for multiplayer.
- Added TargetsWithDifferentControllers param for targeting with different controllers (should supercede TargetsFromDifferentZone in most cases as it works with player lists instead of using getOpponent)
2012-12-26 10:33:03 +00:00
Sol
bf898ddefb - Added very basic AddPhase AF
- Added support in PhaseHandler for Additional phases
- Convert Finest Hour to AddPhase
2012-12-26 04:31:43 +00:00
swordshine
ee98b3d0eb * Vanguard: Added Mirror Entity Avatar and Mayael the Anima Avatar 2012-12-26 00:12:42 +00:00
Maxmtg
000125c77e fix crash during drafts
tweak ColorSet toString
2012-12-25 22:01:39 +00:00
moomarc
5573a8b4a6 - Converted Nezumi Shortfang for multiplayer 2012-12-25 17:25:56 +00:00
Chris
540befebc0 - Added the recent commit logs to changes.txt. Preparing for the snapshot build release. 2012-12-25 12:47:30 +00:00
swordshine
fe36e2c5f3 * Scheme: Added Know Naught but Fire 2012-12-25 11:02:46 +00:00
swordshine
ae513cfbc2 * Added Lammastide Weave and Roots of Life 2012-12-25 06:52:24 +00:00
swordshine
7323a6d643 * Fixed Divine Light 2012-12-25 00:45:43 +00:00
moomarc
edc2f6dc88 - Fixed Molten Psyche cost 2012-12-24 16:24:26 +00:00
moomarc
18e2a91bbc - It would appear that I forgot to commit the changes to the ability factory effects when I moved ConditionDescription to the common stack description handler.
- Reverted LocalCount in favor of RepeatPlayer in RepeatEach (Molten Psyche and Netherborn Phalanx)
- Converted Myojin of Night's Reach and Imprison This Insolent Wretch to multiplayer scripts
2012-12-24 15:18:50 +00:00
Chris
bc540c52fd - Added the recent commit logs to changes.txt. Preparing for the snapshot build release. 2012-12-24 13:10:53 +00:00
swordshine
627e30ba16 * Added Haze Frog
* Readded Eye of the Storm
2012-12-24 00:29:37 +00:00
Maxmtg
c15f23f959 Greatly simplified BoosterDraftAI to pick cards based on calculated card rating. 2012-12-23 22:45:49 +00:00
ArsenalNut
e7d108508a added Desperate Gambit 2012-12-23 18:05:37 +00:00
ArsenalNut
dd14ead9fe Added Squee's Revenge and cleaned up Fiery Gambit 2012-12-23 16:30:48 +00:00
Chris
c0402f0606 - Added the recent commit logs to changes.txt. Preparing for the snapshot build release. 2012-12-23 12:35:22 +00:00
Maxmtg
79b04ac440 CardColor renamed to ColorSet which reflects class purpose better,
Mana stores color in a byte internally (one of MagicColor constants or 0 for colorless)
ManaPool.getMana - a cleaner choice of mana to pay.
2012-12-23 11:59:13 +00:00
Maxmtg
6f50a69104 renamed parameter for better understanding of payments from ManaPool
moved colorful part of mana shard parsing inside the mana/ManaCostShard.java file to eliminate code duplication
2012-12-23 09:21:09 +00:00
ArsenalNut
556a14482a adding Goblin Psychopath and Impulsive Maneuvers 2012-12-23 08:04:10 +00:00
swordshine
78595d6af7 * Delete Eye of the Storm (with some rule text conflicts)
* Some SVar updates
2012-12-23 06:07:41 +00:00
swordshine
83cfe981dc * Fixed Academy Researchers can be enchanted by auras that can't legally enchant it
* Added Eye of the Storm, Neurok Transmuter, Overwhelming Instinct and Total War
* Vanguard: Added Phage the Untouchable Avatar and Prodigal Sorcerer Avatar
* Scheme: Added My Undead Horde Awakens
2012-12-23 05:36:47 +00:00
ArsenalNut
dcfa567bb8 Read card text more carefully. Reverted changes to FlipCoinEffect.java and flipACoin method. Adjusted Fiery Gambit script. 2012-12-23 03:56:44 +00:00
ArsenalNut
b7602616ff Modified coin flips to allow just counting heads or tails. Added Fiery Gambit. 2012-12-23 03:44:43 +00:00
ArsenalNut
c95a75dc6b added check that disabled deck checking if developer mode is enabled 2012-12-22 19:34:42 +00:00
ArsenalNut
8b8e4d9517 added a ChooseOrder switch to RepeatEach effect 2012-12-22 18:39:03 +00:00
Maxmtg
5d2495046c Moved code that checks if a deck matches format to class describing format (althogh a separate validator class might be even a better idea) 2012-12-22 17:20:01 +00:00
Maxmtg
11062aba61 draft value estimation moved outside of deck class 2012-12-22 16:54:08 +00:00
Maxmtg
6216aea556 put an end to impropper use of inventoryitem.getType to make checks against card types 2012-12-22 16:25:39 +00:00
Chris
76b146287b - Added the recent commit logs to changes.txt. Preparing for the snapshot build release. 2012-12-22 11:53:50 +00:00
Agetian
b62c1b36fd - Targeting overlay: Added support for showing arrows for paired creatures, performed some code cleanup. 2012-12-22 06:30:10 +00:00
Agetian
1b32183b2b - More code simplification. 2012-12-22 06:10:18 +00:00
Agetian
4cfb39b823 - Code simplification. 2012-12-22 06:06:53 +00:00
Agetian
0651a261b8 - Mistype correction.
- Min/max sideboard size message tweaks.
2012-12-22 06:02:28 +00:00
swordshine
a3bd8351cb Added Mirri, the Cursed Avatar
Fixed Mage Slayer
2012-12-22 05:32:17 +00:00
swordshine
08d1a6a135 Added 3 avatars and a scheme 2012-12-22 01:00:24 +00:00
Sloth
8175bd79e3 - Updated some SVars. 2012-12-21 21:53:30 +00:00
Sloth
5bd6aeead2 - The AI can now use Hidetsugu's Second Rite. 2012-12-21 21:41:22 +00:00
Sol
8a77555cdf - Added Valid filtering for Defined, used by Earthbind 2012-12-21 20:56:45 +00:00
Sloth
51beafa1e6 - Added SVar:RemAIDeck:True to Waiting in the Weeds. 2012-12-21 19:52:36 +00:00
Sloth
ce6f20f0e0 - Fixed Lightmine Field. 2012-12-21 17:22:59 +00:00
moomarc
ceddf57abb - Small fix to Braids Avatar 2012-12-21 17:19:40 +00:00
Chris
db00479d8d - Added the recent commit logs to changes.txt. Preparing for the snapshot build release. 2012-12-21 13:16:43 +00:00
swordshine
f25930f7af Added Braids Conjurer Adept Avatar 2012-12-21 08:14:55 +00:00
swordshine
da3027101f Added Tesya, Orzhov Scion Avatar 2012-12-21 07:49:52 +00:00
RumbleBBU
0b21b10aa0 Very minor CheckStyle. 2012-12-21 07:23:19 +00:00
RumbleBBU
116fc0e53d Do not display the current world in the Travel destination dialog.
CheckStyle.
2012-12-21 07:20:16 +00:00
swordshine
7bba9a3d09 Added some missing setinfos for Vanguard Avatars
Fixed Royal Assassin Avatar and Oni of Wild Places Avatar
Added Introductions are in Order
Added Reaper King Avatar and Rith the Awakener Avatar
2012-12-21 03:08:38 +00:00
swordshine
f68d8c23be Vanguard: Added some avatars 2012-12-21 00:21:37 +00:00
Maxmtg
03ca9878f9 1. GameType store deck restrictions in a more structured way
2. Check for multiple unique cards considers name the only key attribute 
3. Removed warnings for unused imports
2012-12-20 23:34:59 +00:00
Maxmtg
905ec51578 +org.apache.commons-lang 2012-12-20 22:43:38 +00:00
Maxmtg
f1d6e2e204 Added Phenomena core type,
Removed Swing reference from Deck class
2012-12-20 22:25:13 +00:00
Chris
04fe3e094a - Added the recent commit logs to changes.txt. Preparing for the snapshot build release. 2012-12-20 13:16:38 +00:00
Sloth
4894a776d9 - Fixed cost of Simic Basilisk. 2012-12-20 12:31:46 +00:00
RumbleBBU
eb40b95968 Renumbered the Shandalar challenges to make them unique (in order to prevent potential conflicts with non-repeatable challenges in the main challenges folder). 2012-12-20 12:26:17 +00:00
Chris
4d1f799c8f - Added a fluff piece to the changes.txt file.
- Added the recent commit logs to changes.txt. Preparing for the snapshot build release.
2012-12-20 12:22:27 +00:00
RumbleBBU
27533f5d02 Quest Worlds, stage 1. This version simply allows you to travel between the regular quest world and the newly-added Shandalar world to get different duel opponents and challenges. You will have to complete your current challenges before travelling or you will lose them.
World-specific format enforcing and starting world selection will be added in later stages. Also, something has to be done about locked (non-repeatabled) challenges so they do not end up locking other challenges in different worlds.
2012-12-20 12:16:27 +00:00
swordshine
0d96884d2b Added Kjeldoran Guard and Phantasmal Mount 2012-12-20 10:47:37 +00:00
Sloth
65e8f8e419 - Fixed ImprintedCardManaCost xCount. 2012-12-20 08:24:28 +00:00
Sloth
2c4151a996 - Fixed a possible bug in targetAI related to PayX SVars. 2012-12-20 08:18:17 +00:00
Sloth
9c3556cc62 - Another fix for Scalpelexis. 2012-12-20 08:16:02 +00:00
Sloth
47f402835d - Fixed some missing ability description. 2012-12-20 07:19:28 +00:00
swordshine
47f474640f Added Graceful Reprieve and Mangara's Blessing 2012-12-20 00:17:02 +00:00
Chris
519b8c2528 - The rev number displayed in the title bar is once again displaying an old version number, remove it. 2012-12-19 23:40:10 +00:00
Sloth
cee8ca9be7 - Fixed Thragtusk. 2012-12-19 21:56:51 +00:00
Agetian
837298ee52 - Fixed a NPE in AF Discard. 2012-12-19 14:29:12 +00:00
Chris
a2e324b4e1 - Added the recent commit logs to changes.txt. Preparing for the snapshot build release. 2012-12-19 11:24:59 +00:00
swordshine
565fc4f07b made some TgtPrompt more specific 2012-12-19 11:19:20 +00:00
Sloth
3621e0b474 - Fixed The Pieces Are Coming Together. 2012-12-19 06:25:46 +00:00
Sloth
b6db57a478 - Added 2 cards by swordshine. 2012-12-18 22:12:15 +00:00
Sloth
e45b3da2b0 - Another fix for Demonic Hordes. 2012-12-18 22:10:30 +00:00
Chris
c5e2ff4847 - CheckStyle. 2012-12-18 18:23:21 +00:00
Chris
a0c8e7a50c - CheckStyle. 2012-12-18 18:01:02 +00:00
Chris
48666ed8e6 - Added the recent commit logs to changes.txt. Preparing for the snapshot build release. 2012-12-18 10:51:57 +00:00
Agetian
950aafba63 - Sideboarding: A little code style-related change. 2012-12-18 09:28:17 +00:00
Sloth
91d73953e2 - Added code for CantBeBlockedBy keywords to isUsefulPumpKeyword. 2012-12-18 09:25:08 +00:00
RumbleBBU
79481fd65a Add the regular quest environment as a special index 0 world. 2012-12-18 09:22:11 +00:00
Sloth
6553ee7804 - Added 3 cards by swordshine. 2012-12-18 09:10:58 +00:00
Agetian
457eea52e6 - Sideboarding: A more appropriate location for the quest deck reinitialization, now interacts correctly with winning/losing cards on ante. 2012-12-18 08:53:57 +00:00
Agetian
243d3d1540 - Sideboarding: Correctly restore the initial state of quest decks after a match. 2012-12-18 06:43:58 +00:00
Sloth
40f834e8d6 - Added Rime Transfusion. 2012-12-17 22:22:46 +00:00
Sloth
e85f2a5eb9 - More combat AI improvements (predicting pump abilities). 2012-12-17 22:17:53 +00:00
Sloth
0473427d35 - The AI will now attack with Frozen Shade. 2012-12-17 17:38:53 +00:00
Sloth
e38a9f1220 - The AI will no longer try to destroy fetchlands. 2012-12-17 17:15:41 +00:00
Chris
db181eacb2 - Added a fluff piece to the changes.txt file. 2012-12-17 13:09:56 +00:00
Chris
e0c521c1b4 - Added the recent commit logs to changes.txt. Preparing for the snapshot build release. 2012-12-17 12:31:59 +00:00
Agetian
d1033dd7e7 - Sideboarding: minor code cleanup. 2012-12-17 09:18:13 +00:00
Agetian
e0194f050e - Sideboarding: renamed a method to startDeckEdits for clarity. 2012-12-17 09:10:47 +00:00
Sloth
0a9206bd3d - Added 2 cards by swordshine. 2012-12-17 07:09:01 +00:00
Agetian
33e3ba28c1 - Sideboarding: removed a no-longer-relevant TODO comment. 2012-12-17 04:43:04 +00:00
RumbleBBU
971080025c Allow a generic reward of 'n rares' (with no color specification) without crashing the game. 2012-12-16 18:11:07 +00:00
Agetian
06a6210d59 - Sideboarding: Correctly remove cards that are lost on ante in quest mode from all decks and trunk. 2012-12-16 16:15:31 +00:00
Agetian
26a70c67d0 - Sideboarding: an off-game sideboard editor button will no longer show for the Limited modes (doesn't make sense for them anyway). 2012-12-16 15:40:47 +00:00
Agetian
803f86eb0b - Sideboarding: Take three on trying to befriend sideboarding with ante and all the other stuff. Will either commit to this or revert later if it fails as well. 2012-12-16 15:00:46 +00:00
Agetian
17abdb9820 - Sideboarding: Quest mode now properly requires a sideboard of either 0 or 15 cards. 2012-12-16 12:43:56 +00:00
Agetian
784c6ac5cb - Sideboarding: reverting the last implementation of persistence (again). Another dead idea. 2012-12-16 12:42:25 +00:00
Chris
66bf439e6d - Added the recent commit logs to changes.txt. Preparing for the snapshot build release. 2012-12-16 12:21:50 +00:00
Agetian
77870fc4f7 - Sideboarding: Attempt two at in-match deck configuration persistence. Currently still not 100% functional (Constructed and Limited seem to work fine, no cards disappearing between matches bugs and persistence works; in Quest, persistence also works but it lasts longer than the match). Ante seems to work correctly, at least in Quest mode. 2012-12-16 11:14:09 +00:00
Sloth
42c8c8ca4d - Evoke is now flagged as non-basic cost. 2012-12-16 09:28:15 +00:00
Agetian
8c1d9bdb18 - A little correction to the previous commit. 2012-12-16 08:12:49 +00:00
Agetian
a3b87504cc - Sideboarding: you can now put any number of snow-covered basic lands into your deck, per MTG rules. 2012-12-16 08:10:36 +00:00
Sloth
aae4cf54fd - Added 5 cards by swordshine. 2012-12-16 08:07:31 +00:00
Sloth
3c22a8eb92 - Added 6 cards by swordshine. 2012-12-16 07:55:01 +00:00
Agetian
bba687411a - Sideboarding: during deck validation between the duels in a match, the deck will be considered valid if it's no less than either the format-enforced minimum or the minimum after the previous duel in a match (to account for the possibility of losing a card on ante). 2012-12-16 06:50:21 +00:00
Agetian
bdef7e1938 - Sideboarding: removed the old deck persistence system. Hopefully a new implementation will follow soon enough (as soon as I understand how it can be done or someone volunteers to help). 2012-12-16 06:14:45 +00:00
Agetian
5249fe69d1 - Sideboarding: Temporarily disabled main/sideboard persistence across duels in a match because the current implementation results in many difficult to fix bugs. Will hopefully reimplement this soon in another way. 2012-12-16 05:50:35 +00:00
Sol
07e4b6c47e - Fixing Sleight of Hand in Quest mode not allowing a free mulligan 2012-12-16 04:10:10 +00:00
Sloth
003f89e7ea - Fixed Jerrard of the Closed Fist. 2012-12-15 22:04:03 +00:00
Agetian
8dda6a7f5b - Sideboarding: Attempt at fixing interaction of sideboarding with the mulligan in rounds 2 and 3 (experimental, might not actually do the trick). 2012-12-15 19:44:30 +00:00
Agetian
cc4daa513c - Sideboarding: Fixed the interaction of sideboarding with flip cards which caused a crash if the card was flipped at the end of the game. 2012-12-15 19:07:32 +00:00
Sloth
62ef25e1d9 - Fixed Demonic Hordes. 2012-12-15 19:07:23 +00:00
Agetian
34905b2887 - A more appropriate measure for the AI complaints about non-AI friendly cards in sideboard: in Limited modes, the AI will currently not complain (because the non-AI friendly cards end up in the sideboard anyway), but in Constructed modes, the AI will complain if any unplayable cards are included in the sideboard. 2012-12-15 15:14:21 +00:00
Agetian
93a3e9aa5a - The game will no longer complain about the RemAIDeck cards that are located in the AI sideboard (otherwise it polluted limited mode with a list of all cards that the AI drafted but did not put into its deck as if they were put into the deck). 2012-12-15 15:04:33 +00:00
Agetian
2cca75b6c7 - Sideboarding: the drafting window will no longer show an option to switch between the main and the sideboard (only the drafted deck editor will). 2012-12-15 14:50:37 +00:00
Agetian
3db5163780 - Corrected the rarity of Last Rites. 2012-12-15 14:10:54 +00:00
Sloth
6fd24294c7 - Added Knight of the Holy Nimbus. 2012-12-15 14:07:29 +00:00
Sloth
a8e3f2d3a8 - Added the keyword "If CARDNAME would be destroyed, regenerate it.".
- Added Clergy of the Holy Nimbus.
2012-12-15 14:05:07 +00:00
Agetian
74a87c1678 - Added a way to discard any number of cards via a two-panel interface to the AF Discard.
- Added Last Rites.
2012-12-15 13:27:35 +00:00
Chris
d300412e46 - Added the recent commit logs to changes.txt. Preparing for the snapshot build release. 2012-12-15 12:44:55 +00:00
Sloth
3e35f4d625 - Added Artifact Possession. 2012-12-15 11:02:58 +00:00
Sloth
633ed2cef7 - Fixed Quest for the Holy Relic. 2012-12-15 07:54:41 +00:00
Sloth
433500a02b - Added 4 cards by swordshine. 2012-12-15 07:21:13 +00:00
Agetian
d8b962a33f - Sideboarding: minor TODO comment update. 2012-12-15 04:36:07 +00:00
Agetian
41502c16d7 - Sideboarding: fixed the sideboard becoming fubar after playing at least one quest match. 2012-12-15 04:29:08 +00:00
Chris
8197a07134 - Preparing the changes.txt file for the next beta build and release. 2012-12-15 01:59:29 +00:00
Sloth
9c5addf518 - Added a few missing SetInfos. 2012-12-14 22:42:35 +00:00
Sloth
4eea3d7dd2 - Added Burning Wish, Cunning Wish and Living Wish. 2012-12-14 21:37:29 +00:00
Sloth
6c68ff4fca - The sideboard is now available as a zone.
- Added Golden Wish.
2012-12-14 21:31:59 +00:00
Sloth
2d64b0a11a - Fixed and polished AI using ETB Counterspells (like Mystic Snake). 2012-12-14 20:52:24 +00:00
Sloth
c397e2f7a7 - Added 4 cards by swordshine. 2012-12-14 20:42:59 +00:00
Sol
12ccdb0ccc - Display X costs in the deck editor before Colorless Mana (X 1 B instead of 1 X B) 2012-12-14 17:19:12 +00:00
Sol
61de4946bf - Converted Winds of Change to use RepeatEach so moomarc can use it as an example 2012-12-14 14:38:28 +00:00
Agetian
920178c239 - Sideboarding: Initial commit. Added full sideboard support with the ability to create sideboards for Constructed and Quest decks, as well as use sideboard in Limited modes; full deck validation depending on the game format; ingame sideboarding that is persistent across the duels of one match. *No AI support yet, hopefully someone will be able to add it in the future* 2012-12-14 13:47:35 +00:00
Chris
f1ae5f4877 [maven-release-plugin] prepare for next development iteration 2012-12-14 13:06:32 +00:00
Chris
f2c9d2502c [maven-release-plugin] prepare release forge-1.3.3 2012-12-14 13:06:19 +00:00
Agetian
848f9391ef - Remove question marks from card file names (now the "Who of You Burns Brightest?" scheme is visualized correctly). 2012-12-14 13:03:28 +00:00
Chris
87100f83cb - Preparing the changes.txt file for the next beta build and release. 2012-12-14 12:54:38 +00:00
Chris
7d5c4e2d36 - Added the recent commit logs to changes.txt. Preparing for the beta build and release. 2012-12-14 12:44:32 +00:00
moomarc
1c5c830bdd - applied script fixed by swordshine 2012-12-14 06:19:14 +00:00
RumbleBBU
e76670f013 Decks for the sample 'Shandalar' world. No images (due to copyright reasons). Will be enabled AFTER the next beta release. 2012-12-14 06:09:50 +00:00
moomarc
22203de692 - Made a few more cards multiplayer compatible
- Added LocalCount to resolve of DamageDealEffect and DrawEffect which allows calculated variables to be calculated per player (should allow a few more cards to be made multiplayer compatible)
- Fixed ChangeZoneAll so that it works correctly when Defined returns more than one player
2012-12-14 05:18:35 +00:00
Agetian
ae33871bea - Fixed Necropotence. 2012-12-14 03:26:31 +00:00
Chris
5bf5bd9a30 - CheckStyle. 2012-12-14 01:34:23 +00:00
Agetian
78df8a5fcc - Fixed the casting cost of High Ground. 2012-12-13 16:41:41 +00:00
Chris
eb53f53cba - Added the recent commit logs to changes.txt. Preparing for the snapshot build release. 2012-12-13 11:52:37 +00:00
Hellfish
6016e0f728 *Reverted Archenemy starting life to 10+(10*<Number of opponents>)
*Fixed saving pre-scheme decks.
*Cleaned up imports.
2012-12-12 22:24:36 +00:00
Agetian
300092581b - Sideboarding: Initial commit of phase 1-related code (sideboard mode for deck editor). Currently DISABLED and should not affect anything in the code, will be updated and enabled after v1.3.3. 2012-12-12 18:43:02 +00:00
Sloth
9e8ba38ec9 - Fixed AI possibly pumping opposing creatures (plus multiplayer considerations). 2012-12-12 17:29:24 +00:00
Sloth
61c25fd89e - Fixed Skirk Alarmist. 2012-12-12 17:18:50 +00:00
moomarc
d286c2e7d7 - Further fix for Tolarian Entrancer 2012-12-12 15:49:38 +00:00
Sloth
bb59a68f43 - Fixed Tolarian Entrancer. 2012-12-12 15:28:13 +00:00
Sloth
485d9164c2 - Added the scheme I Delight in Your Convulsions. 2012-12-12 15:21:32 +00:00
Chris
db617ce25c - Added the recent commit logs to changes.txt. Preparing for the snapshot build release. 2012-12-12 12:37:03 +00:00
Sloth
628ed7b1c3 - Converted Omnath, Locus of Mana to script by keywording his ability. 2012-12-12 11:25:20 +00:00
moomarc
cba20a3b65 - More cards ready for multiplayer 2012-12-12 09:42:21 +00:00
moomarc
0d8a301f5f - Moved ConditionDescription into SpellEffect.getStackDescriptionWithSubs and stopped PumpAllEffect and DestroyEffect from grabbing stack description for subabilities (already handled in main shared method) 2012-12-12 09:39:05 +00:00
Sol
40e25362bf - Reenabling CheckStaticEffects in triggerhandler 2012-12-12 03:36:14 +00:00
Sloth
15545865af - Added "SVar:RemAIDeck:True" to Akroma's Blessing and Primal Clay. 2012-12-11 20:03:22 +00:00
Sloth
c45879672a - Fixed Acidic Dagger and Venomous Breath. 2012-12-11 19:56:14 +00:00
Sloth
9e2ebb1460 - Added some AI checks to canRegenerate. 2012-12-11 18:54:08 +00:00
Chris
b7031490d3 - Added the recent commit logs to changes.txt. Preparing for the snapshot build release. 2012-12-11 11:42:00 +00:00
Sloth
600d600726 - Pattern of Rebirth will now grant a SacMe SVar to the enchanted creature. 2012-12-11 09:17:29 +00:00
Sloth
7596d2b76d - Added 8 cards by swordshine. 2012-12-11 08:39:26 +00:00
RumbleBBU
d3017f37ad Fix javadoc for QuestEvent.getOpponent(). 2012-12-11 08:17:12 +00:00
RumbleBBU
64f5a9ceb3 It is now possible to give challenge opponents (players) names that are different from the actual challenge names. 2012-12-11 08:15:04 +00:00
moomarc
6f523cd221 - Made a few more cards multiplayer compatible 2012-12-11 06:02:45 +00:00
Sloth
885bcc15bf - Fixed Fireball. 2012-12-10 22:46:20 +00:00
Sloth
2d341d0569 - Added 2 cards by swordshine. 2012-12-10 20:50:45 +00:00
Sloth
57affdde43 - Made two cards multiplayer compatible. 2012-12-10 20:40:50 +00:00
Sloth
1b81ad3968 - Renamed the file of Plots That Span Centuries. 2012-12-10 20:22:44 +00:00
Sloth
fa131cc805 - Reintegrated the Schemes branch. 2012-12-10 19:48:05 +00:00
Agetian
2eb1104516 - Sound System: Minor tweaks to the individual card sound effect system. 2012-12-10 15:31:19 +00:00
moomarc
0422d82417 - Converted more cards for multiplayer (my last ones for the day) 2012-12-10 15:10:03 +00:00
moomarc
18988765f3 - Converted more cards for multiplayer 2012-12-10 14:47:49 +00:00
moomarc
4f4e23b35e - Converted more cards for multiplayer and improved Player.isValid:Opponent 2012-12-10 14:27:49 +00:00
moomarc
b7bf6e4da6 - Converted some more cards for multiplayer.
- Added some basic count methods for use in multiplayer situations
2012-12-10 13:41:06 +00:00
Chris
bdbeb5ed23 - Added the recent commit logs to changes.txt. Preparing for the snapshot build release. 2012-12-10 12:14:50 +00:00
Sloth
87988a39b0 - Improved doTriggerAINoCost in AF Attach. 2012-12-10 09:40:29 +00:00
Agetian
b3ba4630fe - Sound system: Added a way to play card-specific sound effects depending on the presence of the SoundEffect SVar on a card. If the SVar is present, the sound file specified in the SVar must be present, otherwise no sound is played. 2012-12-10 09:25:04 +00:00
Sloth
ab1f1dbf0e - Fixed Yawgmoth's Will. 2012-12-10 09:12:46 +00:00
Sloth
5ce6c25084 - Fixed getGamesWonBy crashing when the game was a draw. 2012-12-10 08:38:57 +00:00
Sloth
668ba22e39 - Fixed Elfhame Sanctuary. 2012-12-10 08:35:52 +00:00
Sol
5e292e406c - Temporarily disable changes needed for Valakut timing properly, since it seemed to have adversely effect a bunch of other triggers 2012-12-10 03:08:34 +00:00
Sol
45898d0086 - Convert Night Soil to script (done with CF_Enchantments) 2012-12-09 17:26:23 +00:00
Chris
2e15dfab3f - Fixed the ability cost for Engineered Explosives. 2012-12-09 15:12:24 +00:00
Sol
26227d26f2 - Small fixes to Animate Dead and Dance of the Dead 2012-12-09 14:52:49 +00:00
Chris
c033c97c9a - Added the recent commit logs to changes.txt. Preparing for the snapshot build release. 2012-12-09 12:42:20 +00:00
Agetian
4ab91df70e - Made the random set generation for random decks more optimal. 2012-12-09 06:27:49 +00:00
Sol
bd96a7d213 - Convert Convincing Mirage and Phantasmal Terrain to script
- Small tweak to Triggers to allow them to refire Statics when they finish resolving (useful for Conving Mirage to actually grant its ability immediately upon resolving)
2012-12-09 04:39:02 +00:00
Sol
b3bc65b215 - Fixing a crash in Island Sanctuary before the game starts 2012-12-09 04:03:14 +00:00
Sol
9f014009e8 - Convert Guilty Conscience to Script 2012-12-09 03:18:04 +00:00
Sol
361d4b38ab - Fix to avoid Comodification errors with Waiting Triggers and infinite loops with multiple resolving Waiting Triggers 2012-12-08 21:29:46 +00:00
Agetian
cf7c0333ef - Minor code cleanup. 2012-12-08 19:59:56 +00:00
Agetian
9161378538 - Better name for the card art randomization option. 2012-12-08 17:57:53 +00:00
Agetian
2fb60ca991 - Added an option to the preferences window to randomize card art in the human decks (e.g. different card art for basic lands from the same set) for whoever likes variety. 2012-12-08 17:54:45 +00:00
Sol
1616f38eab - Fixing rarity on Aura Finesse 2012-12-08 17:03:18 +00:00
Chris
1c93bc8676 - Added the recent commit logs to changes.txt. Preparing for the snapshot build release. 2012-12-08 15:50:41 +00:00
Sol
a2eef4a667 - Sigh, missed a new class. 2012-12-08 15:28:44 +00:00
Sloth
d6508a7ea1 - Fixed Tower Above. 2012-12-08 15:15:09 +00:00
Sol
1bfd0eefa5 - Explicitly shuffle Haunting Echoes instead of using it inside RepeatEach 2012-12-08 13:58:52 +00:00
Chris
f08b027a0e - Added the recent commit logs to changes.txt. 2012-12-08 11:47:27 +00:00
Sloth
75f3985b65 - Fixed Mind Swords. 2012-12-08 09:54:13 +00:00
Sloth
e423d9959b - Added Argothian Wurm and Marshaling the Troops. 2012-12-08 09:44:46 +00:00
Sloth
1d85ea5fe0 - Added 3 cards by swordshine. 2012-12-08 09:38:26 +00:00
Sol
60185409cf - Triggers will now wait to trigger if the Stack is frozen. (Fixes Valakut not triggering enough times)
- Convert Earthbind to Script now that the timing works
2012-12-08 04:32:23 +00:00
ArsenalNut
7c15caf5f4 add check to drawing miracle so that miracle cost is not triggered in opening hand. 2012-12-08 04:26:16 +00:00
Chris
883a4b209c - BuildInfo.getVersion() is once again returning an incorrct SVN number ("-r18445"). 2012-12-08 01:37:56 +00:00
Sloth
92e607ff0f - Added Scarab of the Unseen. 2012-12-07 18:50:58 +00:00
Chris
d3cd629d8e - Added a fluff piece to the changes.txt file. 2012-12-07 18:50:13 +00:00
moomarc
65751c3c20 - converted a few more cards for multiplayer compatibility 2012-12-07 18:30:09 +00:00
moomarc
59fbd1f205 - Player.Opponent now returns opponents only, while Player.Other returns all other players
- Converted some cards for multiplayer compatibility
- improved stack description for LoseLife
2012-12-07 17:21:50 +00:00
Agetian
d35a801a84 - Made the default value of the "Show Unique Cards Only" (in Constructed) "true" (checked) to mimic the original Forge behavior. 2012-12-07 16:03:38 +00:00
Agetian
d067f4cb35 - The Constructed deck editor now has an option to either show all cards from all sets or show unique cards only (see the Preferences tab), the Sealed Mode, Draft Mode, and Quest Mode deck editors will always show cards from all sets in order to avoid issues and confusion. 2012-12-07 15:52:29 +00:00
Sol
a004350e7d - Fixing text of Sen Triplets 2012-12-07 13:58:35 +00:00
Sloth
ae0af72bab - Fixed Demoralize. 2012-12-07 13:57:05 +00:00
Sloth
64e225937a - Fixed Armor of Thorns. 2012-12-07 13:38:12 +00:00
moomarc
595d4041ef - minor tweak 2012-12-07 13:29:57 +00:00
moomarc
fdd22e6cb6 - uncommented some recently included tokens' download links 2012-12-07 13:11:25 +00:00
moomarc
cc482f5273 - Added Phantasmal Sphere 2012-12-07 12:39:41 +00:00
Chris
3d0d406226 - Added a fluff piece to the changes.txt file.
- Added the recent commit logs to changes.txt. Preparing for the snapshot build release.
2012-12-07 11:56:16 +00:00
RumbleBBU
326b36ca2c Use the more verbose title instead of name for duels and challenges in quests (it used to be this way). 2012-12-07 11:45:29 +00:00
moomarc
2791e4e72f - Added Withdraw 2012-12-07 11:39:29 +00:00
moomarc
bf19364c73 *Schemes: Added scheme - I Call on the Ancient Magics 2012-12-07 08:33:39 +00:00
Sloth
7493bfeb95 - Added 3 cards by swordshine. 2012-12-07 07:52:09 +00:00
moomarc
f8fa10326d - Added Sen Triplets (that's Alara Reborn 100% implemented)
- Made CardFactoryUtil.getExternalZoneActivationCards compatible with multiplayer
2012-12-07 07:08:29 +00:00
Agetian
4c91f74964 - Sound System: Enabling sounds by default, adding the currently available free sounds to the SVN. 2012-12-07 03:55:01 +00:00
Sol
a82bf31519 - Convert Animate Dead and Dance of the Dead to script (oh joyous day)
- Some small changes in AF_Animate to grant spells with the right timing
- Only move Auras into play if it's a cast spell
2012-12-07 03:26:11 +00:00
Sol
5c52d7209b - Allow Auras to Enchant cards in graveyards for (Animate Dead and Spellwewaver Volute) 2012-12-07 02:21:45 +00:00
Sol
5dbc5318a0 - Actual right fix for Crocs 2012-12-07 00:17:58 +00:00
Sol
98052795ab - Updating Crocodile Pet for Static OpponentTurn changes 2012-12-07 00:14:38 +00:00
moomarc
eead1c2721 - Added Bruna, Light of Alabaster 2012-12-06 15:56:51 +00:00
Sloth
fd78277f93 - Added Scrounge. 2012-12-06 14:47:57 +00:00
Sloth
978323745f - Added AEther Snap. 2012-12-06 14:28:18 +00:00
Sloth
1810891786 - The AI will now activate Lu Su, Wu Advisor and other little AI tweaks. 2012-12-06 13:58:11 +00:00
Chris
361689c0e4 - Added the scheme and the sound directories to the SVN trunk. 2012-12-06 13:39:15 +00:00
moomarc
b609802389 *Schemes: Added scheme - Evil Comes to Fruition 2012-12-06 12:31:54 +00:00
moomarc
5033d9a8d0 *Schemes: Forgot to commit some code for Mortal Flesh Is Weak
- Slight tweak to ChangeZoneAll so that you won't be given a choice ordering box when moving cards to the library if the list has fewer than two cards
2012-12-06 12:12:47 +00:00
moomarc
404144fb20 *Schemes: Added scheme - Every Last Vestige Shall Rot 2012-12-06 12:08:32 +00:00
moomarc
f3f9de092f *Schemes: Added scheme - Every Hope Shall Vanish 2012-12-06 11:41:05 +00:00
Chris
42ab1f0ed1 - Added the recent commit logs to changes.txt. Preparing for the snapshot build release. 2012-12-06 11:34:35 +00:00
moomarc
bb303333a7 - Fixed NotEnchantedBy broken in my previous commit 2012-12-06 11:31:43 +00:00
moomarc
3011758bd9 - Added Aura Graft 2012-12-06 11:06:30 +00:00
Agetian
5542f28b29 - Simplified the code for random set codes in generated decks. 2012-12-06 08:45:15 +00:00
Agetian
cfa9c60a0b - Randomly generated decks will now feature cards from random editions (so, no more "all lands Zendikar" etc.). 2012-12-06 08:39:27 +00:00
Sloth
c553b67717 - Added code for "CARDNAME can attack as though it didn't have defender." to isUsefulPumpKeyword. 2012-12-06 08:00:12 +00:00
moomarc
aae163f7a3 - Converted Sarpadian Empires, Vol. VII 2012-12-06 06:40:23 +00:00
Sloth
f8c58227c8 - Reversed order of game log. 2012-12-05 18:59:38 +00:00
Agetian
be673de8c1 - Corrected a mistype. 2012-12-05 14:10:58 +00:00
Agetian
32713e36ff - Added card panel highlighting to orderBlockingMultipleAttackers. 2012-12-05 14:06:34 +00:00
Agetian
b05cdb6073 - Changed the draft mode option text from "Play all 8 opponents" to "Play all 7 opponents" since the human is the 8th player and he has seven opponents. 2012-12-05 13:51:35 +00:00
Agetian
91d3c51629 - Added a "save deck" button to the Limited deck editor to avoid confusion. The button will generate a proper confirmation message, so it won't confuse the player by just saying that the deck with the given name already exists (which is not appropriate for Limited since there is only one deck anyway). 2012-12-05 13:42:37 +00:00
Sloth
760c32caf4 - Updated some more AI functions. 2012-12-05 13:01:03 +00:00
Chris
8f0963645a - Added the recent commit logs to changes.txt. Preparing for the snapshot build release. 2012-12-05 11:41:45 +00:00
moomarc
5d7d804838 *Schemes: Added scheme - Mortal Flesh Is Weak
*Fixed Repay in Kind for multiplayer
2012-12-05 11:28:46 +00:00
moomarc
1d3d47a79b *Schemes: Added scheme - Dance, Pathetic Marionette 2012-12-05 10:15:41 +00:00
Sloth
c80e241f1f - Added Retether by swordshine. 2012-12-05 06:28:49 +00:00
Hellfish
32f71ba654 *Schemes:Merged in r18521-18589 from trunk 2012-12-04 21:15:28 +00:00
Sloth
8ec2a7d7a1 - Added an easy version of the Gold Finger opponent. 2012-12-04 20:37:12 +00:00
Sloth
d43df5594f - Fixed Telekinesis. 2012-12-04 20:27:41 +00:00
Sloth
994f70ac88 - Little CanPlayAI updates. 2012-12-04 20:17:31 +00:00
moomarc
4ca33f1380 *Schemes: Reverted my earlier change to getDefinedPlayers:Opponent. (Will slowly go through each case after merging at a later stage to make multiplayer compatible using Player.Other or Player.Opponent where applicable) 2012-12-04 19:28:47 +00:00
moomarc
1a2f9cd0d2 *Schemes: Added scheme - Nothing Can Stop Me Now 2012-12-04 19:19:07 +00:00
Sloth
7eb6a80d0e - Removed duplicate StackDescription of SubAbilities from AF ChangeZone. 2012-12-04 18:49:46 +00:00
moomarc
791e94cb48 *Schemes: Added scheme - My Wish Is Your Command 2012-12-04 18:48:45 +00:00
moomarc
addc490ea7 *Schemes: Added scheme - The Pieces Are Coming Together 2012-12-04 17:43:36 +00:00
moomarc
2e25198cae *Schemes: Added scheme - Your Fate Is Thrice Sealed
*Schemes: Renamed player property NotSelf to Other
2012-12-04 17:15:28 +00:00
Agetian
3a6d078032 - Fix imports. 2012-12-04 17:01:54 +00:00
Agetian
0e60c6529c - GUI: Themed order selection window. 2012-12-04 16:43:35 +00:00
Sloth
7c987b3b0d - Added CostRemoveCounter to payCostDuringAbilityResolve.
- Added Junk Golem by swordshine.
2012-12-04 14:22:13 +00:00
moomarc
e088219204 *Schemes: removed early debugging cost for Imprison This Insolent Wretch that I forgot to revert 2012-12-04 14:11:29 +00:00
moomarc
0a39c3bf9c *Schemes: Added scheme - Imprison This Insolent Wretch
*Schemes: Added player property NotSelf
2012-12-04 14:00:50 +00:00
Chris
e727723abc - Added the recent commit logs to changes.txt. Preparing for the snapshot build release. 2012-12-04 12:36:23 +00:00
moomarc
ab7409f9da *Schemes: Added scheme - Your Puny Minds Cannot Fathom 2012-12-04 11:53:18 +00:00
moomarc
7adc0b0db6 - Updated cardTemplateScript to automatically add correct LQ pic urls. 2012-12-04 11:22:49 +00:00
Sloth
43968bb3df - Removed some unnecessary chkAIDrawback overrides. 2012-12-04 09:37:29 +00:00
Sloth
d915066d08 - Fixed Brass Squire. 2012-12-04 09:17:56 +00:00
moomarc
c17504569a *Schemes: Changed LQ image links to better images. Can be used as template for other schemes 2012-12-04 08:53:56 +00:00
Sloth
81b1db0980 - Added 4 cards by swordshine. 2012-12-04 08:47:46 +00:00
Sloth
77ec92bed0 - Added a chkAIDrawback function to AF LoseLife. 2012-12-04 08:37:05 +00:00
Sloth
b061435978 - Added a NeedsToPlay SVar to Sunken City. 2012-12-04 08:36:16 +00:00
moomarc
b503c6598d *Schemes: Changed DefinedPlayer Opponent so that it adds all opponents 2012-12-04 08:30:58 +00:00
moomarc
005a5f2766 *Schemes: Added scheme - Embrace My Diabolical Vision 2012-12-04 08:28:53 +00:00
Sloth
35c5c54a31 - Fixed Venser, the Sojourner emblem name. 2012-12-03 19:26:08 +00:00
Sloth
077df91e43 - Fixed Bloodthirst overwriting the X SVar.
- Fixed StackDescription of AF PumpAll.
2012-12-03 19:22:04 +00:00
moomarc
2ed146e6b6 *Schemes: Added scheme - Approach My Molten Realm 2012-12-03 17:16:57 +00:00
moomarc
eceaefd9a3 *Schemes: Added scheme - All Shall Smolder in My Wake 2012-12-03 16:48:14 +00:00
Sloth
32c0867390 - Added Brain Gorgers. 2012-12-03 16:19:27 +00:00
Sloth
03ca3d4872 - Expanded checkDiscardCost.
- Added Phantasmagorian.
2012-12-03 15:47:49 +00:00
Chris
c438325d63 - Added the recent commit logs to changes.txt. Preparing for the snapshot build release. 2012-12-03 11:58:45 +00:00
Sloth
fdbabf7c53 - Added the parameter "UnlessSwitched" to SpellAbilities (to switch paid and unpaid commands).
- Added Dash Hopes.
2012-12-03 10:04:05 +00:00
Sloth
0d2f953698 - Added AILogic parameter to AF TwoPiles. 2012-12-03 08:49:23 +00:00
Sloth
5be65b6614 - Fixed mana costs not always coming first in combineCosts. 2012-12-03 08:41:01 +00:00
Sloth
cbd59a3241 - Fixed Liliana of the Veil.
- Fixed AI choosing logic of AF TwoPiles.
2012-12-03 08:39:09 +00:00
ArsenalNut
f9d3003d35 reworked methods for finding SpellAbility targets 2012-12-03 08:09:00 +00:00
ArsenalNut
e91a7e6dfe changed target style to newer ValidTgts version 2012-12-03 08:02:09 +00:00
Sol
4837dbab30 - Convert Gilder Bairn and Vampire Hexmage to script
- Added support for Repeating over Counters
2012-12-03 02:49:53 +00:00
Sol
f1557ad489 - Enable DevMode to add Lands directly into play 2012-12-03 01:29:31 +00:00
Sol
9f72901b40 - Convert Goblin Charbelcher to script 2012-12-03 01:28:23 +00:00
Chris
4ea6b214d6 - Fixed the spell description for Judge Unworthy 2012-12-03 00:12:06 +00:00
Sol
722712da9f - Fixing Viscerid Drone's activation costs 2012-12-02 23:46:43 +00:00
Sloth
1463d2224a - Added Consecrate Land. 2012-12-02 22:26:10 +00:00
Hellfish
64bf23c3c8 *Schemes: Removed debug script 2012-12-02 22:14:28 +00:00
Hellfish
4240a8695c *Schemes:Added AF_SetInMotion,added ReplaceSetInMotion
*Added Scheme "Plots That Span Centuries"
*Fixed multiple schemes being set into motion consecutively.
2012-12-02 21:55:56 +00:00
Sloth
836486cc5c - Made some cards with "Whenever an opponent" triggers multiplayer compatible. 2012-12-02 21:43:04 +00:00
Sloth
056694c1db - Schemes: Added 2 schemes. 2012-12-02 16:24:54 +00:00
Sloth
8046434bf6 - PerSetTracking.py will now also check Archenemy. 2012-12-02 14:17:26 +00:00
Sloth
0062ed2837 - Schemes: Added 2 schemes. 2012-12-02 14:04:31 +00:00
Hellfish
0b6e6f44a5 *Schemes: Changed Archenemy's DocID.
*Added Oracle to schemes.
2012-12-02 14:01:49 +00:00
Chris
51c2304e8f - CheckStyle. 2012-12-02 13:40:33 +00:00
Hellfish
f69a6e08a2 *Schemes:Let the player specify the deck of each opponent in Archenemy mode.
*Let the player specify his own scheme deck.
*Fixed Scheme deck editor.
2012-12-02 13:35:21 +00:00
Agetian
15aad4b92f - Removed a debug line. 2012-12-02 12:58:24 +00:00
Agetian
27e0e0e4a0 - Implemented X color restrictions for the AI, now Crypt Rats should be correctly used by the AI. Hopefully the support will work for all color restrictions including two-color ones (like the Soul Burn which may potentially be implemented later). 2012-12-02 12:56:03 +00:00
Chris
b112d9c36a - Added a fluff piece to the changes.txt file.
- Added the recent commit logs to changes.txt. Preparing for the snapshot build release.
2012-12-02 12:55:26 +00:00
Sloth
be3b2b3e01 - Added 3 cards by swordshine. 2012-12-02 07:49:27 +00:00
Hellfish
7f4da2c303 *Schemes:Added schemes
Realms Befitting My Majesty
	Roots of All Evil
	The Iron Guardian Stirs
	The Very Soil Shall Shake
	Which of You Burns Brightest?
So now we have enough schemes to create legal scheme decks :D (Two of each we have,but still)
*Made exiting the scheme editor dump you at the archenemy home screen.
*Made scheme deck editor save correctly.
2012-12-02 00:14:08 +00:00
Hellfish
2de4799586 *Schemes:Added "Look Skyward and Despair" and "My Genius Knows No Bounds" schemes.
*Added beginnings of a Scheme Deck editor.
2012-12-01 23:03:00 +00:00
Sloth
8d0e665900 - Converted "Damage that would reduce your life total to less than 1 reduces it to 1 instead." to a player keyword.
- Fixed Angel's Grace.
2012-12-01 22:53:26 +00:00
Sloth
c2cab7fb91 - Added Timeshifted setinfo to Leviathan. 2012-12-01 22:33:02 +00:00
Sloth
c70da9daf2 - Updated some SVars. 2012-12-01 22:30:33 +00:00
Chris
3e2cf5907c - CheckStyle. 2012-12-01 22:26:36 +00:00
Chris
f9848822be - CheckStyle. 2012-12-01 22:17:32 +00:00
Sloth
01a8d647cc - Schemes: Added Behold the Power of Destruction. 2012-12-01 22:12:49 +00:00
Hellfish
6c3bdc8b36 *Schemes:Added ARC to setdata. 2012-12-01 22:04:57 +00:00
Chris
6ac18eb140 - CheckStyle. 2012-12-01 21:28:49 +00:00
Chris
a9a199518d - CheckStyle. 2012-12-01 21:13:09 +00:00
Chris
4b415ea611 - CheckStyle. 2012-12-01 20:43:21 +00:00
Hellfish
b0f3d117c0 *Schemes:Base commit for Schemes.
*Added AF_Abandon.
*Added Trigger SetInMotion
*Added schemes A Display of My Dark Power (Thanks,Marc!) and I Know All, I See All.
2012-12-01 20:34:49 +00:00
Hellfish
c4b9b7df0b *Created Schemes branch 2012-12-01 20:27:30 +00:00
Hellfish
c275def10d *Added listing of the avatar and commander to FDeckChooser decklists. 2012-12-01 17:57:59 +00:00
Agetian
af10f0f61c - Reverted the example Gauntlet contest to start at 0% progress (used to be 11% progress in the very beginning). 2012-12-01 17:26:31 +00:00
Agetian
c1098616c3 - Consolidated some calls related to card panel highlighting for the Sacrifice costs. 2012-12-01 16:33:34 +00:00
Chris
293744e9a4 - Minor edit and fix to changes.txt 2012-12-01 16:11:09 +00:00
Chris
88af2acb11 - CheckStyle. 2012-12-01 16:08:54 +00:00
Agetian
042dc9ab20 - A little fix for the previous commit. 2012-12-01 16:03:32 +00:00
Agetian
b2fb2d6a07 - When the user is asked whether he wants to pay the sacrifice cost, the card for which the sacrifice cost is paid will be highlighted on the playfield. 2012-12-01 15:59:39 +00:00
Chris
fe88846564 - CheckStyle. 2012-12-01 15:55:11 +00:00
Hellfish
93bdf289e4 *Added EffectZone$ Command to a few missed AF_Effect scripts 2012-12-01 15:03:33 +00:00
Hellfish
b0768ec991 *Made CardDetailPanel conform to skin colors. 2012-12-01 13:57:24 +00:00
Hellfish
8bca2e5727 *Bring active players VField to the front. Helps keep track in 8 player games. 2012-12-01 13:36:21 +00:00
Agetian
7392fd62c3 - Added a TODO note to GameActionUtil (if fully chained inputs are implemented in the future), fixed imports. 2012-12-01 13:14:34 +00:00
Chris
08d9902b98 - Cleared out the changes.txt file, now ready for new material.
- Added the recent commit logs to changes.txt. Preparing for the snapshot build release.
2012-12-01 13:13:53 +00:00
Agetian
3fc58ac107 - Added a possibility to couple sacrifice costs with other costs (currently by sacrificing, pun semi-intended, the input-based sacrifice interface and replacing it with a menu-based selection one).
- Added 4 cards by swordshine (Leviathan, Exalted Dragon, Reclamation, Flooded Woodlands).
2012-12-01 13:10:39 +00:00
Sloth
903d724267 - Fixed Explore and Summer Bloom. 2012-12-01 12:39:27 +00:00
Hellfish
1e8ab8ac22 *Added Count mode Random.<Min>.<Max>
*Added Vanguard Avatar "Flametongue Kavu Avatar"
2012-12-01 12:37:46 +00:00
Sloth
3b69bbf6bf - Fixed Coalition Relic. 2012-12-01 12:31:38 +00:00
Sloth
92c3d3ba96 - The AI will now react to Nether Void.
- Added Spelltithe Enforcer by swordshine.
2012-12-01 11:59:44 +00:00
Hellfish
f92318487a *Bludgeoned MigLayout into adding a CardDetailPanel to Vanguard home screen. Please tell me/tweak it if it looks horrible on resolutions beyond 1280x1024 2012-12-01 11:23:15 +00:00
Sloth
cf0f391d15 - Added 3 cards by swordshine. 2012-12-01 08:44:40 +00:00
Sloth
40d1730596 - Added Read the Runes and Sirocco by swordshine. 2012-12-01 08:29:22 +00:00
Sol
7d73fce348 - Fixing a poorly scripted Warden of the Wall 2012-12-01 02:00:35 +00:00
Sloth
bbfd0e04be - More text fixes. 2012-11-30 22:29:44 +00:00
Sloth
8678ff7dad - Little text fix for preventNextDamage. 2012-11-30 22:13:08 +00:00
Sloth
fdb44a0863 - Added Opal-Eye, Konda's Yojimbo. 2012-11-30 22:09:30 +00:00
Sloth
41d4e8bbf1 - Added Catalyst Stone. 2012-11-30 21:18:04 +00:00
Hellfish
ed4fef0a25 *Added [avatar] decksection (for deck-default vanguard avatars) 2012-11-30 20:33:08 +00:00
Sloth
4846abb166 - Cleanup and FindBugs fixes. 2012-11-30 19:54:34 +00:00
Chris
647f4d91eb - CheckStyle. 2012-11-30 19:51:25 +00:00
Chris
5551bcd55f - CheckStyle. 2012-11-30 19:27:09 +00:00
Sloth
3642d5c5d1 - Removed CardFactoryEquipment.
- Cleanup.
2012-11-30 18:48:55 +00:00
Sloth
baecbb1cf7 - Simplified sacrificeHuman. 2012-11-30 18:35:12 +00:00
Sloth
a874711db7 - Fixed Korozda Monitor. 2012-11-30 17:12:53 +00:00
Chris
2507a57550 [maven-release-plugin] prepare for next development iteration 2012-11-30 12:14:46 +00:00
Chris
e1ef4c040d [maven-release-plugin] prepare release forge-1.3.2 2012-11-30 12:14:37 +00:00
Chris
244bb6480d - Preparing the changes.txt file for the next beta build and release. 2012-11-30 12:04:35 +00:00
Chris
d1229b8756 - Added the recent commit logs to changes.txt. Preparing for the beta build and release. 2012-11-30 11:56:54 +00:00
moomarc
540dac9f3d - Added new avatar: Nekrataal Avatar 2012-11-30 11:48:03 +00:00
moomarc
9c8ec8c757 - Vanguard avatar selection will now remove cards with RemRandomDeck flag from the list when choosing Random. Useful for cards like Diamond Queen Avatar that are still great in the right deck.
- Updated some avatar flags
2012-11-30 11:16:04 +00:00
moomarc
dd35420fd4 - Cleanup: Removed duplicate instances of TriggerZones param 2012-11-30 08:29:58 +00:00
Hellfish
2ff2f4c9b3 *Made Vanguard tab panel conform (a little) better to skin theme.Unfortunately, due to *clenches fist* Swing some out of place code had to be added because you can't specify colors for certain parts of the JTabbedPane component in it's actual class because that would make too much sense. 2012-11-30 07:12:44 +00:00
moomarc
7db8a40d11 - Updated LQ pic urls for vanguard avatars to replace the cruddy ones from Gatherer 2012-11-30 06:55:35 +00:00
Sol
5f75598d87 - After a draft finishes, properly reset buttons used in the Deck Editor 2012-11-30 03:46:19 +00:00
ArsenalNut
0c18a13ca4 reverting earlier changes until better solution is found 2012-11-30 03:44:02 +00:00
Chris
bac295df03 - CheckStyle. 2012-11-30 02:03:43 +00:00
Chris
f21f7b7738 - CheckStyle. 2012-11-30 01:34:20 +00:00
ArsenalNut
0e2a1d461a consolidated code to find the fighters into one common method 2012-11-29 15:14:41 +00:00
ArsenalNut
45b210ddc2 changed "getParentTargeting" methods to skip checking the "child" SpellAbility first 2012-11-29 15:13:34 +00:00
Chris
e5333375b0 - Added the recent commit logs to changes.txt. Preparing for the snapshot build release. 2012-11-29 12:49:42 +00:00
moomarc
54e560db63 - Added new avatar: Morinfen Avatar (not for the strategy-impaired) 2012-11-29 11:51:30 +00:00
moomarc
1be4cea809 - Added new avatar: Hell's Caretaker Avatar 2012-11-29 11:19:57 +00:00
moomarc
a1f496452b - Added new avatar: Goblin Warchief Avatar 2012-11-29 10:57:15 +00:00
moomarc
a6418ef515 - Added Lyzolda, the Blood Witch Avatar for Vanguard 2012-11-29 10:08:45 +00:00
moomarc
815aa22cdf - Fixed freeze whenever AI cast a creature with Tahngarth avatar 2012-11-29 09:27:17 +00:00
Sloth
dbf232acb7 - Added Auriok Steelshaper. 2012-11-29 09:16:08 +00:00
Sloth
78bc5718ec - Removing unnecessary "HIDDEN" strings (WIP). 2012-11-29 09:01:35 +00:00
Sloth
aa183420af - AI fix for Karn Liberated. 2012-11-29 09:00:22 +00:00
Chris
dc41b2cb4a - CheckStyle. 2012-11-29 01:58:03 +00:00
Chris
48261d07e9 - Added a LQ pic URL. 2012-11-28 23:00:16 +00:00
Hellfish
e38ca56ca7 *Made static effects reset hand size correctly for Vanguard. 2012-11-28 20:13:59 +00:00
Sloth
27cbb50987 - Removing unnecessary "HIDDEN" strings (WIP). 2012-11-28 19:21:43 +00:00
Sloth
dd0889a355 - Removing unnecessary "HIDDEN" strings (WIP). 2012-11-28 18:50:07 +00:00
Sloth
fb36c2c207 - Fix for Squeaking Pie Grubfellows. 2012-11-28 17:21:50 +00:00
RumbleBBU
7534ff5df4 Somebody had overwritten worlds.txt in the SVN with an obsolete (incorrect) version, restored. 2012-11-28 14:50:39 +00:00
Agetian
79ffaec1b0 - Made the effect names for Nafs Asp and Glass Asp more descriptive. 2012-11-28 14:26:15 +00:00
Sloth
ad3122181d - Added Glass Asp. 2012-11-28 14:13:40 +00:00
Agetian
3d048e82c9 - Removed a debug line from ChangeZone (related to Nafs Asp). 2012-11-28 13:59:57 +00:00
Agetian
fbdf30a2a3 - Added Nafs Asp (script by moomarc) with proper code support. 2012-11-28 13:46:05 +00:00
Sloth
0019b72cc9 - Fixed max hand size. 2012-11-28 12:52:27 +00:00
Chris
b7bfe6781e - Added a fluff piece to the changes.txt file.
- Added the recent commit logs to changes.txt. Preparing for the snapshot build release.
2012-11-28 12:05:48 +00:00
Sloth
a58bbfe347 - Fixed doTriggerAINoCost in CounterAI when the stack is empty. 2012-11-28 11:58:48 +00:00
moomarc
4284e149dc - Updated tooltip text for hand icon so that it indicates the player's maximum hand size.
- Fixed Vanguard player tab names when re-adding players in setup
2012-11-28 08:26:11 +00:00
moomarc
9e307ab1fd - Made player tabs in Vanguard setup more descriptive 2012-11-28 07:42:45 +00:00
moomarc
a730abf331 - Minor script changes 2012-11-28 07:17:47 +00:00
moomarc
20d2ea85af - Fixed some triggers for use from command zone (Done) 2012-11-28 06:56:51 +00:00
moomarc
be3e6f8b5e - Fixed some triggers for use from command zone (WIP) 2012-11-28 06:34:51 +00:00
moomarc
6df4d46224 - Changed Gather Specimens to a replacement instead of triggered effect 2012-11-28 06:33:37 +00:00
Sloth
e4f4830e99 - Added some AI code for casting Bonfire of the Damned via Miracle. 2012-11-28 06:33:31 +00:00
moomarc
3dd3d49827 - Fixed Jace, Architect of Thought's first ability 2012-11-28 05:58:06 +00:00
moomarc
bfef74d39c - Updated CHANGES.txt 2012-11-28 05:45:19 +00:00
moomarc
b32aeef880 - Updated cardTemplateScript.py for variants 2012-11-28 05:37:44 +00:00
moomarc
1458792a6e - Fixed description for Titania's Song 2012-11-28 05:32:36 +00:00
moomarc
b4e9c9ec15 - Rechanged ValidGrave to Valid<AnyZone> count method that was lost in the merge. 2012-11-28 05:29:18 +00:00
Sol
693a9bc119 - Converted Noviken Heart of Progress to script 2012-11-28 04:05:57 +00:00
Sol
ef4838dfeb - Convert Phylactery Lich to script 2012-11-28 03:38:19 +00:00
Sol
751134b40c - Convert Lich to Script 2012-11-28 03:13:06 +00:00
Hellfish
e974f13b0f *Merged Variants into trunk. You may need to delete match_preferred.xml 2012-11-27 22:42:36 +00:00
Hellfish
0382171599 *Merged r18371-r18427 from trunk into Variants 2012-11-27 21:36:55 +00:00
Sloth
9f03d306b1 - Removed getProducedMana from AbilityManaPart (it wasn't really functional anyway). 2012-11-27 21:19:07 +00:00
Sloth
f569dd7857 - Moved generatedMana from ManaEffect to GameActionUtil to use it for the AI to predict what a mana ability will produce (it seems to be the only function that is actually up to date). 2012-11-27 18:46:29 +00:00
Agetian
c9c2cd4b91 - Targeting Overlay: minor stylistic fix in the code. 2012-11-27 18:11:02 +00:00
Agetian
729488bf09 - Sound System: TODO point removed. 2012-11-27 18:07:43 +00:00
Agetian
8d5233eaeb - Sound System: Added a previously missed link for the "Life Loss" sound event (now the sound will play during certain damage dealing effect resolutions which were previously missed). 2012-11-27 17:47:52 +00:00
Sloth
46e1f3f9f6 - Fixed Oath of Druids. 2012-11-27 17:06:40 +00:00
Sloth
76a1ad7160 - Fixed MaxhandSize < 0 case in InputCleanup. 2012-11-27 16:58:11 +00:00
Chris
203a432255 - CheckStyle. 2012-11-27 15:08:04 +00:00
moomarc
46ac6a540f *Variants:Fixed exile origins for some effects 2012-11-27 13:44:01 +00:00
Chris
e38b1e0e68 - Added the recent commit logs to changes.txt. Preparing for the snapshot build release. 2012-11-27 12:40:06 +00:00
moomarc
462288f386 - Added Aladdin's Lamp 2012-11-27 10:01:07 +00:00
Sloth
0b24c92f20 - Removing unnecessary "HIDDEN" strings (WIP). 2012-11-27 09:53:21 +00:00
Sloth
c9e2c823d1 - Removing unnecessary "HIDDEN" strings (WIP). 2012-11-27 09:23:14 +00:00
moomarc
7a89c31f44 - Fixed Erg Raiders 2012-11-27 06:03:22 +00:00
Agetian
eb5a523ce9 - Targeting Overlay: in the "card mouseover" mode, during the order of blockers declaration, the targeting overlay will first show all the blockers for the card for which the order of blockers is declared, and will also show individual arrows for each blocker when the blocker is selected in the blocker order list. 2012-11-27 05:27:56 +00:00
Sol
39ac4fe0ca - Added PermanentNoncreature AF
- Converted Standstill and Bridge from Below to script
2012-11-27 04:42:05 +00:00
Sol
0c5b73378c - Fixed sharesNameWith Imprinted
- Converted Haunting Echoes to Script
- Small cleanup in files
2012-11-27 03:57:04 +00:00
Sol
9a7407cd06 - Convert Sylvan Library to Script 2012-11-27 00:55:49 +00:00
Sloth
9717d4deee - Removing unnecessary "HIDDEN" strings (WIP). 2012-11-26 23:07:43 +00:00
Sloth
5cbbd7e92d - Removing unnecessary "HIDDEN" strings (WIP). 2012-11-26 22:52:42 +00:00
Sloth
e9bc0f92f7 - More cleanup of xCount. 2012-11-26 19:39:34 +00:00
Sloth
2f2f4a4bcf - Cleanup of xCount. 2012-11-26 19:36:27 +00:00
Sloth
b452fa66e0 - Fixed Karn Avatar. 2012-11-26 19:20:31 +00:00
Sloth
954a5049a2 - Variant: Fixed non-Random Vanguard selected. 2012-11-26 18:58:29 +00:00
Sloth
f51439aeac - Fixed Haunting Echoes. 2012-11-26 16:47:08 +00:00
Chris
8e434e85b3 - CheckStyle. 2012-11-26 15:16:56 +00:00
Chris
6bbfc103cd - Added the recent commit logs to changes.txt. Preparing for the snapshot build release. 2012-11-26 13:08:31 +00:00
Sloth
89d8bf1c44 - Added 5 cards by swordshine. 2012-11-26 08:47:41 +00:00
RumbleBBU
56a6f40f4d Slightly increased the size of the stats panel to better display long winning streaks. 2012-11-26 06:24:08 +00:00
Sloth
49772a6667 - Reorganized Conditions of static abilities (WIP). 2012-11-25 22:42:37 +00:00
Sol
c55472f8fd - Small renaming in GameAction 2012-11-25 21:59:55 +00:00
Maxmtg
3ee1d4043d check 4 traditionality of card 2012-11-25 20:19:06 +00:00
Maxmtg
01ca0205e0 commander stored as a single card in deck/Deck.java
removed inpropper use of getType of InventoryItem objects
2012-11-25 20:14:39 +00:00
Maxmtg
1f0b46ee79 renamed CounterAdd/Remove events
removed impropper use of CardPrinted getType method
2012-11-25 19:54:18 +00:00
Chris
687ff6185a - CheckStyle. 2012-11-25 16:30:28 +00:00
Chris
91819ede65 - CheckStyle. 2012-11-25 15:40:26 +00:00
Sloth
0086f71816 - Cleanup. 2012-11-25 15:11:10 +00:00
Agetian
f0216839d0 - Organized imports a little bit better. 2012-11-25 14:17:20 +00:00
Agetian
3eceba507a - Removed unused imports. 2012-11-25 14:16:32 +00:00
Hellfish
f9efa46ca1 *Variants: Added error handling for managing not to select deck/avatar in vanguard mode.
*Variants: Prevented user from selecting multiple avatars.
2012-11-25 13:18:37 +00:00
Chris
3cf9786b43 - Added a fluff piece to the changes.txt file.
- Added the recent commit logs to changes.txt. Preparing for the snapshot build release.
2012-11-25 13:02:36 +00:00
Agetian
3245280fb9 - Targeting Overlay: Fixed a bug with the combat targeting arrows shown both ways in card mouseover mode. 2012-11-25 11:42:11 +00:00
moomarc
4645ab8571 *Variants - Added the following avatars: Erhnam Djinn Avatar, Etched Oracle Avatar, and Fallen Angel Avatar 2012-11-25 11:41:16 +00:00
Sloth
96d61b724b - Converted the property "SameNameAsImprinted" to the "SharesNameWith" group. 2012-11-25 11:37:19 +00:00
Agetian
7846036229 - Targeting Overlay: Card mouseover mode fixed and enabled, should work fine and should show only the targeting arrows (both combat and non-combat) for the card the mouse is hovering over. 2012-11-25 11:36:35 +00:00
Hellfish
034576ef76 *Variants:Keep separate lists of traditional/nontraditional CardPrinted's in CardDb.
*Variants:Fixed crash when only playing against 1 opponent on vanguard.
*Variants:Fixed vanguard match not starting when selecting non-random avatar.
2012-11-25 11:35:19 +00:00
Agetian
98825de96c - Targeting Overlay: much prettier targeting arrows (thanks to the MAGE team for permission for adaptation), some initial work for the "mouseover-only" mode fix (not enabled yet). 2012-11-25 10:24:47 +00:00
Sloth
b0ad9063a9 - Bundled inZone property of cards. 2012-11-25 10:07:15 +00:00
Sloth
e3a367bcba - Added 6 cards and a fix by swordshine. 2012-11-25 09:39:35 +00:00
Sloth
7a914cc5a9 - Added Tsabo's Web. 2012-11-24 22:50:14 +00:00
Sloth
9a5aab4c4a - Cleanup of CloneEffect. 2012-11-24 22:48:27 +00:00
Chris
5c6805dc75 - Added a fluff piece to the changes.txt file. 2012-11-24 21:47:46 +00:00
Sloth
704f791494 - Updated some SVars. 2012-11-24 21:33:06 +00:00
Hellfish
25f0b6901f *Variants:Reverted preferences. 2012-11-24 20:32:28 +00:00
Hellfish
53032db992 *Variants:Added VAN set.
*Variants:Added SetInfo to avatars, courtesy of Marc.
*Variants:Replaced CardDb.getAllCards() with CardDb.getTraditionalCards() where appropriate.
2012-11-24 20:16:03 +00:00
Sloth
67d2f248a7 - Added Dromar, the Banisher. 2012-11-24 19:17:28 +00:00
moomarc
a593d7ebd9 *Variants - Reverted setinfo to avatars (caused crash on set image downloads) 2012-11-24 18:00:28 +00:00
moomarc
001aa5aa10 *Variants - Added setinfo to avatars and uploaded images to cardforge (they should download like any other card now) 2012-11-24 17:14:20 +00:00
Hellfish
68d1a8daf7 Re-Merged 18323-18354 and merged 18357-18366 into Variants. *crosses fingers* 2012-11-24 16:10:44 +00:00
Sol
8be939987a - Check for null arrays before assigning in SDisplayUtil 2012-11-24 15:39:31 +00:00
Agetian
2045039044 - Sound System: added two new sounds (Block and Token), fixed a bug that caused the destroy sound to be continuously played at every phase when a planeswalker was on the field. 2012-11-24 15:07:45 +00:00
Hellfish
7e1450698a *Unblocked missed script folder revisions. 2012-11-24 14:36:48 +00:00
Chris
a347b39919 - CheckStyle. 2012-11-24 14:30:56 +00:00
Chris
fce84984db - CheckStyle. 2012-11-24 14:15:12 +00:00
Sloth
a0e1eaf1d7 - Fixed Alpha Status. 2012-11-24 13:56:58 +00:00
Sloth
e896c91159 - Reorganized Conditions of static abilities (WIP). 2012-11-24 12:19:43 +00:00
Chris
580b0263fa - Added the recent commit logs to changes.txt. Preparing for the snapshot build release. 2012-11-24 11:47:27 +00:00
Chris
3384b2bf9b - Added the recent commit logs to changes.txt. Preparing for the snapshot build release. 2012-11-24 11:44:37 +00:00
Hellfish
15e5376d13 *Variants:Fixed the UI side of the new Vanguard home screen. (Now to make the match actually start!)
*Variants:Added some apparently unadded scripts from trunk.
2012-11-24 11:41:51 +00:00
Sloth
591f0b945b - Reorganized Conditions of static abilities (WIP). 2012-11-24 11:05:57 +00:00
moomarc
7ec3ff9354 *Variants - Added the following avatars: Titania 2012-11-24 11:05:10 +00:00
Sloth
161350dae1 - Converted Spirit of Resistance to script. 2012-11-24 10:47:15 +00:00
moomarc
cb57cb4146 Merged changes from trunk to Variants: r18323-r18354 2012-11-24 10:45:05 +00:00
Sloth
406f7c1c85 - Added Journey of Discovery and War Elemental by swordshine. 2012-11-24 10:19:05 +00:00
moomarc
d882046dd8 - CheckStyle. 2012-11-24 09:46:58 +00:00
Hellfish
7976f58fb9 *Variants: WIP new Vanguard Home screen for multiplayer shenanigans (Does not work yet) 2012-11-24 09:06:38 +00:00
Maxmtg
2c0e938d4b counters: united calls using multipliers and ignoring them,
removed useless setCounter wrapper
2012-11-23 21:51:30 +00:00
Sol
4f49ba3ac7 - Convert Lighthouse Chronologist to script 2012-11-23 21:44:19 +00:00
Chris
cf4d65bf73 - CheckStyle. 2012-11-23 20:22:21 +00:00
Maxmtg
df47bab393 Counter class renamed to CounterType 2012-11-23 20:03:37 +00:00
Sloth
009d16a1c1 - Fixed MustBlockCards not being checked for still attacking. 2012-11-23 19:42:23 +00:00
Maxmtg
8c71969a21 move questWorld out of QuestData package (because only things being serialized should be kept there)
remove unused imports (soundeffecttype mostly)
2012-11-23 19:28:36 +00:00
Sloth
5a7e8df44e - Fixed Sleeper Agent. 2012-11-23 19:06:17 +00:00
Sloth
af478a0d6e - Fixed the global rule change "No more than one creature can attack each combat". 2012-11-23 18:57:03 +00:00
Sloth
b481d69043 - Reimplemented "StackDescription$ SpellDescription". 2012-11-23 18:48:51 +00:00
Sloth
9d7928d4c8 - Fixed AI of Aegis Angel. 2012-11-23 17:24:03 +00:00
Sloth
91145e5ddc - Added Arcbound Fiend and Matsu-Tribe Decoy by swordshine. 2012-11-23 17:09:50 +00:00
Sloth
32b81da2e0 - Moved most of the stuff happening in startGame outside of the swingWorker (to fix the ConcurrentModificationException error). 2012-11-23 16:10:40 +00:00
Agetian
9f157274ee - Sound System: last of the direct sound calls converted to an event. 2012-11-23 15:43:03 +00:00
Agetian
189adeec74 - Sound System: done converting sounds to events. 2012-11-23 15:39:06 +00:00
Agetian
07bc6b1805 - Sound System: converted more sounds to events. 2012-11-23 15:17:40 +00:00
Agetian
a673498503 - Sound System: converted shuffle and flipcoin sounds to events, some minor stylistic changes. 2012-11-23 14:59:27 +00:00
Agetian
73dba917af - Sound System: both synced and non-synced sounds are supported now using the event model (the type of the sound is declared in SoundEffectType constructors). 2012-11-23 14:50:53 +00:00
Agetian
55f1693fb6 - Sound System: converted tap/untap sound playback to an event, preliminary support for synced sounds using the event model. 2012-11-23 14:43:47 +00:00
Sloth
60908da462 - Removed some unnecessary updateObservers calls in startRound. 2012-11-23 14:27:08 +00:00
Chris
0cd26da72a - CheckStyle. 2012-11-23 14:14:14 +00:00
Agetian
abd485d376 - Sound System: converted counter sounds to the event bus system, NPE fix when making an audio clip, various minor fixes and typo corrections in sound system and event classes. 2012-11-23 13:37:28 +00:00
Chris
06bd96aab1 - Added the recent commit logs to changes.txt. Preparing for the snapshot build release. 2012-11-23 12:48:47 +00:00
RumbleBBU
46f94e796d More preparations for quest worlds. 2012-11-23 11:27:15 +00:00
moomarc
814b15cd79 - Converted Explore and Summer Bloom to script 2012-11-23 11:23:02 +00:00
moomarc
075b94f378 - Changed AdjustLandPlays to a player keyword 2012-11-23 11:01:50 +00:00
moomarc
9013b4e9f7 *Variants - Added the following avatars: Starke, Tahngarth, Takara, and Tawnos 2012-11-23 08:40:13 +00:00
Maxmtg
3f8cf0792b the correct parameter is num 2012-11-23 08:30:45 +00:00
Maxmtg
88cec97d67 removed '3' from addpoison event 2012-11-23 08:28:36 +00:00
moomarc
83482dfe88 Merged changes from trunk to Variants: r18319-r18323 2012-11-23 06:47:51 +00:00
moomarc
3c095c917a *Variants - Added the following avatars: Sidar Kondo, Sisay, Squee, Urza, and Sliver Queen, Brood Mother 2012-11-23 06:40:01 +00:00
Sol
95d6bd35f6 - Convert Erg Raiders to script 2012-11-22 22:37:52 +00:00
Sloth
90aba02df9 - setupPlayZone will now call doLayout directly and only once (hopefully fixes the ConcurrentModificationException). 2012-11-22 21:51:18 +00:00
Maxmtg
ecb5899872 fix typo for sound 2012-11-22 20:59:08 +00:00
Hellfish
354f609cd8 Merged changes from trunk to Variants: r18254-r18318 2012-11-22 20:26:09 +00:00
Hellfish
5068de9c73 *Variants: Removed avatars with RemAiDeck:True from AI's avatar list.
*Variants: Made AI aware of the avatar.
2012-11-22 19:21:34 +00:00
Maxmtg
b7fbf52f25 SoundEffectType holds only filename, unable to reproduce sounds by itself,
EventBus added to GameState to properly route the ingame events to Sound system, game log and remote players (when time comes)
AudioClips are cached at first request, this may lead to slowdowns (will precache if this is an issue)
Most calls to sound system are still preformed directly, with a few only converted to events
2012-11-22 18:08:24 +00:00
moomarc
1e890e1823 *Variants - Added the following avatars: Volrath and Xantcha 2012-11-22 17:36:48 +00:00
RumbleBBU
00ed090af9 Temporary fix for quest challenges. 2012-11-22 17:03:36 +00:00
moomarc
5b47ae9400 *Variants - Fixed TriggerZones for Rofellos 2012-11-22 14:50:18 +00:00
moomarc
c592d860b1 *Variants - Added the following avatars: Oracle, Orim, Rofellos, Selenia, and Serra 2012-11-22 14:48:23 +00:00
Chris
946da55f9a - CheckStyle. 2012-11-22 14:34:10 +00:00
moomarc
9e596ddac8 *Variants - Added the following avatars: Lyna, Maraxus, Mishra, and Multani 2012-11-22 14:22:06 +00:00
moomarc
bb62ffe499 *Variants - Added the missing EffectZone param to Hanna and Karn 2012-11-22 13:41:08 +00:00
moomarc
5cab0e7c97 *Variants - Added the following avatars: Grinning Demon Avatar, Hanna and Karn 2012-11-22 13:38:59 +00:00
moomarc
9a42d71501 *Variants - Hand and life modifiers will now be displayed in the card info panel 2012-11-22 13:04:58 +00:00
moomarc
7865ab3f39 *Variants - Added the following avatars: Gerrard, Gix and Greven il-Vec 2012-11-22 12:39:56 +00:00
Sloth
60e0f2bd7f - Made the SVar granted by Tower Above unique. 2012-11-22 12:17:15 +00:00
Chris
634e796134 - Added the recent commit logs to changes.txt. Preparing for the snapshot build release. 2012-11-22 11:43:45 +00:00
moomarc
0c3a51374f *Variants - Added Ertai (vanguard avatar) 2012-11-22 11:28:41 +00:00
moomarc
abb15a73b8 - Added Tower Above by swordshine 2012-11-22 11:07:21 +00:00
moomarc
ed358c11da - corrected static ability name in effect script for Ember Gale 2012-11-22 10:54:09 +00:00
moomarc
ee51fc8101 - Added Ember Gale by swordshine 2012-11-22 10:49:42 +00:00
Agetian
587f3b47ae - Booster Draft: added four more choices to block booster draft set order selection (e.g. so that MRD/DST/5DN is possible in addition to only 5DN/DST/MRD, etc.) 2012-11-22 05:56:21 +00:00
Sloth
c37d763c14 - Added an AI SVar to Zombie Mob. 2012-11-21 21:39:38 +00:00
Sloth
a1b9280ba8 - Added Pilgrim of Justice and Pilgrim of Virtue. 2012-11-21 21:36:56 +00:00
Chris
ce67937d8f - CheckStyle. 2012-11-21 18:03:36 +00:00
Chris
6c6f8d5c10 - CheckStyle. 2012-11-21 17:36:22 +00:00
Chris
83e82192aa - CheckStyle. 2012-11-21 15:00:55 +00:00
Chris
4160d8837b - Added the recent commit logs to changes.txt. Preparing for the snapshot build release. 2012-11-21 12:21:44 +00:00
Sloth
dc3d0eca45 - The AI will no longer choose non-Pump Auras with Nomad Mythmaker. 2012-11-21 11:39:15 +00:00
Sloth
035280c093 - Added Cragganwick Cremator and Mischievous Quanar by swordshine. 2012-11-21 09:45:11 +00:00
Sloth
f80b0b2a2a - More fixing for Nomad Mythmaker. 2012-11-21 08:42:57 +00:00
moomarc
3ce02181c5 - Hopefully the final fix for Nomad Mythmaker 2012-11-21 06:23:52 +00:00
Sloth
033d0c9abf - Cleanup of getLKICopy functions.
- Fixed Starlit Sanctum.
2012-11-20 23:24:17 +00:00
Sloth
a88e814a67 - Added Rith's Charm. 2012-11-20 21:06:33 +00:00
Sloth
cd72bad38e - Added Prahv, Spires of Order. 2012-11-20 20:55:21 +00:00
Sloth
4d7f33f789 - Added Pay No Heed. 2012-11-20 20:51:18 +00:00
Sloth
4eb43b3e92 - Reverted Nomad Mythmaker. 2012-11-20 20:35:29 +00:00
Sloth
b9c949a493 - Fixed Exotic Curse. 2012-11-20 18:49:45 +00:00
Sloth
4680031b32 - Another fix for Nomad Mythmaker. 2012-11-20 18:39:47 +00:00
Sloth
1d463fd2f5 - Added Circle of Solace. 2012-11-20 15:00:45 +00:00
Sloth
e019a7af42 - Added Complicate. 2012-11-20 14:41:04 +00:00
Chris
b9742e42eb - CheckStyle. 2012-11-20 14:01:22 +00:00
Sloth
9fe78f441e - Fixed Nomad Mythmaker targeting. 2012-11-20 13:47:09 +00:00
moomarc
ad0fc35200 - setinfo and oracle data for Chaotic Backlash 2012-11-20 13:44:35 +00:00
moomarc
7f72e492bc - Added Chaotic Backlash 2012-11-20 13:42:29 +00:00
moomarc
b3472d65ea - Added Honorable Scout 2012-11-20 13:25:51 +00:00
moomarc
d47d1e616d - Fixed the wrong player gaining life when GainLife has a targetPlayer and a defined player. Defined player takes preference again as it used to. This fixes Divine Congregation, Gerrard Capashen and Spoils of Evil 2012-11-20 13:24:42 +00:00
Chris
d3f448d2fc - Added the recent commit logs to changes.txt. Preparing for the snapshot build release. 2012-11-20 13:02:30 +00:00
Sloth
b7128f28e9 - Variants: Fixed CardRules parser choking on "+" characters. 2012-11-20 13:02:24 +00:00
moomarc
cbf03dc829 - Added Nomad Mythmaker 2012-11-20 12:41:40 +00:00
moomarc
d593009af5 *Variants - Fixed Archangel of Strife
*Variants - Changed ValidGrave count method to Valid<coma delimited zones> eg:Count$ValidBattlefield,Graveyard Card.YouCtrl
2012-11-20 12:22:07 +00:00
moomarc
5cd64647f7 - Removed a println I left in my previous commit 2012-11-20 10:13:23 +00:00
moomarc
228cebd487 - Added Kaho, Minamo Historian
- Cleanup AF can now be used to clear individual defined cards from remembered lists
2012-11-20 10:11:57 +00:00
Sloth
0c79b741d7 - The AI can now use Icy Prison. 2012-11-20 09:40:52 +00:00
Sloth
405a22c97d - Added 3 cards by swordshine. 2012-11-20 08:00:07 +00:00
moomarc
dd30b1f1b8 - Added Shell of the Last Kappa
- ChangeZone can now remember cards moved from the stack
- CheckStyle
2012-11-20 07:46:32 +00:00
moomarc
f7a97d881e - Vanguard: added AffectedZone parameter to Birds of Paradise Avatar 2012-11-20 06:33:50 +00:00
moomarc
08f95a868a - Minor text change
- CheckStyle.
2012-11-20 06:28:52 +00:00
Sol
4dbec684f9 - If lethal damage has already been assigned just treat is as 0 in VAssignDamage 2012-11-20 03:08:20 +00:00
Chris
62e568fe20 - Added a Java 7 compatibility fluff piece to the changes.txt file. 2012-11-19 23:50:23 +00:00
Sloth
3b6ebbfe1b - The AI will now better react to Platinum Emperion. 2012-11-19 21:06:10 +00:00
Sloth
3a756a35a5 - Fixed Shocklands not using canPayLife(2). 2012-11-19 20:58:41 +00:00
Sloth
3bdcdda1d7 - Fixed payment of phyrexian mana. 2012-11-19 20:52:37 +00:00
Sloth
b506f2e419 - You no longer have to choose the order of cards for Elixir of Immortality. 2012-11-19 20:37:27 +00:00
Hellfish
cbe3724507 *Variants:2 files weren't added correctly. 2012-11-19 20:04:33 +00:00
Hellfish
a77eeab71d *Variants: Created command zone view.
*Variants: Moved effects and emblems to command zone.
*Variants: Added a bunch of Vanguard cards (Thanks, Marc!)
*Variants: Added a Vanguard home screen.
2012-11-19 20:03:00 +00:00
Hellfish
dd86849e7c *Created Variants branch.
*Variants: Created command zone view.
*Variants: Moved effects and emblems to command zone.
*Variants: Added a bunch of Vanguard cards (Thanks, Marc!)
*Variants: Added a Vanguard home screen.
2012-11-19 19:53:49 +00:00
Sloth
753a69bc73 - Cleanup. 2012-11-19 18:59:15 +00:00
Sloth
737aa13deb - Converted Shifting Sliver to script. 2012-11-19 18:49:34 +00:00
Sloth
accff99e62 - Added the global rule change: "Each creature assigns combat damage equal to its toughness rather than its power.".
- Converted Doran, the Siege Tower.
2012-11-19 18:41:23 +00:00
Sloth
ec4985e4f5 - Fixed Enlightened Tutor not shuffling the library. 2012-11-19 18:35:22 +00:00
moomarc
420b1f380b - small script tweaks 2012-11-19 17:59:56 +00:00
Chris
ffc7560b2b - CheckStyle. 2012-11-19 14:41:44 +00:00
moomarc
4115920d1c - Added Sivvi's Valor 2012-11-19 13:59:03 +00:00
moomarc
e098a371e4 - Added Vassal's Duty 2012-11-19 13:35:57 +00:00
moomarc
aa364b72de - CheckStyle 2012-11-19 13:20:50 +00:00
Chris
814bf66ef4 - Added the recent commit logs to changes.txt. Preparing for the snapshot build release. 2012-11-19 11:09:27 +00:00
moomarc
19e0b19de9 - Fixed spell description for Hypnotic Cloud 2012-11-19 10:00:53 +00:00
Sloth
25616bd8d6 - ChangeZoneAll with destination Library will now let you choose the order.
- Added Mirror of Fate.
2012-11-19 08:51:58 +00:00
Sloth
1e9c8a655d - Fixed Steel Hellkite. 2012-11-18 20:19:00 +00:00
Chris
50ffa33680 - Added a LQ pic URL. 2012-11-18 19:40:21 +00:00
Sloth
44e5820042 - Added Demonfire by swordshine. 2012-11-18 19:32:46 +00:00
ArsenalNut
98f0a92d8c added ability to loop over defined cards to RepeatEachEffect. added InGraveyard to Card.hasProperty. added Terastodon. 2012-11-18 16:13:41 +00:00
Chris
76edd8d33f - Added some LQ pic URLs. 2012-11-18 14:01:00 +00:00
Chris
f696f3ae9e - CheckStyle. 2012-11-18 13:44:45 +00:00
Agetian
1979661f08 - Sound System: improved the performance of the sound system by synchronizing certain sounds that tend to occur multiple times in rapid succession (damage, life loss, bury a creature) so that only one can play at a time. 2012-11-18 13:34:24 +00:00
Chris
de69bd99f9 - Added the recent commit logs to changes.txt. Preparing for the snapshot build release. 2012-11-18 12:38:04 +00:00
Sloth
524fc6ba97 - Added Equal Treatment by swordshine. 2012-11-18 07:15:22 +00:00
ArsenalNut
41b76d7575 modified inputUntapUpToNType so same card cannot be chosen more than once 2012-11-18 06:29:36 +00:00
ArsenalNut
d3eb8e907f added code to allow AI to make Charm choice 2012-11-18 04:49:19 +00:00
ArsenalNut
56d6e6842a fixed NPE bug in initialize of colorX in InputPayManaX class 2012-11-18 03:44:08 +00:00
Sloth
97175a3606 - Fixed a shouldPumpCard call switching P/T. 2012-11-17 21:56:34 +00:00
Sloth
99595e2bae - Improved ChooseSource AI. 2012-11-17 21:30:20 +00:00
Sloth
045a9fc1d4 - Fixed InputSelectMany. 2012-11-17 21:12:34 +00:00
Sloth
6e73e0fc5e - Fixed ConcurrentModificationException in InputMulligan. 2012-11-17 21:02:18 +00:00
Sloth
9a0e7db9d4 - Fixed AI code meddling with damage replacements. 2012-11-17 20:43:26 +00:00
Agetian
f2a5a318b8 - Changed the "spend only <color> mana on X" mechanism from using a SVar to using an ability parameter (first step towards implementing e.g. Soul Burn). 2012-11-17 18:43:00 +00:00
Agetian
470e87ff30 - Added Crypt Rats.
- Added Crimson Hellkite.
2012-11-17 17:05:13 +00:00
Sol
1e1866acf3 - Fixing accidental submission of potential Sideboard code 2012-11-17 16:51:29 +00:00
Sloth
7a8cbf23c2 - More Improvements of AI for Auras with "AILogic$ Curse". 2012-11-17 14:19:52 +00:00
Chris
1d9bfe7cb2 - CheckStyle. 2012-11-17 14:00:53 +00:00
Chris
378bee9dc0 - Added the recent commit logs to changes.txt. Preparing for the snapshot build release. 2012-11-17 12:01:49 +00:00
Sloth
37e97cd82c - Fixed AF Mana used on subabilities. 2012-11-17 11:31:33 +00:00
Sloth
c2d2218401 - Added Chronomantic Escape and Kamahl's Sledge by swordshine. 2012-11-17 08:19:15 +00:00
Maxmtg
e56eb74b45 InputSelectManyCards uses only overloads syntax. made abstract 2012-11-17 06:22:23 +00:00
Maxmtg
76a9e12e7b remove unused imports 2012-11-17 06:20:47 +00:00
Sol
9172c6ea35 - When a game is restarted, set lands played back to 0. 2012-11-17 03:20:38 +00:00
Sloth
ccbc699c11 - Little script updates. 2012-11-16 22:05:16 +00:00
Sloth
c804f30563 - Fixed optional Replacement effects not firing again after "No" is chosen once (experimental).
- Added Island Sanctuary by moomarc.
2012-11-16 20:59:44 +00:00
Sloth
17e7020a14 - Fixed Squandered Resources. 2012-11-16 17:51:18 +00:00
Chris
f581a6f1e0 - CheckStyle. 2012-11-16 17:26:43 +00:00
Sloth
1024fa246d - Tweaked shouldPumpCard. 2012-11-16 17:15:48 +00:00
Sloth
c90cda30ce - Tweaked doTriggerAINoCost of AF DamageAll. 2012-11-16 17:01:49 +00:00
Chris
0e0959fcf5 - CheckStyle. 2012-11-16 15:17:15 +00:00
Chris
4c182019a0 - CheckStyle. 2012-11-16 15:15:57 +00:00
Chris
8faa38b02d - CheckStyle. 2012-11-16 15:14:26 +00:00
Chris
af8843d42d - CheckStyle. 2012-11-16 15:12:32 +00:00
Chris
f8d000e92c - CheckStyle. 2012-11-16 15:11:34 +00:00
Chris
361823f628 - CheckStyle. 2012-11-16 15:10:33 +00:00
Chris
280ec0eb25 - Cleared out the changes.txt file, now ready for new material. 2012-11-16 15:07:23 +00:00
Chris
c0bd043085 [maven-release-plugin] prepare for next development iteration 2012-11-16 11:59:39 +00:00
3233 changed files with 51779 additions and 28171 deletions

1084
.gitattributes vendored

File diff suppressed because it is too large Load Diff

6
.gitignore vendored
View File

@@ -271,6 +271,7 @@ res/decks/Zvi[!!-~]Mowshowitz's[!!-~]Mono-Black[!!-~]Control.dck
res/decks/constructed/*.dck
res/decks/draft/*
res/decks/o1.bdk
res/decks/plane/*.dck
res/decks/sealed/*
res/gauntlet
res/images
@@ -292,6 +293,7 @@ res/pics/ALA
res/pics/ALL
res/pics/APC
res/pics/ARB
res/pics/ARC
res/pics/ARN
res/pics/ATQ
res/pics/AVR
@@ -310,7 +312,9 @@ res/pics/EXO
res/pics/FEM
res/pics/FUT
res/pics/GPT
res/pics/GTC
res/pics/HML
res/pics/HOP
res/pics/ICE
res/pics/INV
res/pics/ISD
@@ -359,6 +363,7 @@ res/pics/TSP
res/pics/UDS
res/pics/ULG
res/pics/USG
res/pics/VAN
res/pics/VIS
res/pics/WTH
res/pics/WWK
@@ -368,6 +373,7 @@ res/pics/icons
res/pics/tokens
res/pics_product/*.jpg
res/preferences
res/preferences/editor.preferences
res/preferences/forge.preferences
res/quest/data
res/quest/quest.preferences

View File

@@ -0,0 +1,4 @@
activeProfiles=
eclipse.preferences.version=1
resolveWorkspaceProjects=true
version=1

View File

@@ -1,58 +1,15 @@
Forge Beta: 11-16-2012 ver 1.3.1
Forge Beta: 02-08-2013 ver 1.3.8
(Quest icons used created by Teekatas, from his Legendora set http://raindropmemory.deviantart.com)
(Thanks to the MAGE team for permission to use their targeting arrows.)
(Thanks to http://www.freesound.org/browse/ for providing some sound files.)
11572 cards in total.
12045 cards in total.
Added Return to Ravnica Guild Sealed Deck mode. Start a new sealed deck game, choose "Block / Set" and then scroll down until you find "Return to Ravnica Guild Sealed (block)". Select that. From the "Choose Set Combination" menu, select the first option. You will be prompted twice to pick your guild (once for the promo cards, once for the actual booster - you should choose the same guild both times). After that you're ready to go.
This version is primarily a maintenance release. When we built the 1.3.6 beta we noticed a bug and we were able to fix it fairly quickly. This resulted in the 1.3.7 beta release and we did not announce the 1.3.6 beta release as it was buggy.
A bug for the new set unlocking code is now fixed. Before the fix, you could unlock all you wanted, but the unlocking info and the cards you got would never be saved! Fortunately, your paid money wouldn't be saved either.
The Return to Ravnica set pictures are now available and you can download them using the Download LQ Set Picures button. The RtR token generating cards have been updated with set specific images.
The Targeting Overlay has been fixed and re-enabled. It now correctly shows the targeting arcs in cases when it previously showed them in the wrong direction. The match UI is properly refreshed when the targeting arcs are switched on/off. The defunct "mouseover-only" mode is currently disabled (it crashes Forge, difficult to fix).
We have added the Conspire and the Protection mechanics for this version.
When choosing cards, sources, etc. using a list box, the currently selected card will now be visually highlighted on the playfield (to better distinguish between e.g. three different cards with the same name on the playfield). Now the visual highlighting of a card will also work when declaring the order of blockers.
Forge now has a sound effect system in place. Several basic sounds are linked to the code now and will be enabled when "Enable Sounds" option is checked in the preferences. It supports WAV and AU file formats. No sound files are included with this commit and must be submitted separately. For the time being you will need to add your own sound files.
Currently supported sound effects are:
AddCounter - add_counter.wav - triggered when a counter is added to a permanent.
Artifact - artifact.wav - triggered when an artifact is played.
ArtifactCreature - artifact_creature.wav - triggered when an artifact creature is played.
BlackLand - black_land.wav - triggered when a land with the "B" mana ability is played.
BlueLand[*] - blue_land.wav - triggered when a land with the "U" mana ability is played.
Creature - creature.wav - triggered when a creature is played.
Damage - damage.wav - triggered when a creature is damaged.
Destroy - destroy.wav - triggered when a permanent is destroyed.
Discard - discard.wav - triggered when a player discards a card.
Draw - draw.wav - triggered when a player draws a card.
Enchantment - enchant.wav - triggered when an enchantment is played.
EndOfTurn - end_of_turn.wav - triggered at the end of turn.
Equip - equip.wav - triggered when an equipment is equipped.
FlipCoin - flip_coin.wav - triggered when a coin is flipped.
GreenLand - green_land.wav - triggered when a land with the "G" mana ability is played.
Instant - instant.wav - triggered when an instant is played.
LifeLoss - life_loss.wav - triggered when a player loses life.
LoseDuel[*] - lose_duel.wav - triggered when a player loses a duel.
ManaBurn - mana_burn.wav - triggered during a mana burn if the appropriate rule is enabled.
OtherLand - other_land.wav - triggered when a land with non-color mana abilities or any other land is played.
Planeswalker - planeswalker.wav - triggered when a planeswalker is played.
Poison - poison.wav - triggered when a player receives a poison counter.
RedLand - red_land.wav - triggered when a land with the "R" mana ability is played.
Regen - regeneration.wav - triggered when a creature is regenerated.
RemoveCounter - remove_counter.wav - triggered when a counter is removed from a permanent.
Sacrifice - sacrifice.wav - triggered when a permanent is sacrificed.
Sorcery - sorcery.wav - triggered when a sorcery is played.
Shuffle[*] - shuffle.wav - triggered when a player shuffles his deck.
Tap[*] - tap.wav - triggered when a permanent is tapped.
Untap - untap.wav - triggered when a permanent is untapped.
WhiteLand - white_land.wav - triggered when a land with the "W" mana ability is played.
WinDuel - win_duel.wav - triggered when a player wins the duel.
After releasing the 1.3.7 beta we noticed several additional bugs and they have been fixed for the 1.3.8 beta. We also have several new cards and work on the deck editors continue.
--
@@ -60,7 +17,7 @@ On several occasions people have noticed that the forge deck editor and/or quest
Several people have noticed that the cards displayed on the battlefield will fail to be displayed when the number of cards on the battlefield increases. Maximizing the human panel can help to re-display the cards.
Some time was spent turning the static ETB triggers into the proper ETB replacement effects they should be, mainly to interact correctly with eachother. This work is not yet finished. As a result there is currently some inconsistencies with "Enters the battlefield with counters" (Not incredibly noticeable).
Some time was spent turning the static ETB triggers into the proper ETB replacement effects they should be, mainly to interact correctly with each other. This work is not yet finished. As a result there is currently some inconsistencies with "Enters the battlefield with counters" (Not incredibly noticeable).
It seems like the front face of double faced cards aren't triggering properly, but the back face and single faced cards are.
@@ -71,7 +28,7 @@ A recent contribution to the code base should fix some of the bugs that people n
We are now using a different system for our snapshot and beta releases. Unfortunately, this new system builds a jar file which does not accurately display the SVN revision number.
Forge may not be fully java 7 compatible at this time. We recommend that people downgrade to java 6.
Forge is likely to be compatible with Java 7 at this time. Some people have used forge with Java 7 and have not reported any problems that are related to Java 7. If you would like to upgrade to Java 7 and have held off because of Forge then you may upgrade as we do not think that it will cause an incompatibility type of problem. We will continue to try to maintain compatibility with Java 6 for the foreseeable future.
--
@@ -84,424 +41,146 @@ Some people use the Windows application 7zip. This utility can be found at http:
Fixes/Features:
- Partiality needs to be 100% or the computer may get the two promo cards and the booster for 2 different guilds in RtR Guild Sealed Mode.
- Do not show very small cubes (promos with 2 cards) in the main cube selection menu. You can't build a deck around them.
- Fixed Painbringer.
- Added Return to Ravnica Guild Sealed Deck mode.
- Rever accidental commit of wrong version of block #37.
- Cleared out the changes.txt file, now ready for new material.
- Added the recent commit logs to changes.txt.
- Changed more instances of "YouDontCtrl" to "OppCtrl".
- Changed more instances of "YouDontCtrl" to "OppCtrl".
- Fixed name of Faerie Impostor in RTR Guild Packs
- Updated some deck SVars.
- Improved AI dealing with Flailing Manticore and Flailing Soldier.
- Fixed AI not paying unless costs of its own triggered abilities.
- Improved AI of Frost Titan.
- Made findParentsTargetedPlayer more robust.
- Tweaked attacking AI.
- Player has a field of type GameState
- Experimental AbilityFactory refactoring
- comment out debug
- Fixed Utvara Hellkite.
- Added the property "OppOwn" and converted some cards.
- Fixed Unleash not interacting correctly with Corpsejack Menace.
- Fixed order in the script of Gifts Ungiven.
- Added the recent commit logs to changes.txt. Preparing for the snapshot build release.
- Fixed P/T of Two-Headed Dragon.
- Fixed Cataclysm.
- Fixed Realms Uncharted.
- Fixed ability of Sphinx of Jwar Isle.
- Fixed and improved Proliferate.
- Fixed possible NPE in getCardsIn.
- AnimateAF refactored
- AlterLife cut into classes
- some pointless null checks removed
- fixed some boxing issues (mixing Boolean and boolean)
- UI: access to static fields fixed - should refer to a declaring class, not inherited one
- EditorTableModel: removed some excessive instanceof checks
- Placed missing @override clauses
- Removed unused imports
- Zone getCards returns a read-only list (used to make a new instance), dependants updated (mostly)
- Added the recent commit logs to changes.txt. Preparing for the snapshot build release.
- Fixed a few getCards read-only list errors.
- Improved AI of some auras/equipments.
- Fixed Mulligan.
- Fixed getColorByProminence.
- Another getCards read-only list errors.
- Fixed Thrumming Stone.
- Cleanup.
- More getCards read-only list errors.
- Removed obsolete null checks.
- More getCards read-only list errors.
- Added a missing import.
- More getCards read-only list errors.
- Added the recent commit logs to changes.txt. Preparing for the snapshot build release.
- Fixed warnings.
- Player - shuffle streamlined
- CardLists.getCMC inlined (there were only 4 of them anyway)
- minor - code formatting
- Fixed Ovinomancer.
- Fixed Past in Flames.
- AF-Bond refactored
- AF:Turns refactored
- removed warnings (excessive casts, extra semicolons)
- Removed unnecessary cast.
- AF:Tokens - split into pieces
- Fixed some FindBugs results.
- refactor AF: ZoneAffecting
- some cleanup in BondEffect.java
- AF:ManaDrain (other mana Abs use some special classes =(
- AF:DamagePrevent removed excessive casts and semicolons
- refactor AF:Protect
- renamed life-related ai and effects to put life as 1st word
- refactored AF:Play
- AF: Counters move
- refactored AF: remaining counters
- refactor AF:Effect (wish I knew what it is)
- hasBasicLands predicate for edition
- 1) You can use a Draft/Sealed deck as your quest starting card pool, 2) You can enforce formats when playing with specific starting pools, 3) Fixed a bug in the custom format dialog.
- Added javadoc.
- Code cleanup.
- Added the recent commit logs to changes.txt. Preparing for the snapshot build release.
- More cleanup.
- Basic/snow land sets in quest mode shop and starting deck are randomized.
- Fix of imports after the last commit.
- Quest will use a single set to generate lands for shop
- fixes http://www.slightlymagic.net/forum/viewtopic.php?f=52&t=6333&start=795#p101722
- refactored AF: Choose
- refactored AF: Debuff
- AF; RegenerateAi.java. counter
- AF: Combat refactored (17800 get!)
- AF: DelayedTrigger
- Triggers: replace HashMap with java.util.Map in c-tors
- a clear check for type of trigger ctor parameters
- Added the recent commit logs to changes.txt. Preparing for the snapshot build release.
- AF: Sacrifice, Reveal
- removed repeating blocks from getStackDescription
- AF: Clone, SetState
- AF: GameWin/Loss
- AF: Permanent state
- AnimateEffects - change relations between classes
- BasicLands is list,
- removed ccnt,
- simplified areAllBasics(final String types) in AF:ChangeZone
- tricked to avoid ref to static method
- Set unlocking is no longer a special reward for winning matches, instead it is an option button like spell store. More expensive than before, not random, and initially fewer sets to choose from.
- TriggerMapPlayed - 1st param => Map
- Added the recent commit logs to changes.txt.
- Correct version of SSubmenuQuestUtil (actually enables the unlocking code), new sets cost a little more.
- (non-working) AF: Destrory, Control
- propper name
- propper nameAF: Pump
- Code cleanup: removed some orphaned autogenerated javadocs after Max Mtg's refactoring, cleaned up formatting in some files, removed outdated javadocs that no longer correspond to method signatures after refactoring, moved some significant comments to their proper files.
- Code cleanup (Phase 2): see r17819
- Added the recent commit logs to changes.txt. Preparing for the snapshot build release.
- Save set unlocking information + won cards.
- GameFormatQuest allowedSetCodes and bannedCardNames are now final and should never be null (set in the constructors).
- Added a fluff piece to the changes.txt file.
- Added the recent commit logs to changes.txt. Preparing for the snapshot build release.
- Updated token download list for RtR (at last)
- Updated RtR token generating cards with set specific images
- AB: Clash, Damage
- AF: Copy, repeat
- getStackDescription routines now use common routines for string collection
- any spelleffect class can use common routines to get defined targets
- Code cleanup (Phase 3): removed some orphaned javadocs, moved some comments, removed some javadocs that no longer correspond to method parameters after refactoring.
- Added a fluff piece to the changes.txt file.
- Added the recent commit logs to changes.txt. Preparing for the snapshot build release.
* Fixed and re-enabled Targeting Overlay:
* Now it correctly shows the targeting arcs in cases when it previously showed them in the wrong direction.
* The match UI is properly refreshed when the targeting arcs are switched on/off.
* The defunct "mouseover-only" mode is currently disabled (it crashes Forge, difficult to fix).
* Probably some bugs still left, but overall seems to function fine.
- Minor code style fix for the previous commit.
- AF: Mana Had to refactor the whole class of AbilityMana
- Repaint the UI after drawing targeting arcs.
- AF: removing excessive methods, mapParams returns as Map<Str,Str>
- More optimal UI repaint after drawing the targeting arcs.
- AF: Cleanup, StoreSVar, Unattach
- Code cleanup (removing orphaned javadocs and javadocs with parameters that do not correspond to the method definitions).
- rem warning,
- force update of player-related into at end of phase.
- Wrong import ruined build
- Removed some unused code from the targeting overlay.
- had wrong cycling cost
- Fixes OppOwn card property (Geth, Lord of the Vault will work as intended)
- move effect to right package
- Script fixes by Diogenes.
- Little AI fixes.
- Fixed Phyrexian Gremlins.
- Fixed Oversold Cemetery
- CF-Cr: remove unused parameters
- Added a fluff piece to the changes.txt file.
- Small changes to how Mulliganing works with Phases (for upcoming Karn Liberated)
- Made the shape of the targeting arcs a little bit better, also changed the direction of the arc curve to make it look better.
- Compilation fix for the mulligan (had to make nextPhase public, not sure if it's the correct decision, please review).
- Some minor cleanup in targeting overlay code.
- made doTriggerAI final (it calls anyway doTriggerAINoCost anyway, so AF ais will override only nocost version)
- made a wrapper for doTriggerAINoCost to check subAbilities doTrigger (and removed that code from descendants of SpellAiLogic)
- made doTriggerAINoCost protected to avoid calling it from outer classes
- remove imports
- Set some activating players.
- Added the recent commit logs to changes.txt. Preparing for the snapshot build release.
- Fixed Angel's Grace.
- AF: Attach (aura ETB ability is no longer spellpermanent)
- Fixed the AILogic "BeginningOfOppTurn".
- Fixed a bug in getAIPlayableMana.
- AF: apis transformed into an ENUM
- Cleanup.
- Updated some SVars.
- AF: Charms done
- Minor cleanup of obsolete javadocs.
- AF:Charm makes choices on being cast
- sideboarding affects the next match correctly
- use bulk operations for card moving where ever possible to avoid stale GUI updates
- reverting unwanted changes from r19381 to core classes
- fix background coloring not being displayed in deck editor card detail rarity label
- add tooltip for rarity label
- Fixed broken Shandalar decks.
- add default editor preferences file so missing preferences will always have a default value
- remove editor.preferences from repo -- it will get created as necessary
- set better width and sorting defaults
- wrap card catalog toggle filters when the tab is resized small
- make current deck stats widgets wrappable
- Converted inlined classes to nested
- remove unused imports
- Added a new static ability "CantAttack".
- Converted some cards (they now work correctly with Planeswalkers).
- cosmetic changes in chooses (i'm thinking of a good way to make that choices player-independent)
- Moved check for card controller (used in CardDetailPanel and ImageCache) to card class - that's not perfect, but at least eliminates code duplication.
- calls to AI-related methods require the player parameter to have AIPlayer type to enable calls to ai-specific methods (like acquiring aicontroller by aiplayer.getcontroller().getai() and performing something from it) without need to cast types)
- replaced deprecated methods isHuman/isComputer with reference comparisons (to compare with acting player) and checks of player's hostility.
- predictThreatenedObjects moved from AbilityFactory to ComputerUtil (for now, will find a more specific place later)
- GameActionUtil.payCostDuringAbilityResolve method now demands player parameter (though it is always human player)
- fix NPE in card detail when the card does not belong to any set (e.g. a token)
- GameAction - extract method * 3
- GameActionUtil - uses common GuiDialog.confirm
- CardFactoryLands - converted inlined class to nested
- ChangeZoneEffect - removed stringbuilder wrapper (as it was not used anyway)
- replaced isComputer/isHuman where it was clear and possible
- Fixed a bug with AddToughness.
- Removed reminder text for suspend from Talon Gates. Description was too long for SA choice window so the second choice was hidden (on a 1280 wide display at least). We need to find a way to wrap text in the choice window when it would extend past the edge of the screen.
- Fix last commit commiting WIP.
- Another fix for AddToughness.
- Fixed Verdant Haven.
- Fixed Ogre Slumlord.
- Sell lands down to 50 when selling all extras in the card shop
- Converted Alpha Status to script
- remove cards from one table after adding them to the other table so the displayed card stays consistent with the focused card
- Made it possible to include special rewards like predefined cards or duplicate cards in Quest duels.
* Some notes:
* Special rewards for normal duels should be extremely rare, mostly for very hard opponents, 1 special reward per opponent, and always a percentage chance of getting the special reward (preferably less than 50%) rather getting a guaranteed reward.
* In the interests of downward compatibility, it is possible to define the Card Reward either in the [quest] portion (like before) or the [metadata] portion of the dck file. (Duels do not have the [quest] portion but if the definition were simply moved from [quest] to [metadata], all current challenge files would have stopped working properly.)
- Removed duplicate sharesCreatureTypeWith property from isValid
- Added the recent commit logs to changes.txt. Preparing for the snapshot build release.
- CheckStyle.
- CheckStyle.
- GameFormatQuest inherits from GameFormat... this removed lots of duplicated code
- removed warnings from some AF.AIs
- PredicateNamesExcept holds reference to source list (does not create own array)
- GameFormatQuestToXml.unmarshal: read lists first, then create object to return
- DevMode: joined card to hand for both players, added "card to battlefield" button
- removed 140 lines of unused constructors of ListChooser
- Choosing cards from a list (devmode-addXXXX shows their picture on the right panel)
- fixes default player targeting for PumpAll, TapAll and UntapAll effects
- rem warns
- Streamlined the drawback checks in the AF AI functions.
- AF: Draw used even a different target player picking priority.
- Enabled "NeedsToPlay" SVars for all AF spells.
- canPlayAI has to be abstract
- once canPlayAI is wrapped is has to be hidden from outside callers
- AF: ChangeZone converted
- Orphaned javadoc cleanup.
- Made sure Cunning Giant's replacement effect (for now) only triggers if it wasn't blocked, not also if it tramples over something.
- Fixed Assemble the Legion.
- Added AIPlayer parameter to doTrigger and chkAIDrawback
- Fixed CostTapType hanging when X=0.
- Methods to test a string against a valid card type moved to forge.CardType
- CommonDrawback: wrote in a single line the complicated chkAIDrawback method
- removed unused imports
- CardUtil.getRandom replaced with Aggregates.random
- getReflectableMana uses Set as collection, so it does not have to check for duplicates before adding new items.
- united two CMC calculation methods (one was getCMC from card that read characteristics while other took more factors into account)
- Cunning Giant will now interact correctly with planeswalkers
- CardEdition: removed ctor overload and made it private (editions must not be created by other code but nested Reader class anyway)
- Player: isComputer and isHuman methods redefined as getType() == PlayerType(computer/human), no overloads needed in derived classes
- player.isHostileTo() renamed to more correct 'isOpponentOf()'
- missing HumanPlayer.java for commit 19420
- moved GameAction & its util class to forge.game
- ensure stats labels in deck editor are shown at the correct height on large displays
- this works around a quirky interaction between WrapLayout and MigLayout that was causing interior cells to be properly resized but the cells surrounding them would not be, resulting in widgets that would be too large or too small for their unupdated containing cells
- Fixed Krosa Chaos trigger
- GameAction divided into 2 parts: original keeps cards' zone transitions, GameActionPlay.java holds methods for playing spells (mostly used by human player I guess)
- in ComputerUtil demanded player to be AiPlayer for playing spells
- add set type information to setdata.txt and store it via CardEdition
- The Very Hard Jamuraa decks can now occasionally (rarely) give you special extra rewards.
- simplify and theme choose sets dialog
- Minor technical improvement to a check in BoosterUtils.java.
- Added the recent commit logs to changes.txt. Preparing for the snapshot build release.
- Running set info for PC2 cards that were never ran previously
- CheckStyle.
- CheckStyle.
- CheckStyle.
- Performance updates in ComputerUtilAttack.
- Added Suppression Field.
- Converted Donate to script
- AbilityManaPart has to add SA to trigger it raises =(
- AF:CopyPerm - used shortcuts to select target cards and collect a line
- CardFactoryUtil: extract method
- ETBReplacementMove converted to SpellEffect, wrapped it into CommonDrawback
- Converted Wing Puncture to script.
- ChangeZoneAi: made method names shorter, removed check for subAb drawbacks (since it's checked in wrapper class)
- getParent method added to SpellAbility, moved static methods getParent{withProperty} and findRoot to SpellAbility class
- removed excessive checks from caller methods
- SpellAbility: targetList removed (noone has assigned to it anything meaningful)
- Fixing Auras requesting SpellPermanent and causing a crash, since Auras no longer use the SpellPermanent class
- Adding KeywordMultiplier parameter to StaticContinuous
- moved params and api into SpellAbility, made param getters NPE-proof, cut reference to AbilityFactory
- AbilityFactory: getAbility ready to be made static
- License text + JavaDoc added to QuestUtilUnlockSets.java.
- Improved Sedris, the Traitor King's script to better handle the exile at next EOT
- Fixed Haste on suspended creatures.
- Fixed AI ignoring "DiscardValid" parameter.
- make set chooser dialog overlay-based instead of JDialog-based
- move type parsing from private constructor to reader class; add comment on purpose of 2-letter codes
- Fixed Deathpact Angel.
- differentiate item hilight when a FList listbox has lost focus from when the listbox is selected
- ensure the CardListViewer always appears in the center of the screen
- allow spacebar to move cards in DualListBox and enter to select the OK button
- make color of listbox selection depend on listbox focus, not cell focus
- avoid NPE when attempting to start a challenge when there isn't one to start
- set button focus after match; this also gets the game log scrolling properly
- SpellAbility: afterResolve and afterPayMana were removed, since they were not used.
- little refactoring for global ruin
- CardEdition: remove unused ctor
- SpellAbility: Intrinsic/Extrinsic types were never assigned (removed)
- setPaidList, beforePayManaAI, setAllReplacingObjects, hasReplacingObject, wasCancelled were never used (removed)
- reduced visibility of setManaPart,
- finalized setReplicateManaCost, setXManaCost, setIsMultiKicker, setIsReplicate, setIsCycling, setConditions, (set/add)OptionalAdditionalCosts since they were called by CardFactoryUtil only => all removed from WrappedAbility.java
- allow highlighting and copying of match log in ViewWinLose
- make saving layouts thread safe
- add ctrl(cmd)+enter hotkey to auto button in ability chooser dialog
- scroll game log to top on display
- reshow selected card when the listbox regains focus
- show current card /after/ the events stop firing so the card data doesn't get overwritten
- Converting Sheltered Valley to script (no AI exists in hardcode, but we probably should an add an SVar to not play this if that player already controls one of these)
- Added an ai check svar to Sheltered Valley so that it won't play it if it already has another one on the battlefield
- AiController.getLandsToPlay will now check NeedsToPlayVar and filter out relevant cards
- Added a deck editor icon for products. Hooked up the icon in FSkin and added a commented out basic hook for it in SEditorUtil
- getAvailableMana and mapManaSources accept any player as parameter, since AI wants to evaluate player's mana he might use to pump creatures
- add pack filter in spell shop
- use FButtons instead of FLabels on the AssignDamage dialog so default actions and tabbing work properly
- use predicates instead of a custom count function
- don't select negative row after buying every last item in the spell shop
- Added the recent commit logs to changes.txt. Preparing for the snapshot build release.
- Initial preparations for the 'quest worlds' code.
- CheckStyle.
- Do not display the RtR Guild Sealed block in Draft games.
- Fixed stack descriptions.
- undoable attribute moved to SA,
- cost removed from manaPart
- SA: getAbility/getSpell methods were removed, overloaded methods isAbility/isSpell are used instead
- Spells giving mana work correctly
- Added RepeatEach AF
- Converted Rhys the Redeemed to script
- AI Logic for Rhys the Redeemed equivilant to the existing AI code in CF_Creatures
- More preliminary work for the quest worlds.
- Disable test printout in QuestWorld.java.
- Added the recent commit logs to changes.txt. Preparing for the snapshot build release.
- CheckStyle.
- Fixed checkETBEffects.
- Remove a colon from picture file names so that the proper Gatherer names of cards with the colon may be used (for the upcoming CoP/RoP support).
- Renamed the file of Craterhoof Behemoth.
- Fixing Rhys the Redeemed cloning opponents tokens
- Converted Parallel Evolution to script
- Fixing CC of Parallel Evolution
- Converted Siren's Call to Script
- Additional reference needed to be removed
- Convert Hurkyl's Recall to script
- Convert Telling Time to script (the AI may be able to play this now)
- Convert Intuition to script
- wrapper will return api (temporary)
- Cleanup in handleRemembering.
- First implementation of Conspire mechanic (I plan to expand i to support multiple Conspire instances for interaction with Wort, the Raidmother)
- Added the card property "attackingYou".
- Initial implementation of AF ChooseSource for cards that refer to a source in their card text.
- Compilation fix for the updated AF interface (updating AF ChooseSource).
- Improved the prompt of unless costs.
- Added a SpellDescription to Circle of Protection: Artifacts.
- Circle of Protection: Artifacts will no longer create a useless effect when no source is chosen.
- Circles of Protection and Runes of Protection will no longer create useless effects when no source is chosen.
- Added a SpellDescription to all Circles of Protection and Runes of Protection.
- Removed some unused commented out code in AF ChooseSource (wasn't useful).
- Added a fluff piece to the changes.txt file.
- Added the recent commit logs to changes.txt. Preparing for the snapshot build release.
- Added a more detailed comment to the TODO of the AI part of the AF ChooseSource for future reference.
- CheckStyle.
- restored triggers (like oblivion ring)
- Added TapOrUntapAll AF
- Converted Turnabout to script
- Fixed the types for Lava Hounds; Pallimud; Scourge of Kher Ridges; Sliptide Serpent
- remove warning
- Remove warnings: unspecified generic type, redundant else clause, unused imports, unreachable code, excessive superinterface declaration
- SA: field delve renamed, isTap/untapAbility removed (cost takes care of that), isTrigger declared by overload in AbilityTriggered
- The AI will now predict damage prevention replacement effects.
- Added first steps towards AF ChooseSource AI for CoP's (the AI will choose unblocked attackers).
- Converted Suffer the Past to script
- Converted Remove Enchantments to Script, All Instants have no been converted
- AF ChooseSource: sources already listed as effects "on stack" will no longer also be listed as sources which are "objects referenced on stack by another object".
- Organizing imports in AF ChooseSource.
- Organizing imports in AF ChooseSource.
- Improved AI using War Falcon.
- When choosing cards, sources, etc. using a list box, the currently selected card will now be visually highlighted on the playfield (to better distinguish between e.g. three different cards with the same name on the playfield).
- Now the visual highlighting of a card will also work when declaring the order of blockers.
- Fixed "Players can't gain life." on Everlasting Torment.
- Fixed "Damage can't be prevented." on Everlasting Torment.
- Added a fluff piece to the changes.txt file.
- Added the recent commit logs to changes.txt. Preparing for the snapshot build release.
- slowtrip - remove duplication
- Removed some unnecessary parameters from the chooseSource scripts.
- Initial implementation of the sound system for Forge. Supports non-blocking, "preload once, play anytime" sound playback with no memory penalty for playing sounds multiple times. Supports WAV and AU file formats, uses only standard JDK libraries and, as such, fully cross-platform.
- CheckStyle.
- Some CheckStyle corrections related to the use of "final".
- Added a method to loop the sound to the Sounds enumeration.
- Cleanup.
- Attempt to remedy the "sound skipping" issue with the sound system.
- Input: Added an abstract marker method to trace all annonymous descendants,
- PayManaCostX moved to separate file
- added Action class - it's like Command but has parameters.
- Some more changes to the sound system.
- removed duplicate code in CField
- Fixed Kaervek's Torch Rarity SVar
- Angel's Trumpet is now more generic, and should be compatible with Multiplayer
- Removed zone parameter from selectCard in all Inputs
- More work on the sound system.
- More work on the sound system (cleaning imports).
- More work on the sound system (magic numbers, CheckStyle).
- Adding "UseImprinted" Param to RepeatEach for use with SAs that do something else with Remembered Cards.
- InputSelectManyCards - a common class for all those inlined target-choosing inputs
- a fix for Phantasmal Terrain and Convincing Mirage
- Added missing removeImprinted function.
- Fix an NPE with arcs if the battlefield isn't displayed when trying to draw
- Added Auto and Reset buttons to VAssignDamage
- The AI will now use CoP's to protect itself from damage dealing spells.
- Removed "SVar:RemAIDeck:True" from some of the ChooseSource cards.
- Improved ChooseSource AI handling spells.
- Input: using InputSelectMany as core for custom targeting inputs
- Sound: rem warning
- Converted Blade of the Bloodchief to Script
- CheckStyle.
- Sound system: added an option to toggle the sound effects on/off in the game (currently not linked to any code).
- Fixed possibility of getting stuck in attachAuraOnIndirectEnterBattlefield.
- Fixed DelayedTriggerAi not setting an activating player.
- Quick fix for negative handsizes other than -1, which is used for no maximum (needs a non-hacky solution).
- Small tweaks to General's Regalia
- Reverted GameFormatQuest to fix numerous problems caused by r17875 which totally broke GameFormatQuest. The whole reason for having a separate class for GameFormatQuest and why it was not inheriting GameFormat in the first place was that, unlike with the regular GameFormat class, its lists MUST NOT be immutable or it WILL NOT WORK.
- Added the recent commit logs to changes.txt. Preparing for the snapshot build release.
- reverting 18047, making changes from 17875 not ruin quest logics
- the ro fields are just views, marking them as transient
- ran setinfo and oracle scripts for earlier commits
- fixing import
- CheckStyle.
- Sound system: made the Sounds methods obey the "enable sounds" setting in preferences.
- Launch of the Sound System: several basic sounds are linked to the code now and will be enabled when "Enable Sounds" option is checked in the preferences. No sound files are included with this commit and must be submitted separately. Details in the forum.
- Tageting Overlay: fixed a bug that caused the targeting arcs to disappear for some enchantments targeting cards on the other side of the playfield.
- Added some cost checks to ChooseSourceAi.
- Fixed a bug in getSpellCostChange.
- Bloodthirst is now multiplayer compatible.
- Rewrote the Bloodthirst keyword as a macro for a proper replacement effect.
- Added a fluff piece to the changes.txt file.
- Fix more NPEs with Attach no longer using SpellPermanent
- Sound System: Implemented more sounds and linked them to the code.
- Sound System: Some crash prevention measures.
- Sound System: Minor style fix.
- Sound System: Added the Enchantment sound, some style fixes.
- Added Magmasaur
- Fixed RememberRemoved remembering more counters than were originally on a card
- Sound System: Added the Poison sound.
- Sound System: Added the Instant and Sorcery sounds.
- Using SelectManyCards instead of plain input, rem some warnings
- Quest start options remake - part 1/2. (I just tried to understand all those checkboxes and failed)
- new quest w/custom format - bugfix
- Sound System: Added the ability to optionally define sound effects for specific cards by name instead of by type (might prove useful later).
- Sound System: CheckStyle.
- Sound System: CheckStyle.
- Sound System: Renamed some sounds for the sake of clarity.
- Added the recent commit logs to changes.txt. Preparing for the snapshot build release.
- CheckStyle.
- Converted Nameless Race to script
- small addition to CostPayLife to enable limiting the maximum available choice when using XChoice
- improved svar name for Minion of the Wastes
- Sound System: Added to enumeration and implemented support for the AddCounter, Damage, Destroy, Discard, Equip, LifeLoss, ManaBurn, Regen, RemoveCounter, and Sacrifice sound effects. Also, some minor fixes.
- Converted Phyrexian Processor to script (by moomarc).
- AdditionalCostsPaid will now be cleared when a card hits the graveyard.
- Quest start UI done
- Conspire is now check on the SA instead of the card.
- Initial checkin of PermanentCreature AF, a way to organize Creature Spell AIs, with longterm potential of removing SpellPermanent
- Converted Force of Savagery to Script
- Sound System: A little fix to the counter sounds. Also, adding back some of the changes that seemingly did not go through the last time.
- Sound System: Increased the responsiveness of the sound system, should help remedy the skipping or missing sounds.
- Small fix to Nameless Race
- Made some scripts multiplayer compatible and other minor tweaks
- Added the first global rule change: "Damage can't be prevented.".
- Converted Leyline of Punishment and Everlasting Torment.
- Added the global rule change: "All damage is dealt as though it's source had wither.".
- Everlasting Torment is now fully scripted.
- Converted C "...each player's <phase>" cards to more multiplayer-friendly scripts.
- ReplacedOppDomain counting method with ActivePlayerDomain (Only card that used OppDomain was converted)
- Added the global rule change: "The legend rule doesn't apply.".
- Converted Mirror Gallery to script.
- Added the global rule change: "Mana pools don't empty as steps and phases end.".
- Converted Upwelling to script.
- Added the recent commit logs to changes.txt. Preparing for the snapshot build release.
- Added the global rule change: "Players can't cycle cards.".
- Converted Stabilizer to script.
- Fixed Predatory Rampage.
- Added the global rule change: "Creatures entering the battlefield don't cause abilities to trigger.".
- Converted Torpor Orb to script.
- CheckStyle.
- Initial implementation of "spend only <color> mana when paying X", for the future implementations of Drain Life/Consume Spirit/etc. Currently controlled with SVar:XColor - specify the color of mana to spend on the X cost, e.g. SVar:XColor:B limits the X mana cost to black. Hope it didn't break anything, please test.
- GlobalRuleChanges is now stored as EnumSet.
- Fixed a bug in the "Spend only <color> mana on X" routine that allowed any mana to be spent after the first tapped land.
- Fixed a bug in the "Spend only <color> mana on X" routine that disabled the confirmation button if the wrong type of land was clicked, even if some mana of correct color was already paid before.
- Added the global rule change: "No more than one creature can attack each turn.", "No more than one creature can attack each combat." and "No more than one creature can block each combat.".
- GlobalRuleChange enum now has an associated text.
- Unlocking sets is less expensive now (but still fairly expensive).
- Code simplification (related to "spend only <color> mana on X").
- Typo fixes to the QuestData submenu.
- Sound System: added a previously missed link for the non-combat damage life loss sound.
- Added the recent commit logs to changes.txt. Preparing for the snapshot build release.
- CheckStyle.
- Fixed a bug that made it possible to select any color of mana from the mana pool when the X mana cost was supposed to be restricted to specific color(s).
- Checkstyle
- Fixed AI using Unwilling Recruit.
- Fixed Curses in attachToPlayerAIPreferences.
- The AI will now use the ability of Hollow Specter.
- The AI will no longer animate an equipped Ensouled Scimitar.
- Quest set unlocks logics written from scratch
- Improved AI for Auras with "AILogic$ Curse".
- More Improvements of AI for Auras with "AILogic$ Curse".
- More Improvements of AI for Auras with "AILogic$ Curse".
- rem unused import
- New formula for unlock prices, minor checkstyle.
- Display up to 2 + (wins/50) (max 8) options when unlocking sets.
- Bounds checking for unlocking.
- Better way, use sublist.
- Simplify nrChoices in unlocking.
- don't let tables extend past bottom of deck editor page
- calculate the correct table row selection when multiple cards are bought at once
- change selection highlight in deck editor tables based on component focus to more clearly indicate which table has focus
- allow tab key to set focus to next component (e.g. prevent tables from swallowing tab and shift-tab)
- flicker-free reinstatement of current selection when table model data changes
- Added some text to winlose screen that would explain why player lost or won
- fixing a crash when creature with B/G sword attacked AI (there was NPE on attempt to iterate over restrictions)
- make button-like FLabels act more like buttons
- can tab focus
- space/enter to select
- brighten on hover
- use previous "hover" border for focus indicator
- fix various layout and style bugs (e.g. too-short widths and missing hoverable properties)
- Added a medium quest by Nordos: Cipher 2.
- make start button change appearance on focus
- avr, m13, rtr, gtc - pictures of boosters and fatpacks
- moved that infiniteStock field from ItemPool to more approriate place
- moved infiniteSupply flag into table model, since remove (that should not remove cards when supply is endless) method belongs to model layer.
- Fixing Domri Rade placing non-Creatures on the bottom of the library
- Convert Curse of Misfortunes to Script
- Updating mtg-data.txt with GTC cards.
- Convert Painter's Servant to Script
- Small fix for Sewer Nemesis
- Fixed ai not discarding cards in certain discard modes
- Fixed the Chaos effect of Goldmeadow
- Better fix for Goldmeadow
- Removed a debug output I'd left in an earlier commit
- delete jpg booster pictures, replace them with PNG (since code wants png), ISD, DKA added
- Added the recent commit logs to changes.txt. Preparing for the beta build and release.
- Preparing the changes.txt file for the next beta build and release.
Many people helped with this version. A special thank you goes out to them. (Attempted to list names alphabetically):
Agetian
Hellfish
Marc
Max
Myk
Nordos
Rooger
RumbleBBU
Sloth
Sol
@@ -509,86 +188,42 @@ Swordshine
Chris H
Added the following Vanguard Avatar:
Momir Vig, Simic Visionary Avatar
Added the following Planes:
Takenuma
Talon Gates
Added the following cards:
AEthertow
Arsenal Thresher
Auriok Replica
Barkshell Blessing
Bone Mask
Booby Trap
Burn Trail
Burrenton Forge-Tender
Cho-Arrim Alchemist
Circle of Protection: Artifacts
Circle of Protection: Black
Circle of Protection: Blue
Circle of Protection: Green
Circle of Protection: Red
Circle of Protection: Shadow
Circle of Protection: White
Cleansing
Consume Spirit
Daru Spiritualist
Disturbing Plot
Divergent Growth
Doubling Chant
Dracoplasm
Drain Life
Everlasting Torment
Fire Juggler
Flaring Pain
General's Regalia
Ghastly Discovery
Giantbaiting
Gleeful Sabotage
Greater Realm of Preservation
Gustcloak Cavalier
Haazda Shield Mate
Intervention Pact
Invulnerability
Jade Monolith
Kaervek's Torch
Karn Liberated
Kemba's Legion
Krosan Drover
Maddening Imp
Magus of the Scroll
Memory Sluice
Metamorphose
Mine Excavation
Minion of the Wastes
Nightshade Assassin
Oracle's Attendants
Overlaid Terrain
Parallax Nexus
Pentagram of the Ages
Predatory Focus
Prismatic Circle
Proteus Machine
Reap
Reverse Damage
Riftsweeper
Righteous Aura
Rising Waters
Rofellos's Gift
Rune of Protection: Artifacts
Rune of Protection: Black
Rune of Protection: Blue
Rune of Protection: Green
Rune of Protection: Lands
Rune of Protection: Red
Rune of Protection: White
Rust Elemental
Saproling Cluster
Seasoned Tactician
Shaman en-Kor
Shimian Night Stalker
Story Circle
Summoner's Egg
Traitor's Roar
Unstable Footing
Wild Might
Aura Barbs
Breath of Fury
Burning-Tree Shaman
Capricious Efreet
Coils of the Medusa
Cunning Giant
Enchantment Alteration
Farrel's Mantle
Keldon Firebombers
Mana Echoes
Mirrorwood Treefolk
Misstep
Primordial Ooze
Protean Hydra
Pyrrhic Revival
Rohgahh of Kher Keep
Sedris, the Traitor King
Sewer Nemesis
Sewers of Estark
Signal the Clans
Skill Borrower
Wild Swing
Yamabushi's Storm
end

14
pom.xml
View File

@@ -5,7 +5,7 @@
<artifactId>forge</artifactId>
<packaging>jar</packaging>
<name>Forge</name>
<version>1.3.1</version>
<version>1.3.8</version>
<description>
Forge lets you play the card game Magic: The Gathering against a computer opponent
using all of the rules.
@@ -152,9 +152,9 @@
</licenses>
<scm>
<connection>scm:svn:http://svn.slightlymagic.net/forge/tags/forge-1.3.1</connection>
<developerConnection>scm:svn:http://svn.slightlymagic.net/forge/tags/forge-1.3.1</developerConnection>
<url>http://svn.slightlymagic.net/websvn/listing.php/tags/forge-1.3.1?repname=forge</url>
<connection>scm:svn:http://svn.slightlymagic.net/forge/tags/forge-1.3.8</connection>
<developerConnection>scm:svn:http://svn.slightlymagic.net/forge/tags/forge-1.3.8</developerConnection>
<url>http://svn.slightlymagic.net/websvn/listing.php/tags/forge-1.3.8?repname=forge</url>
</scm>
<prerequisites>
@@ -722,7 +722,11 @@
<artifactId>commons-lang3</artifactId>
<version>3.1</version>
</dependency>
<dependency>
<groupId>commons-lang</groupId>
<artifactId>commons-lang</artifactId>
<version>2.6</version>
</dependency>
<dependency>
<groupId>org.freemarker</groupId>
<artifactId>freemarker</artifactId>

View File

@@ -5,131 +5,196 @@ pathToMtgData = "mtg-data.txt"
############IMPLEMENTATION FOLLOWS############
import os,sys,fnmatch,re
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()
def getSetByFormat(requestedFormat):
# Parse out Standard sets from the Format file
formatLocation = os.path.join(sys.path[0], 'blockdata', 'formats.txt')
with open(formatLocation) as formatFile:
formats = formatFile.readlines()
if not os.path.isdir(sys.path[0] + os.sep + 'PerSetTrackingResults') :
os.mkdir(sys.path[0] + os.sep + 'PerSetTrackingResults')
for format in formats:
if requestedFormat not in format:
continue
parsed = format.split('|')
for p in parsed:
if not p.startswith('Sets:'):
continue
forgeFolderFiles = []
forgeCards = []
mtgDataCards = {}
setCodes = []
setCodeToName = {}
forgeCardCount = 0
mtgDataCardCount = 0
setCodeCount = 0
sets = p.strip().split(':')[1]
return sets.split(', ')
hasFetchedSets = False
hasFetchedCardName = False
tmpName = ""
line = ""
prevline = ""
return []
#Parse mtg-data
print("Parsing mtg-data")
with open(pathToMtgData) as mtgdata :
for line in mtgdata :
if not hasFetchedSets :
if line != "\n" :
splitLine = line.split(' ')
code = splitLine[0]
setCodeToName[code] = splitLine[-1].replace('\n', '')
#print splitLine, code, setCodeToName[code]
setCodes.append(code)
else :
hasFetchedSets = True
def printCardSet(implementedSet, missingSet, fileName, setCoverage=None, printImplemented=False, printMissing=True):
# Add another file that will print out whichever set is requested
# Convert back to lists so they can be sorted
impCount = len(implementedSet)
misCount = len(missingSet)
totalCount = impCount + misCount
if hasFetchedSets :
if not hasFetchedCardName :
tmpName = line.rstrip().replace("AE", "Ae")
hasFetchedCardName = True
if line == "\n" :
sets = prevline.split(", ")
for i in range(len(sets)):
sets[i] = sets[i].split(' ')[0]
#print sets
mtgDataCards[tmpName] = sets
hasFetchedCardName = False
filePath = os.path.join(sys.path[0], "PerSetTrackingResults", fileName)
with open(filePath, "w") as outfile:
if setCoverage:
outfile.write(' '.join(setCoverage))
outfile.write('\n')
outfile.write("Implemented (Missing) / Total = Percentage Implemented\n")
outfile.write("%d (%d) / %d = %.2f %%\n" % (impCount, misCount, totalCount, float(impCount)/totalCount*100))
prevline = line
# If you really need to, we can print implemented cards
if printImplemented:
implemented = list(implementedSet)
implemented.sort()
outfile.write("\nImplemented (%d):" % impCount)
for s in implemented:
outfile.write("\n%s" % s)
outfile.write("\n")
#Parse Forge
print("Parsing Forge")
for root, dirnames, filenames in os.walk("cardsfolder"):
for fileName in fnmatch.filter(filenames, '*.txt'):
with open(os.path.join(root, fileName)) as currentForgeCard :
tmpname = currentForgeCard.readline()
tmpname = tmpname[5:].replace("AE","Ae")
tmpname = tmpname.rstrip()
forgeCards.append(tmpname)
# By default Missing will print, but you can disable it
if printMissing:
missing = list(missingSet)
missing.sort()
outfile.write("\nMissing (%d):" % misCount)
for s in missing:
outfile.write("\n%s" % s)
#Compare datasets and output results
print("Comparing datasets and outputting results.")
totalData = {}
currentMissing = []
currentImplemented = []
total = 0
percentage = 0
for currentSet in setCodes :
if currentSet == 'UNH' or currentSet == 'UGL' : continue #skip Unhinged and Unglued since they are only counting basic lands anyway
if currentSet == 'VG1' or currentSet == 'VG2' or currentSet == 'VG3' : continue
if currentSet == 'VG4' or currentSet == 'VGO' or currentSet == 'VG ' : continue
if currentSet == 'FVD' or currentSet == 'FVE' or currentSet == 'FVR' : continue
if currentSet == 'SDC' or currentSet == 'AST' or currentSet == 'DKM' : continue
if currentSet == 'BTD' or currentSet == 'ARC' or currentSet == 'COM' : continue
#if currentSet == 'CHR' or currentSet == 'MED' or currentSet == 'H09' : continue
if currentSet == 'ME2' or currentSet == 'ME3' or currentSet == 'ME4' : continue
if currentSet == 'ATH' or currentSet == 'HOP' or currentSet == 'BRB' : continue
if currentSet == 'EVG' or currentSet == 'GVL' or currentSet == 'JVC' : continue
for key in mtgDataCards.keys() :
setList = mtgDataCards[key]
if currentSet in setList:
if key in forgeCards :
currentImplemented.append(key)
else :
currentMissing.append(key)
total = len(currentMissing)+len(currentImplemented)
percentage = 0
if total > 0 :
percentage = (float(len(currentImplemented))/float(total))*100
currentMissing.sort()
currentImplemented.sort()
if __name__ == '__main__':
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()
with open(sys.path[0] + os.sep + "PerSetTrackingResults" + os.sep + "set_" + currentSet.strip() + ".txt", "w") as output :
output.write("Implemented (" + str(len(currentImplemented)) + "):\n")
for everyImplemented in currentImplemented :
output.write(everyImplemented + '\n')
output.write("\n")
output.write("Missing (" + str(len(currentMissing)) + "):\n")
for everyMissing in currentMissing :
output.write(everyMissing + '\n')
output.write("\n")
output.write("Total: " + str(total) + "\n")
output.write("Percentage implemented: " + str(round(percentage,2)) + "%\n")
totalData[currentSet] = (len(currentImplemented),len(currentMissing),total,percentage)
del currentMissing[:]
del currentImplemented[:]
if not os.path.isdir(sys.path[0] + os.sep + 'PerSetTrackingResults') :
os.mkdir(sys.path[0] + os.sep + 'PerSetTrackingResults')
#sort sets by percentage completed
totalDataList = sorted(totalData.items(), key=lambda (key,entry): entry[3], reverse=True)
forgeFolderFiles = []
forgeCards = []
mtgDataCards = {}
setCodes = []
setCodeToName = {}
forgeCardCount = 0
mtgDataCardCount = 0
setCodeCount = 0
totalPercentage = 0
totalMissing = 0
totalImplemented = 0
fullTotal = 0
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]
totalMissing += dataKey[1]
fullTotal += dataKey[2]
statsfile.write(setCodeToName[k].lstrip() + ": " + str(dataKey[0]) + " (" + str(dataKey[1]) + ") / " + str(dataKey[2]) + " = " + str(round(dataKey[3], 2)) + "%\n")
totalPercentage = totalImplemented / fullTotal
statsfile.write("\n")
statsfile.write("Total over all sets: " + str(totalImplemented) + " (" + str(totalMissing) + ") / " + str(fullTotal))
hasFetchedSets = False
hasFetchedCardName = False
tmpName = ""
line = ""
prevline = ""
print "Done!"
#Parse mtg-data
print("Parsing mtg-data")
with open(pathToMtgData) as mtgdata :
for line in mtgdata :
if not hasFetchedSets :
if line != "\n" :
splitLine = line.split(' ')
code = splitLine[0]
setCodeToName[code] = splitLine[-1].replace('\n', '')
#print splitLine, code, setCodeToName[code]
setCodes.append(code)
else :
hasFetchedSets = True
if hasFetchedSets :
if not hasFetchedCardName :
tmpName = line.rstrip().replace("AE", "Ae")
hasFetchedCardName = True
if line == "\n" :
sets = prevline.split(", ")
for i in range(len(sets)):
sets[i] = sets[i].split(' ')[0]
#print sets
mtgDataCards[tmpName] = sets
hasFetchedCardName = False
prevline = line
#Parse Forge
print("Parsing Forge")
for root, dirnames, filenames in os.walk("cardsfolder"):
for fileName in fnmatch.filter(filenames, '*.txt'):
with open(os.path.join(root, fileName)) as currentForgeCard :
tmpname = currentForgeCard.readline()
tmpname = tmpname[5:].replace("AE","Ae")
tmpname = tmpname.rstrip()
forgeCards.append(tmpname)
#Compare datasets and output results
print("Comparing datasets and outputting results.")
totalData = {}
currentMissing = []
currentImplemented = []
allMissing = set()
allImplemented = set()
standardMissing = set()
standardImplemented = set()
total = 0
percentage = 0
standardSets = getSetByFormat('Standard')
ignoredSet = [ 'ASTRAL', 'ATH', 'BD', 'BR', 'CM1', 'DD2', 'DDC', 'DDD', 'DDE', 'DDF',
'DDG', 'DDH', 'DDI', 'DDJ', 'DKM', 'DRB', 'EVG', 'H09', 'ME2',
'ME3', 'ME4', 'MED', 'PD2', 'PD3', 'SDC', 'UG', 'UGL', 'UNH',
'V09', 'V10', 'V11', 'V12',]
for currentSet in setCodes :
# Ignore any sets that we don't tabulate
if currentSet in ignoredSet: continue
for key in mtgDataCards.keys() :
setList = mtgDataCards[key]
if currentSet in setList:
if key in forgeCards :
currentImplemented.append(key)
else :
currentMissing.append(key)
total = len(currentMissing)+len(currentImplemented)
percentage = 0
if total > 0 :
percentage = (float(len(currentImplemented))/float(total))*100
currentMissing.sort()
currentImplemented.sort()
with open(sys.path[0] + os.sep + "PerSetTrackingResults" + os.sep + "set_" + currentSet.strip() + ".txt", "w") as output :
output.write("Implemented (" + str(len(currentImplemented)) + "):\n")
for everyImplemented in currentImplemented :
output.write(everyImplemented + '\n')
output.write("\n")
output.write("Missing (" + str(len(currentMissing)) + "):\n")
for everyMissing in currentMissing :
output.write(everyMissing + '\n')
output.write("\n")
output.write("Total: " + str(total) + "\n")
output.write("Percentage implemented: " + str(round(percentage,2)) + "%\n")
totalData[currentSet] = (len(currentImplemented),len(currentMissing),total,percentage)
allMissing |= set(currentMissing)
allImplemented |= set(currentImplemented)
if currentSet in standardSets:
standardMissing |= set(currentMissing)
standardImplemented |= set(currentImplemented)
del currentMissing[:]
del currentImplemented[:]
#sort sets by percentage completed
totalDataList = sorted(totalData.items(), key=lambda (key,entry): entry[3], reverse=True)
totalPercentage = 0
totalMissing = 0
totalImplemented = 0
fullTotal = 0
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]
totalMissing += dataKey[1]
fullTotal += dataKey[2]
statsfile.write(setCodeToName[k].lstrip() + ": " + str(dataKey[0]) + " (" + str(dataKey[1]) + ") / " + str(dataKey[2]) + " = " + str(round(dataKey[3], 2)) + "%\n")
totalPercentage = totalImplemented / fullTotal
statsfile.write("\n")
statsfile.write("Total over all sets: " + str(totalImplemented) + " (" + str(totalMissing) + ") / " + str(fullTotal))
printCardSet(allImplemented, allMissing, "DistinctStats.txt")
printCardSet(standardImplemented, standardMissing, "FormatStandard.txt", setCoverage=standardSets)
print "Done!"

View File

@@ -48,4 +48,5 @@ Index:42|Set0:ISD|Set1:DKA|Name:Innistrad|DraftPacks:3|LandSetCode:ISD|SealedPac
Index:43|Set0:AVR|Name:Avacyn Restored|DraftPacks:3|LandSetCode:AVR|SealedPacks:6
Index:44|Set0:M13|Name:Magic 2013|DraftPacks:3|LandSetCode:M13|SealedPacks:6
Index:45|Set0:RTR|Name:Return to Ravnica|DraftPacks:3|LandSetCode:RTR|SealedPacks:6
Index:46|Set0:RTR|Set1:RTR|Set2:RTR|Set3:RTR|Set4:RTR|Meta0:CHOOSE1/CUBE/RtRGuildAzorius/Azorius Guild;CUBE/RtRGuildIzzet/Izzet Guild;CUBE/RtRGuildRakdos/Rakdos Guild;CUBE/RtRGuildGolgari/Golgari Guild;CUBE/RtRGuildSelesnya/Selesnya Guild/GUILD|Meta1:CHOOSE1/CUBE/RtRPromoAzorius/Azorius Guild;CUBE/RtRPromoIzzet/Izzet Guild;CUBE/RtRPromoRakdos/Rakdos Guild;CUBE/RtRPromoGolgari/Golgari Guild;CUBE/RtRPromoSelesnya/Selesnya Guild/PROMO|Name:Return to Ravnica Guild Sealed|DraftPacks:3|LandSetCode:RTR|SealedPacks:7
Index:46|Set0:RTR|Set1:RTR|Set2:RTR|Set3:RTR|Set4:RTR|Meta0:CHOOSE1/CUBE/RtRGuildAzorius/Azorius Guild;CUBE/RtRGuildIzzet/Izzet Guild;CUBE/RtRGuildRakdos/Rakdos Guild;CUBE/RtRGuildGolgari/Golgari Guild;CUBE/RtRGuildSelesnya/Selesnya Guild/GUILD|Meta1:CHOOSE1/CUBE/RtRPromoAzorius/Azorius Guild;CUBE/RtRPromoIzzet/Izzet Guild;CUBE/RtRPromoRakdos/Rakdos Guild;CUBE/RtRPromoGolgari/Golgari Guild;CUBE/RtRPromoSelesnya/Selesnya Guild/PROMO|Name:Return to Ravnica Guild Sealed|DraftPacks:3|LandSetCode:RTR|SealedPacks:7
Index:47|Set0:GTC|Name:Gatecrash|DraftPacks:3|LandSetCode:RTR|SealedPacks:6

View File

@@ -28,6 +28,7 @@ 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:GTC|Commons:10|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

View File

@@ -45,4 +45,5 @@ Set:ISD|LandSet:ISD|Boosters:9|BasicLands:60
Set:DKA|LandSet:ISD|Boosters:9|BasicLands:60
Set:AVR|LandSet:AVR|Boosters:9|BasicLands:60
Set:M13|LandSet:M13|Boosters:9|BasicLands:80
Set:RTR|LandSet:RTR|Boosters:9|BasicLands:40
Set:RTR|LandSet:RTR|Boosters:9|BasicLands:40
Set:GTC|LandSet:RTR|Boosters:9|BasicLands:40

View File

@@ -1,5 +1,5 @@
Name:Standard|Sets:ISD, DKA, AVR, M13, RTR
Name:Extended|Sets:ZEN, WWK, ROE, M11, SOM, MBS, NPH, M12, ISD, DKA, AVR, M13, RTR|Banned:Stoneforge 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, DKA, AVR, M13, RTR|Banned:Ancestral Vision; Ancient Den; Bitterblossom; Blazing Shoal; Chrome Mox; Cloudpost; Dark Depths; Dread Return; Glimpse of Nature; Golgari Grave-Troll; Great Furnace; Green Sun's Zenith; Hypergenesis; Jace, the Mind Sculptor; Mental Misstep; Ponder; Preordain; Punishing Fire; Rite of Flame; 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; Wild Nacatl
Name:Standard|Sets:ISD, DKA, AVR, M13, RTR, GTC
Name:Extended|Sets:ZEN, WWK, ROE, M11, SOM, MBS, NPH, M12, ISD, DKA, AVR, M13, RTR, GTC|Banned:Stoneforge 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, DKA, AVR, M13, RTR, GTC|Banned:Ancestral Vision; Ancient Den; Bitterblossom; Blazing Shoal; Bloodbraid Elf; Chrome Mox; Cloudpost; Dark Depths; Dread Return; Glimpse of Nature; Golgari Grave-Troll; Great Furnace; Green Sun's Zenith; Hypergenesis; Jace, the Mind Sculptor; Mental Misstep; Ponder; Preordain; Punishing Fire; Rite of Flame; Seat of the Synod; Seething Song; Sensei's Divining Top; Stoneforge Mystic; Skullclamp; Sword of the Meek; Tree of Tales; Umezawa's Jitte; Vault of Whispers; Wild Nacatl
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,92 +1,97 @@
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 Edition
Index:4|Code2:AN|Code3:ARN|Name:Arabian Nights
Index:5|Code2:AQ|Code3:ATQ|Name:Antiquities
Index:6|Code2:R|Code3:3ED|Name:Revised Edition
Index:7|Code2:LG|Code3:LEG|Name:Legends
Index:8|Code2:DK|Code3:DRK|Name:The Dark
Index:9|Code2:FE|Code3:FEM|Name:Fallen Empires
Index:0|Code2:MBP|Code3:MBP|Type:Other|Name:Media Insert Promo|Alias:PRO
Index:1|Code2:A|Code3:LEA|Type:Core|Name:Limited Edition Alpha
Index:2|Code2:B|Code3:LEB|Type:Core|Name:Limited Edition Beta
Index:3|Code2:U|Code3:2ED|Type:Core|Name:Unlimited Edition
Index:4|Code2:AN|Code3:ARN|Type:Expansion|Name:Arabian Nights
Index:5|Code2:AQ|Code3:ATQ|Type:Expansion|Name:Antiquities
Index:6|Code2:R|Code3:3ED|Type:Core|Name:Revised Edition
Index:7|Code2:LG|Code3:LEG|Type:Expansion|Name:Legends
Index:8|Code2:DK|Code3:DRK|Type:Expansion|Name:The Dark
Index:9|Code2:FE|Code3:FEM|Type:Expansion|Name:Fallen Empires
Index:10|Code2:4E|Code3:4ED|Name:Fourth Edition
Index:11|Code2:IA|Code3:ICE|Name:Ice Age
Index:12|Code2:CH|Code3:CHR|Name:Chronicles
Index:13|Code2:HL|Code3:HML|Name:Homelands
Index:14|Code2:AL|Code3:ALL|Name:Alliances
Index:15|Code2:MI|Code3:MIR|Name:Mirage
Index:16|Code2:VI|Code3:VIS|Name:Visions
Index:17|Code2:5E|Code3:5ED|Name:Fifth Edition
Index:18|Code2:PT|Code3:POR|Name:Portal
Index:19|Code2:WL|Code3:WTH|Name:Weatherlight
Index:10|Code2:4E|Code3:4ED|Type:Core|Name:Fourth Edition
Index:11|Code2:IA|Code3:ICE|Type:Expansion|Name:Ice Age
Index:12|Code2:CH|Code3:CHR|Type:Reprint|Name:Chronicles
Index:13|Code2:HL|Code3:HML|Type:Expansion|Name:Homelands
Index:14|Code2:AL|Code3:ALL|Type:Expansion|Name:Alliances
Index:15|Code2:MI|Code3:MIR|Type:Expansion|Name:Mirage
Index:16|Code2:VI|Code3:VIS|Type:Expansion|Name:Visions
Index:17|Code2:5E|Code3:5ED|Type:Core|Name:Fifth Edition
Index:18|Code2:PT|Code3:POR|Type:Starter|Name:Portal
Index:19|Code2:WL|Code3:WTH|Type:Expansion|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|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)
Index:27|Code2:UD|Code3:UDS|Name:Urza's Destiny
Index:28|Code2:P3|Code3:PTK|Name:Portal Three Kingdoms
Index:29|Code2:ST|Code3:S99|Name:Starter 1999
Index:20|Code2:TE|Code3:TMP|Type:Expansion|Name:Tempest
Index:21|Code2:SH|Code3:STH|Type:Expansion|Name:Stronghold
Index:22|Code2:EX|Code3:EXO|Type:Expansion|Name:Exodus
Index:23|Code2:P2|Code3:PO2|Type:Starter|Name:Portal Second Age|Alias:P02
Index:24|Code2:US|Code3:USG|Type:Expansion|Name:Urza's Saga
Index:25|Code2:UL|Code3:ULG|Type:Expansion|Name:Urza's Legacy
Index:26|Code2:6E|Code3:6ED|Type:Core|Name:Classic (Sixth Edition)
Index:27|Code2:UD|Code3:UDS|Type:Expansion|Name:Urza's Destiny
Index:28|Code2:P3|Code3:PTK|Type:Starter|Name:Portal Three Kingdoms
Index:29|Code2:ST|Code3:S99|Type:Starter|Name:Starter 1999
Index:30|Code2:MM|Code3:MMQ|Name:Mercadian Masques
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
Index:35|Code2:PS|Code3:PLS|Name:Planeshift
Index:36|Code2:7E|Code3:7ED|Name:Seventh Edition
Index:37|Code2:AP|Code3:APC|Name:Apocalypse
Index:38|Code2:OD|Code3:ODY|Name:Odyssey
Index:39|Code2:TO|Code3:TOR|Name:Torment
Index:30|Code2:MM|Code3:MMQ|Type:Expansion|Name:Mercadian Masques
Index:31|Code2:NE|Code3:NMS|Type:Expansion|Name:Nemesis|Alias:NEM
Index:32|Code2:S2K|Code3:S00|Type:Starter|Name:Starter 2000
Index:33|Code2:PY|Code3:PCY|Type:Expansion|Name:Prophecy
Index:34|Code2:IN|Code3:INV|Type:Expansion|Name:Invasion
Index:35|Code2:PS|Code3:PLS|Type:Expansion|Name:Planeshift
Index:36|Code2:7E|Code3:7ED|Type:Core|Name:Seventh Edition
Index:37|Code2:AP|Code3:APC|Type:Expansion|Name:Apocalypse
Index:38|Code2:OD|Code3:ODY|Type:Expansion|Name:Odyssey
Index:39|Code2:TO|Code3:TOR|Type:Expansion|Name:Torment
Index:40|Code2:JU|Code3:JUD|Name:Judgment
Index:41|Code2:ON|Code3:ONS|Name:Onslaught
Index:42|Code2:LE|Code3:LGN|Name:Legions
Index:43|Code2:SC|Code3:SCG|Name:Scourge
Index:44|Code2:8E|Code3:8ED|Name:Core Set - Eighth Edition
Index:45|Code2:MR|Code3:MRD|Name:Mirrodin
Index:46|Code2:DS|Code3:DST|Name:Darksteel
Index:47|Code2:FD|Code3:5DN|Name:Fifth Dawn
Index:48|Code2:CHK|Code3:CHK|Name:Champions of Kamigawa
Index:49|Code2:BOK|Code3:BOK|Name:Betrayers of Kamigawa
Index:40|Code2:JU|Code3:JUD|Type:Expansion|Name:Judgment
Index:41|Code2:ON|Code3:ONS|Type:Expansion|Name:Onslaught
Index:42|Code2:LE|Code3:LGN|Type:Expansion|Name:Legions
Index:43|Code2:SC|Code3:SCG|Type:Expansion|Name:Scourge
Index:44|Code2:8E|Code3:8ED|Type:Core|Name:Core Set - Eighth Edition
Index:45|Code2:MR|Code3:MRD|Type:Expansion|Name:Mirrodin
Index:46|Code2:DS|Code3:DST|Type:Expansion|Name:Darksteel
Index:47|Code2:FD|Code3:5DN|Type:Expansion|Name:Fifth Dawn
Index:48|Code2:CHK|Code3:CHK|Type:Expansion|Name:Champions of Kamigawa
Index:49|Code2:BOK|Code3:BOK|Type:Expansion|Name:Betrayers of Kamigawa
Index:50|Code2:SOK|Code3:SOK|Name:Saviors of Kamigawa
Index:51|Code2:9E|Code3:9ED|Name:Core Set - Ninth Edition
Index:52|Code2:RAV|Code3:RAV|Name:Ravnica: City of Guilds
Index:53|Code2:GP|Code3:GPT|Name:Guildpact
Index:54|Code2:DIS|Code3:DIS|Name:Dissension
Index:55|Code2:CS|Code3:CSP|Name:Coldsnap
Index:56|Code2:TSP|Code3:TSP|Name:Time Spiral
Index:57|Code2:TSB|Code3:TSB|Name:Time Spiral Timeshifted
Index:58|Code2:PLC|Code3:PLC|Name:Planar Chaos
Index:59|Code2:FUT|Code3:FUT|Name:Future Sight
Index:50|Code2:SOK|Code3:SOK|Type:Expansion|Name:Saviors of Kamigawa
Index:51|Code2:9E|Code3:9ED|Type:Core|Name:Core Set - Ninth Edition
Index:52|Code2:RAV|Code3:RAV|Type:Expansion|Name:Ravnica: City of Guilds
Index:53|Code2:GP|Code3:GPT|Type:Expansion|Name:Guildpact
Index:54|Code2:DIS|Code3:DIS|Type:Expansion|Name:Dissension
Index:55|Code2:CS|Code3:CSP|Type:Expansion|Name:Coldsnap
Index:56|Code2:TSP|Code3:TSP|Type:Expansion|Name:Time Spiral
Index:57|Code2:TSB|Code3:TSB|Type:Expansion|Name:Time Spiral Timeshifted
Index:58|Code2:PLC|Code3:PLC|Type:Expansion|Name:Planar Chaos
Index:59|Code2:FUT|Code3:FUT|Type:Expansion|Name:Future Sight
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|Alias:EVT
Index:65|Code2:ALA|Code3:ALA|Name:Shards of Alara
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
Index:60|Code2:10E|Code3:10E|Type:Core|Name:Core Set - Tenth Edition
Index:61|Code2:LRW|Code3:LRW|Type:Expansion|Name:Lorwyn
Index:62|Code2:MOR|Code3:MOR|Type:Expansion|Name:Morningtide
Index:63|Code2:SHM|Code3:SHM|Type:Expansion|Name:Shadowmoor
Index:64|Code2:EVE|Code3:EVE|Type:Expansion|Name:Eventide|Alias:EVT
Index:65|Code2:ALA|Code3:ALA|Type:Expansion|Name:Shards of Alara
Index:66|Code2:CFX|Code3:CFX|Type:Expansion|Name:Conflux|Alias:CON
Index:67|Code2:ARB|Code3:ARB|Type:Expansion|Name:Alara Reborn
Index:68|Code2:M10|Code3:M10|Type:Core|Name:Magic 2010
Index:69|Code2:ZEN|Code3:ZEN|Type:Expansion|Name:Zendikar
Index:70|Code2:WWK|Code3:WWK|Name:Worldwake
Index:71|Code2:ROE|Code3:ROE|Name:Rise of the Eldrazi
Index:72|Code2:M11|Code3:M11|Name:Magic 2011
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:78|Code2:ISD|Code3:ISD|Name:Innistrad
Index:79|Code2:DKA|Code3:DKA|Name:Dark Ascension
Index:70|Code2:WWK|Code3:WWK|Type:Expansion|Name:Worldwake
Index:71|Code2:ROE|Code3:ROE|Type:Expansion|Name:Rise of the Eldrazi
Index:72|Code2:M11|Code3:M11|Type:Core|Name:Magic 2011
Index:73|Code2:SOM|Code3:SOM|Type:Expansion|Name:Scars of Mirrodin
Index:74|Code2:MBS|Code3:MBS|Type:Expansion|Name:Mirrodin Besieged
Index:75|Code2:NPH|Code3:NPH|Type:Expansion|Name:New Phyrexia
Index:76|Code2:COM|Code3:COM|Type:Other|Name:Commander
Index:77|Code2:M12|Code3:M12|Type:Core|Name:Magic 2012
Index:78|Code2:ISD|Code3:ISD|Type:Expansion|Name:Innistrad
Index:79|Code2:DKA|Code3:DKA|Type:Expansion|Name:Dark Ascension
Index:80|Code2:AVR|Code3:AVR|Name:Avacyn Restored
Index:81|Code2:PC2|Code3:PC2|Name:Planechase 2012 Edition
Index:82|Code2:M13|Code3:M13|Name:Magic 2013
Index:83|Code2:RTR|Code3:RTR|Name:Return to Ravnica
Index:80|Code2:AVR|Code3:AVR|Type:Expansion|Name:Avacyn Restored
Index:81|Code2:PC2|Code3:PC2|Type:Other|Name:Planechase 2012 Edition
Index:82|Code2:M13|Code3:M13|Type:Core|Name:Magic 2013
Index:83|Code2:RTR|Code3:RTR|Type:Expansion|Name:Return to Ravnica
Index:84|Code2:GTC|Code3:GTC|Type:Expansion|Name:Gatecrash
Index:86|Code2:VAN|Code3:VAN|Type:Other|Name:Vanguard
Index:87|Code2:ARC|Code3:ARC|Type:Other|Name:Archenemy
Index:88|Code2:HOP|Code3:HOP|Type:Other|Name:Planechase

View File

@@ -15,138 +15,6 @@ class Card:
self.oracle = []
self.sets = ""
def initSets():
# Base Sets
forgeSets.append('1E')
forgeSets.append('2E')
forgeSets.append('2U')
forgeSets.append('3E')
forgeSets.append('4E')
forgeSets.append('5E')
forgeSets.append('6E')
forgeSets.append('7E')
forgeSets.append('8ED')
forgeSets.append('9ED')
forgeSets.append('10E')
forgeSets.append('M10')
forgeSets.append('M11')
forgeSets.append('M12')
forgeSets.append('M13')
# 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('AN')
forgeSets.append('AQ')
forgeSets.append('LE')
forgeSets.append('DK')
forgeSets.append('FE')
forgeSets.append('HM')
# Ice Age
forgeSets.append('IA')
forgeSets.append('AL')
forgeSets.append('CSP')
# Mirage
forgeSets.append('MI')
forgeSets.append('VI')
forgeSets.append('WL')
# Rath Cycle
forgeSets.append('TE')
forgeSets.append('ST')
forgeSets.append('EX')
# Artifacts Cycle
forgeSets.append('UZ')
forgeSets.append('GU')
forgeSets.append('CG')
# Masques
forgeSets.append('MM')
forgeSets.append('NE')
forgeSets.append('PR')
# Invasion
forgeSets.append('IN')
forgeSets.append('PS')
forgeSets.append('AP')
# Odyssey
forgeSets.append('OD')
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('CON')
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')
# Innistrad
forgeSets.append('ISD')
forgeSets.append('DKA')
forgeSets.append('AVR')
# Return to Ravnica
forgeSets.append('RTR')
#forgeSets.append('GTC')
#forgeSets.append('UNK')
def initKeywords():
keyWords.append('Cascade')
keyWords.append('Convoke')
@@ -219,7 +87,6 @@ if not os.path.exists(pathToMtgData) :
raw_input("")
sys.exit()
forgeSets = []
keyWords = []
mtgDataCards = {}
setCodes = []
@@ -227,7 +94,6 @@ tmpName = ""
line = ""
# initialize sets supported by Forge
initSets()
initKeywords()
#Parse mtg-data
mtgdata = open(pathToMtgData,"r")
@@ -284,7 +150,7 @@ while line:
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
if card.types.find('Creature') == -1 and card.types.find('Planeswalker') == -1 and card.types.find('Vanguard') == -1 : foundPT = True
line = mtgdata.readline()
# found blank line or end of file so store last line as set info
card.sets = prevLine.rstrip()
@@ -305,10 +171,14 @@ while inputName != 'quit' :
print 'ManaCost:'+cardData.cost
print 'Types:'+cardData.types
print 'Text:no text'
if cardData.types.find('Creature') != -1:
if cardData.types.find('Creature') != -1 :
print 'PT:'+cardData.pt
elif cardData.types.find('Planeswalker') != -1 :
print 'Loyalty:'+cardData.pt
elif cardData.types.find('Vanguard') != -1 :
vangModifier = cardData.pt.replace('Hand ','')
vangModifier = vangModifier.replace(', life ','/')
print 'HandLifeModifier:'+vangModifier
for text in cardData.oracle :
# do some prescripting
@@ -334,24 +204,12 @@ while inputName != 'quit' :
if handleKeyords(text,keyWords) == False:
print text
#print "\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'
if cardData.types.find('Scheme') != -1 :
print 'SVar:Picture:http://www.cardforge.org/fpics/lq_schemes/'+cleanName+'.jpg'
elif cardData.types.find('Vanguard') != -1 :
print 'SVar:Picture:http://www.cardforge.org/fpics/vgd-lq/'+cleanName+'.jpg'
else :
print 'SVar:Picture:http://www.wizards.com/global/images/magic/general/'+cleanName+'.jpg'
print 'End\n'
else :
print inputName+' not found\n'

View File

@@ -0,0 +1,13 @@
Name:A Display of My Dark Power
ManaCost:no cost
Types:Scheme
Text:no text
T:Mode$ SetInMotion | ValidCard$ Card.Self | Execute$ DarkEffect | TriggerZones$ Command | TriggerDescription$ When you set this scheme in motion, until your next turn, whenever a player taps a land for mana, that player adds one mana to his or her mana pool of any type that land produced.
SVar:DarkEffect:AB$ Effect | Cost$ 0 | Name$ Dark Power Scheme | Duration$ UntilYourNextTurn | Triggers$ DarkPower | SVars$ DarkMana
SVar:DarkPower:Mode$ TapsForMana | ValidCard$ Land | Execute$ DarkMana | TriggerZones$ Command | Static$ True | TriggerDescription$ Whenever a player taps a land for mana, that player adds one mana to his or her mana pool of any type that land produced.
SVar:DarkMana:AB$ ManaReflected | Cost$ 0 | ColorOrType$ Type | Valid$ Defined.Triggered | ReflectProperty$ Produced | Defined$ TriggeredPlayer
SVar:Rarity:Common
SVar:Picture:http://www.cardforge.org/fpics/lq_schemes/a_display_of_my_dark_power.jpg
SetInfo:ARC|Common|http://magiccards.info/extras/scheme/archenemy/a-display-of-my-dark-power.jpg
Oracle:When you set this scheme in motion, until your next turn, whenever a player taps a land for mana, that player adds one mana to his or her mana pool of any type that land produced.
End

View File

@@ -3,8 +3,8 @@ ManaCost:1 W
Types:Instant
Text:no text
A:SP$ Effect | Cost$ 1 W | ValidTgts$ Player | Name$ Abeyance Effect | StaticAbilities$ STCantBeCast,STCantBeActivated | RememberObjects$ Targeted | AILogic$ BeginningOfOppTurn | SubAbility$ DBDraw | SpellDescription$ Until end of turn, target player can't cast instant or sorcery spells, and that player can't activate abilities that aren't mana abilities.
SVar:STCantBeCast:Mode$ CantBeCast | ValidCard$ Instant,Sorcery | Caster$ Player.IsRemembered | Description$ Target player can't cast instant or sorcery spells, and that player can't activate abilities that aren't mana abilities.
SVar:STCantBeActivated:Mode$ CantBeActivated | ValidCard$ Card | Activator$ Player.IsRemembered | NonMana$ True
SVar:STCantBeCast:Mode$ CantBeCast | ValidCard$ Instant,Sorcery | Caster$ Player.IsRemembered | EffectZone$ Command | Description$ Target player can't cast instant or sorcery spells, and that player can't activate abilities that aren't mana abilities.
SVar:STCantBeActivated:Mode$ CantBeActivated | ValidCard$ Card | Activator$ Player.IsRemembered | EffectZone$ Command | NonMana$ True
SVar:DBDraw:DB$Draw | NumCards$ 1 | SpellDescription$ Draw a card.
SVar:Rarity:Rare
SVar:Picture:http://www.wizards.com/global/images/magic/general/abeyance.jpg

View File

@@ -3,7 +3,7 @@ ManaCost:3 B B
Types:Creature Horror
Text:no text
PT:2/6
T:Mode$ Blocks | ValidCard$ Card.Self | ValidBlocked$ Creature.Green,Creature.White | DelayedTrigger$ DelTrigBlocked | TriggerDescription$ Whenever CARDNAME blocks or becomes blocked by a green or white creature, destroy that creature at end of combat.
T:Mode$ AttackerBlocked | ValidCard$ Creature.Green,Creature.White | ValidBlocker$ Card.Self | DelayedTrigger$ DelTrigBlocked | TriggerDescription$ Whenever CARDNAME blocks or becomes blocked by a green or white creature, destroy that creature at end of combat.
T:Mode$ Blocks | ValidCard$ Creature.Green,Creature.White | ValidBlocked$ Card.Self | DelayedTrigger$ DelTrigBlocker | Secondary$ True | TriggerDescription$ Whenever CARDNAME blocks or becomes blocked by a green or white creature, destroy that creature at end of combat.
SVar:DelTrigBlocked:Mode$ Phase | Phase$ EndCombat | ValidPlayer$ Player | Execute$ TrigDestroyBlocked | TriggerDescription$ Destroy blocked creature at end of combat.
SVar:DelTrigBlocker:Mode$ Phase | Phase$ EndCombat | ValidPlayer$ Player | Execute$ TrigDestroyBlocker | TriggerDescription$ Destroy blocking creature at end of combat.

View File

@@ -5,7 +5,7 @@ Text:no text
K:Enchant creature
A:SP$ Attach | Cost$ U | ValidTgts$ Creature | AILogic$ Pump
S:Mode$ Continuous | Affected$ Creature.EnchantedBy | AddKeyword$ Flying | Description$ Enchanted creature has flying.
S:Mode$ Continuous | Affected$ Creature.EnchantedBy | AddKeyword$ Shroud | Threshold$ True | Description$ Threshold - 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.)
S:Mode$ Continuous | Affected$ Creature.EnchantedBy | AddKeyword$ Shroud | Condition$ Threshold | Description$ Threshold - 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.)
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

View File

@@ -4,7 +4,7 @@ Types:Creature Horror
Text:no text
PT:1/1
T:Mode$ ChangesZone | Origin$ Battlefield | Destination$ Graveyard | ValidCard$ Card.Self | Execute$ TrigSac | TriggerController$ TriggeredCardController | TriggerDescription$ When CARDNAME is put into a graveyard from the battlefield, each player sacrifices a creature.
SVar:TrigSac:AB$Sacrifice | Cost$ 0 | SacValid$ Creature | Defined$ Each
SVar:TrigSac:AB$ Sacrifice | Cost$ 0 | SacValid$ Creature | Defined$ Each
SVar:Rarity:Common
SVar:Picture:http://www.wizards.com/global/images/magic/general/abyssal_gatekeeper.jpg
SetInfo:WTH|Common|http://magiccards.info/scans/en/wl/1.jpg

View File

@@ -3,7 +3,7 @@ ManaCost:1 B B
Types:Creature Horror
Text:no text
PT:2/2
T:Mode$ Discarded | ValidCard$ Card.YouDontCtrl | TriggerZones$ Battlefield | Execute$ TrigPump | TriggerDescription$ Whenever an opponent discards a card, CARDNAME gets +2/+2 and gains fear until end of turn. (It can't be blocked except by artifact creatures and/or black creatures.)
T:Mode$ Discarded | ValidCard$ Card.OppOwn | TriggerZones$ Battlefield | Execute$ TrigPump | TriggerDescription$ Whenever an opponent discards a card, CARDNAME gets +2/+2 and gains fear until end of turn. (It can't be blocked except by artifact creatures and/or black creatures.)
SVar:TrigPump:AB$Pump | Cost$ 0 | Defined$ Self | NumAtt$ 2 | NumDef$ 2 | KW$ Fear
SVar:Rarity:Rare
SVar:Picture:http://www.wizards.com/global/images/magic/general/abyssal_nocturnus.jpg

View File

@@ -0,0 +1,17 @@
Name:Academy at Tolaria West
ManaCost:no cost
Types:Plane Dominaria
Text:no text
T:Mode$ Phase | Phase$ End of Turn | ValidPlayer$ You | TriggerZones$ Command | IsPresent$ Card.YouCtrl | PresentZone$ Hand | PresentCompare$ EQ0 | Execute$ AcademicDraw | TriggerDescription$ At the beginning of your end step, if you have no cards in hand, draw seven cards.
SVar:AcademicDraw:AB$ Draw | Cost$ 0 | Defined$ You | NumCards$ 7
T:Mode$ PlanarDice | Result$ Chaos | TriggerZones$ Command | Execute$ RolledChaos | TriggerDescription$ Whenever you roll Chaos, discard your hand.
SVar:RolledChaos:AB$ Discard | Cost$ 0 | Mode$ Hand | Defined$ You
T:Mode$ PlanarDice | Result$ Planeswalk | TriggerZones$ Command | Execute$ RolledWalk | Secondary$ True | TriggerDescription$ Whenever you roll Planeswalk, put this card on the bottom of its owner's planar deck face down, then move the top card of your planar deck off that planar deck and turn it face up
SVar:RolledWalk:AB$ Planeswalk | Cost$ 0
A:AB$ RollPlanarDice | Cost$ X | SorcerySpeed$ True | ActivationZone$ Command | SpellDescription$ Roll the planar dice.
SVar:X:Count$RolledThisTurn
SVar:Rarity:Common
SVar:Picture:http://www.wizards.com/global/images/magic/general/academy_at_tolaria_west.jpg
SetInfo:HOP|Common|http://magiccards.info/extras/plane/planechase/academy-at-tolaria-west.jpg
Oracle:At the beginning of your end step, if you have no cards in hand, draw seven cards.\nWhenever you roll {C}, discard your hand.
End

View File

@@ -4,8 +4,8 @@ Types:Creature Human Cleric
Text:no text
PT:1/2
T:Mode$ ChangesZone | ValidCard$ Card.Self | Origin$ Battlefield | Destination$ Graveyard | Execute$ TrigExile | OptionalDecider$ TriggeredCardController | TriggerController$ TriggeredCardController | TriggerDescription$ When CARDNAME dies, you may exile it. If you do, search your library for an enchantment card and put that card onto the battlefield. Then shuffle your library.
SVar:TrigExile:AB$ChangeZone | Cost$ 0 | Origin$ Graveyard | Destination$ Exile | ValidCard$ Card.Self | SubAbility$ DBReturn
SVar:DBReturn:DB$ChangeZone | Origin$ Library | Destination$ Battlefield | ChangeType$ Enchantment.YouOwn | ChangeNum$ 1
SVar:TrigExile:AB$ ChangeZone | Cost$ 0 | Origin$ Graveyard | Destination$ Exile | ValidCard$ Card.Self | SubAbility$ DBReturn
SVar:DBReturn:DB$ ChangeZone | Origin$ Library | Destination$ Battlefield | ChangeType$ Enchantment.YouOwn | ChangeNum$ 1
SVar:SacMe:4
SVar:RemRandomDeck:True
DeckNeeds:Type$Enchantment

View File

@@ -4,7 +4,7 @@ Types:Creature Human Wizard
Text:no text
PT:2/2
T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TrigChangeZone | TriggerDescription$ When CARDNAME enters the battlefield, you may put an Aura card from your hand onto the battlefield attached to Academy Researchers.
SVar:TrigChangeZone:AB$ ChangeZone | Cost$ 0 | Origin$ Hand | Destination$ Battlefield | ChangeType$ Aura | AttachedTo$ Self
SVar:TrigChangeZone:AB$ ChangeZone | Cost$ 0 | Origin$ Hand | Destination$ Battlefield | ChangeType$ Aura.CanEnchantSource | AttachedTo$ Self
SVar:Rarity:Uncommon
SVar:Picture:http://www.wizards.com/global/images/magic/general/academy_researchers.jpg
SetInfo:USG|Uncommon|http://magiccards.info/scans/en/us/58.jpg

View File

@@ -4,7 +4,7 @@ Types:Creature Human Knight
Text:no text
PT:3/1
T:Mode$ Attacks | ValidCard$ Card.Self | TriggerZones$ Battlefield | Execute$ TrigBattleCry | TriggerDescription$ Battle cry (Whenever this creature attacks, each other attacking creature gets +1/+0 until end of turn.)
SVar:TrigBattleCry:AB$PumpAll | Cost$ 0 | ValidCards$ Creature.attacking+Other | NumAtt$ 1
SVar:TrigBattleCry:AB$ PumpAll | Cost$ 0 | ValidCards$ Creature.attacking+Other | NumAtt$ 1
SVar:Rarity:Uncommon
SVar:Picture:http://www.wizards.com/global/images/magic/general/accorder_paladin.jpg
SetInfo:MBS|Uncommon|http://magiccards.info/scans/en/mbs/1.jpg

View File

@@ -3,11 +3,11 @@ ManaCost:4
Types:Artifact
Text:no text
A:AB$ Effect | Cost$ 4 T | Name$ Acidic Dagger Effect | ValidTgts$ Creature | TgtPrompt$ Select target creature | Triggers$ TrigDam,TrigLeave | SVars$ TrigDestroy,TrigSac,ExileEffect | RememberObjects$ Targeted | ImprintCards$ Self | ActivationPhases$ Upkeep->Declare Attackers - Play Instants and Abilities | SpellDescription$ Whenever target creature deals combat damage to a non-Wall creature this turn, destroy that non-Wall creature. When the targeted creature leaves the battlefield this turn, sacrifice CARDNAME. Activate this ability only before blockers are declared.
SVar:TrigDam:Mode$ DamageDone | ValidSource$ Creature.IsRemembered | ValidTarget$ Creature.nonWall | CombatDamage$ True | TriggerZones$ Battlefield | Execute$ TrigDestroy | TriggerDescription$ Whenever targeted creature deals combat damage to a non-Wall creature this turn, destroy that non-Wall creature.
SVar:TrigLeave:Mode$ ChangesZone | ValidCard$ Creature.IsRemembered | Origin$ Battlefield | Destination$ Any | Execute$ TrigSac | TriggerDescription$ When the targeted creature leaves the battlefield this turn, sacrifice Acidic Dagger.
SVar:TrigDestroy:AB$Destroy | Cost$ 0 | Defined$ TriggeredTarget
SVar:TrigDam:Mode$ DamageDone | ValidSource$ Creature.IsRemembered | ValidTarget$ Creature.nonWall | CombatDamage$ True | TriggerZones$ Command | Execute$ TrigDestroy | TriggerDescription$ Whenever targeted creature deals combat damage to a non-Wall creature this turn, destroy that non-Wall creature.
SVar:TrigLeave:Mode$ ChangesZone | ValidCard$ Creature.IsRemembered | Origin$ Battlefield | Destination$ Any | Execute$ TrigSac | TriggerZones$ Command | TriggerDescription$ When the targeted creature leaves the battlefield this turn, sacrifice Acidic Dagger.
SVar:TrigDestroy:AB$ Destroy | Cost$ 0 | Defined$ TriggeredTarget
SVar:TrigSac:DB$ SacrificeAll | Defined$ Imprinted | SubAbility$ ExileEffect
SVar:ExileEffect:DB$ ChangeZone | Defined$ Self | Origin$ Battlefield | Destination$ Exile | Static$ True
SVar:ExileEffect:DB$ ChangeZone | Defined$ Self | Origin$ Command | Destination$ Exile | Static$ True
SVar:RemAIDeck:True
SVar:Rarity:Rare
SVar:Picture:http://www.wizards.com/global/images/magic/general/acidic_dagger.jpg

View File

@@ -4,7 +4,7 @@ Types:Creature Sliver
Text:no text
PT:2/2
S:Mode$ Continuous | Affected$ Sliver | AddAbility$ Damage | Description$ All Slivers have "2, Sacrifice this permanent: This permanent deals 2 damage to target creature or player."
SVar:Damage:AB$DealDamage | Cost$ 2 Sac<1/CARDNAME> | Tgt$ TgtCP | NumDmg$ 2 | SpellDescription$ CARDNAME deals 2 damage to target creature or player.
SVar:Damage:AB$DealDamage | Cost$ 2 Sac<1/CARDNAME> | ValidTgts$ Creature,Player | TgtPrompt$ Select target creature or player | NumDmg$ 2 | SpellDescription$ CARDNAME deals 2 damage to target creature or player.
SVar:BuffedBy:Sliver
SVar:Rarity:Uncommon
SVar:Picture:http://www.wizards.com/global/images/magic/general/acidic_sliver.jpg

View File

@@ -2,10 +2,10 @@ Name:Acidic Soil
ManaCost:2 R
Types:Sorcery
Text:no text
A:SP$ DealDamage | Cost$ 2 R | Defined$ You | NumDmg$ X | SubAbility$ DBDamageOpp | References$ X | SpellDescription$ CARDNAME deals damage to each player equal to the number of lands he or she controls.
SVar:DBDamageOpp:DB$DealDamage | Defined$ Opponent | NumDmg$ Y | References$ Y
SVar:X:Count$TypeYouCtrl.Land
SVar:Y:Count$TypeOppCtrl.Land
A:SP$ RepeatEach | Cost$ 2 R | RepeatPlayers$ Player | RepeatSubAbility$ DBDamageOpp | SpellDescription$ CARDNAME deals damage to each player equal to the number of lands he or she controls.
SVar:DBDamageOpp:DB$ DealDamage | Defined$ Remembered | NumDmg$ X | References$ X
SVar:X:Count$Valid Land.RememberedPlayerCtrl
SVar:AIPlayForSub:True
SVar:RemAIDeck:True
SVar:Rarity:Uncommon
SVar:Picture:http://www.wizards.com/global/images/magic/general/acidic_soil.jpg

View File

@@ -7,6 +7,7 @@ SVar:Rarity:Uncommon
SVar:Picture:http://www.wizards.com/global/images/magic/general/act_of_treason.jpg
SetInfo:M11|Common|http://magiccards.info/scans/en/m11/121.jpg
SetInfo:M10|Uncommon|http://magiccards.info/scans/en/m10/124.jpg
SetInfo:GTC|Common|http://magiccards.info/scans/en/gtc/85.jpg
SetInfo:M12|Common|http://magiccards.info/scans/en/m12/121.jpg
Oracle:Gain control of target creature until end of turn. Untap that creature. It gains haste until end of turn. (It can attack and {T} this turn.)
End

View File

@@ -3,8 +3,8 @@ ManaCost:3
Types:Artifact Creature Construct
Text:no text
PT:2/2
T:Mode$ ChangesZone | ValidCard$ Card.Self | Origin$ Any | Destination$ Battlefield | Execute$ ChooseCT | Static$ True | TriggerDescription$ As CARDNAME enters the battlefield, choose a creature type.
SVar:ChooseCT:AB$ ChooseType | Cost$ 0 | Defined$ You | Type$ Creature | AILogic$ MostProminentInComputerDeck
K:ETBReplacement:Other:ChooseCT
SVar:ChooseCT:DB$ ChooseType | Type$ Creature | AILogic$ MostProminentInComputerDeck | SpellDescription$ As CARDNAME enters the battlefield, choose a creature type.
S:Mode$ Continuous | Affected$ Card.Self | AddType$ ChosenType | Description$ CARDNAME is the chosen type in addition to its other types.
S:Mode$ Continuous | Affected$ Creature.ChosenType+Other+YouCtrl | AddPower$ 1 | AddToughness$ 1 | Description$ Other creatures you control of the chosen type get +1/+1.
SVar:Rarity:Rare

View File

@@ -0,0 +1,11 @@
Name:Adaptive Snapjaw
ManaCost:4 G
Types:Creature Lizard Beast
Text:no text
PT:6/2
K:Evolve
SVar:Rarity:Common
SVar:Picture:http://www.wizards.com/global/images/magic/general/adaptive_snapjaw.jpg
SetInfo:GTC|Common|http://magiccards.info/scans/en/gtc/113.jpg
Oracle:Evolve (Whenever a creature enters the battlefield under your control, if that creature has greater power or toughness than this creature, put a +1/+1 counter on this creature.)
End

View File

@@ -5,7 +5,7 @@ Text:no text
A:SP$ Dig | Cost$ 2/U 2/U 2/U | DigNum$ 4 | ChangeNum$ 1 | SubAbility$ Dig2 | ConditionCheckSVar$ X | ConditionSVarCompare$ LEY | References$ X,Y | SpellDescription$ Look at the top five cards of your library. If you control more creatures than each other player, put two of those cards into your hand. Otherwise, put one of them into your hand. Then put the rest on the bottom of your library in any order.
SVar:Dig2:DB$ Dig | DigNum$ 4 | ChangeNum$ 2 | ConditionCheckSVar$ X | ConditionSVarCompare$ GTY | References$ X,Y
SVar:X:Count$Valid Creature.YouCtrl
SVar:Y:Count$Valid Creature.YouDontCtrl
SVar:Y:PlayerCountOther$HighestValid Creature.YouCtrl
SVar:RemAIDeck:True
SVar:Rarity:Uncommon
SVar:Picture:http://www.wizards.com/global/images/magic/general/advice_from_the_fae.jpg

View File

@@ -5,7 +5,7 @@ Text:no text
PT:5/5
K:Flying
T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TrigPump | TriggerDescription$ When CARDNAME enters the battlefield, another target permanent is indestructible for as long as you control CARDNAME. (Effects that say "destroy" don't destroy that permanent. An indestructible creature can't be destroyed by damage.)
SVar:TrigPump:DB$ Pump | ValidTgts$ Permanent.Other | TgtPrompt$ Select another target permanent | KW$ HIDDEN Indestructible | UntilLoseControlOfHost$ True
SVar:TrigPump:AB$ Pump | Cost$ 0 | ValidTgts$ Permanent.Other | TgtPrompt$ Select another target permanent | KW$ HIDDEN Indestructible | UntilLoseControlOfHost$ True
SVar:PlayMain1:TRUE
SVar:Rarity:Rare
SVar:Picture:http://www.wizards.com/global/images/magic/general/aegis_angel.jpg

View File

@@ -2,7 +2,7 @@ Name:Aeolipile
ManaCost:2
Types:Artifact
Text:no text
A:AB$ DealDamage | Cost$ 1 T Sac<1/CARDNAME> | Tgt$ TgtCP | NumDmg$ 2 | SpellDescription$ CARDNAME deals 2 damage to target creature or player.
A:AB$ DealDamage | Cost$ 1 T Sac<1/CARDNAME> | ValidTgts$ Creature,Player | TgtPrompt$ Select target creature or player | NumDmg$ 2 | SpellDescription$ CARDNAME deals 2 damage to target creature or player.
SVar:Rarity:Rare
SVar:Picture:http://www.wizards.com/global/images/magic/general/aeolipile.jpg
SetInfo:FEM|Rare|http://magiccards.info/scans/en/fe/166.jpg

View File

@@ -0,0 +1,9 @@
Name:Aerial Maneuver
ManaCost:1 W
Types:Instant
Text:no text
A:SP$ Pump | Cost$ 1 W | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumAtt$ 1 | NumDef$ 1 | KW$ Flying & First Strike | SpellDescription$ Target creature gets +1/+1 and gains flying and first strike until end of turn.
SVar:Picture:http://www.wizards.com/global/images/magic/general/aerial_maneuver.jpg
SetInfo:GTC|Common|http://magiccards.info/scans/en/gtc/1.jpg
Oracle:Target creature gets +1/+1 and gains flying and first strike until end of turn.
End

View File

@@ -5,9 +5,9 @@ Text:no text
PT:0/5
K:Defender
K:Reach
T:Mode$ Blocks | ValidCard$ Card.Self | ValidBlocked$ Creature | DelayedTrigger$ DelayedTrig | TriggerDescription$ Whenever CARDNAME blocks a creature, return that creature to its owner's hand at end of combat.
T:Mode$ AttackerBlocked | ValidCard$ Creature | ValidBlocker$ Card.Self | DelayedTrigger$ DelayedTrig | TriggerDescription$ Whenever CARDNAME blocks a creature, return that creature to its owner's hand at end of combat.
SVar:DelayedTrig:Mode$ Phase | Phase$ EndCombat | ValidPlayer$ Player | Execute$ TrigBounce | TriggerDescription$ Return blocked creature to its owner's hand at end of combat.
SVar:TrigBounce:AB$ChangeZone | Cost$ 0 | Origin$ Battlefield | Destination$ Hand | Defined$ TriggeredAttacker
SVar:TrigBounce:AB$ ChangeZone | Cost$ 0 | Origin$ Battlefield | Destination$ Hand | Defined$ TriggeredAttacker
SVar:Rarity:Uncommon
SVar:Picture:http://www.wizards.com/global/images/magic/general/aether_membrane.jpg
SetInfo:PLC|Uncommon|http://magiccards.info/scans/en/pc/93.jpg

View File

@@ -0,0 +1,14 @@
Name:AEther Rift
ManaCost:1 R G
Types:Enchantment
Text:no text
T:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ You | Execute$ TrigDiscard | TriggerZones$ Battlefield | TriggerDescription$ At the beginning of your upkeep, discard a card at random. If you discard a creature card this way, return it from your graveyard to the battlefield unless any player pays 5 life.
SVar:TrigDiscard:AB$ Discard | Cost$ 0 | Defined$ You | NumCards$ 1 | Mode$ Random | RememberDiscarded$ True | SubAbility$ DBReturn | SpellDescription$ Discard a card at random. If you discard a creature card this way, return it from your graveyard to the battlefield unless any player pays 5 life.
SVar:DBReturn:DB$ ChangeZoneAll | Cost$ 0 | ChangeType$ Card.IsRemembered | Origin$ Graveyard | Destination$ Battlefield | ConditionDefined$ Remembered | ConditionPresent$ Card.Creature | ConditionCompare$ EQ1 | UnlessCost$ PayLife<5> | UnlessPayer$ Player | SubAbility$ DBCleanup
SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True
SVar:RemAIdeck:True
SVar:Rarity:Rare
SVar:Picture:http://www.wizards.com/global/images/magic/general/aether_rift.jpg
SetInfo:INV|Rare|http://magiccards.info/scans/en/in/227.jpg
Oracle:At the beginning of your upkeep, discard a card at random. If you discard a creature card this way, return it from your graveyard to the battlefield unless any player pays 5 life.
End

View File

@@ -0,0 +1,13 @@
Name:AEther Snap
ManaCost:3 B B
Types:Sorcery
Text:no text
A:SP$ RemoveCounterAll | Cost$ 3 B B | ValidCards$ Permanent | AllCounterTypes$ True | StackDescription$ SpellDescription | SubAbility$ DBRemove | SpellDescription$ Remove all counters from all permanents and exile all tokens.
SVar:DBRemove:DB$ ChangeZoneAll | ChangeType$ Card.token | Origin$ Battlefield | Destination$ Exile
SVar:RemAIDeck:True
SVar:RemRandomDeck:True
SVar:Rarity:Rare
SVar:Picture:http://www.wizards.com/global/images/magic/general/aether_snap.jpg
SetInfo:DST|Rare|http://magiccards.info/scans/en/ds/37.jpg
Oracle:Remove all counters from all permanents and exile all tokens.
End

View File

@@ -0,0 +1,10 @@
Name:AEtherize
ManaCost:3 U
Types:Instant
Text:no text
A:SP$ ChangeZoneAll | Cost$ 3 U | ChangeType$ Creature.attacking | Origin$ Battlefield | Destination$ Hand | SpellDescription$ Return all attacking creatures to their owners' hands.
SVar:Rarity:Uncommon
SVar:Picture:http://www.wizards.com/global/images/magic/general/aetherize.jpg
SetInfo:GTC|Uncommon|http://magiccards.info/scans/en/gtc/29.jpg
Oracle:Return all attacking creatures to their owner's hand.
End

View File

@@ -5,7 +5,7 @@ Text:no text
A:SP$ ChangeZone | Cost$ 3 WU | ValidTgts$ Creature.attacking,Creature.blocking | TgtPrompt$ Select target attacking or blocking creature | Origin$ Battlefield | Destination$ Library | LibraryPosition$ 0 | SpellDescription$ Put target attacking or blocking creature on top of its owner's library.
K:Conspire
T:Mode$ SpellCast | ValidCard$ Card.Self | Conspire$ True | Execute$ Conspire | Secondary$ True | TriggerDescription$ Copy CARDNAME if its conspire cost was paid
SVar:Conspire:AB$ CopySpell | Cost$ 0 | Defined$ TriggeredSpellAbility | Amount$ 1
SVar:Conspire:AB$ CopySpellAbility | Cost$ 0 | Defined$ TriggeredSpellAbility | Amount$ 1
SVar:Rarity:Common
SVar:Picture:http://www.wizards.com/global/images/magic/general/aethertow.jpg
SetInfo:SHM|Common|http://magiccards.info/scans/en/shm/136.jpg

View File

@@ -4,8 +4,10 @@ Types:Creature Human Advisor
Text:no text
PT:2/3
T:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ You | TriggerZones$ Battlefield | Execute$ TrigDrain | TriggerDescription$ At the beginning of your upkeep, each opponent loses 1 life. You gain life equal to the life lost this way.
SVar:TrigDrain:AB$LoseLife | Cost$ 0 | Defined$ Opponent | LifeAmount$ 1 | SubAbility$ DBGainLife
SVar:DBGainLife:DB$GainLife | Defined$ You | LifeAmount$ 1
SVar:TrigDrain:AB$ LoseLife | Cost$ 0 | Defined$ Player.Opponent | LifeAmount$ 1 | SubAbility$ DBGainLife
SVar:DBGainLife:DB$ GainLife | Defined$ You | LifeAmount$ AFLifeLost
SVar:AFLifeLost:Number$0
#AFLifeLost will be set by LoseLife
SVar:Rarity:Uncommon
SVar:Picture:http://www.wizards.com/global/images/magic/general/agent_of_masks.jpg
SetInfo:GPT|Uncommon|http://magiccards.info/scans/en/gp/100.jpg

View File

@@ -0,0 +1,11 @@
Name:Aggravated Assault
ManaCost:2 R
Types:Enchantment
Text:no text
A:AB$ UntapAll | Cost$ 3 R R | ValidCards$ Creature.YouCtrl | SubAbility$ DBAddCombat | SorcerySpeed$ True | SpellDescription$ Untap all creatures you control. After this main phase, there is an additional combat phase followed by an additional main phase. Activate this ability only any time you could cast a sorcery.
SVar:DBAddCombat:DB$ AddPhase | ExtraPhase$ BeginCombat | FollowedBy$ ThisPhase | ConditionPhases$ Main1,Main2
SVar:Rarity:Rare
SVar:Picture:http://www.wizards.com/global/images/magic/general/aggravated_assault.jpg
SetInfo:ONS|Rare|http://magiccards.info/scans/en/on/185.jpg
Oracle:{3}{R}{R}: Untap all creatures you control. After this main phase, there is an additional combat phase followed by an additional main phase. Activate this ability only any time you could cast a sorcery.
End

View File

@@ -0,0 +1,12 @@
Name:Agoraphobia
ManaCost:1 U
Types:Enchantment Aura
Text:no text
K:Enchant creature
A:SP$ Attach | Cost$ 1 U | ValidTgts$ Creature | AILogic$ Curse
S:Mode$ Continuous | Affected$ Creature.EnchantedBy | AddPower$ -5 | Description$ Enchanted creature gets -5/-0.
A:AB$ ChangeZone | Cost$ 2 U | Origin$ Battlefield | Destination$ Hand | SpellDescription$ Return CARDNAME to its owner's hand.
SVar:Picture:http://www.wizards.com/global/images/magic/general/agoraphobia.jpg
SetInfo:GTC|Uncommon|http://magiccards.info/scans/en/gtc/30.jpg
Oracle:Enchant creature\nEnchanted creature gets -5/-0.\n{2}{U}: Return Agoraphobia to its owner's hand.
End

View File

@@ -4,7 +4,7 @@ Types:Enchantment Aura
Text:no text
K:Enchant creature
A:SP$ Attach | Cost$ U | ValidTgts$ Creature | AILogic$ Pump
S:Mode$ Continuous | Affected$ Creature.EnchantedBy | AddKeyword$ Flying | AddHiddenKeyword$ HIDDEN CARDNAME can block only creatures with flying. | Description$ Enchanted creature has flying and can block only creatures with flying.
S:Mode$ Continuous | Affected$ Creature.EnchantedBy | AddKeyword$ Flying | AddHiddenKeyword$ CARDNAME can block only creatures with flying. | Description$ Enchanted creature has flying and can block only creatures with flying.
SVar:Rarity:Common
SVar:Picture:http://www.wizards.com/global/images/magic/general/air_bladder.jpg
SetInfo:NMS|Common|http://magiccards.info/scans/en/ne/28.jpg

View File

@@ -4,7 +4,7 @@ Types:Creature Bird
Text:no text
PT:2/2
K:Flying
A:AB$ DealDamage | Cost$ 1 R Sac<1/Creature.Goblin/Goblin creature> | Tgt$ TgtCP | NumDmg$ X | References$ X | SpellDescription$ CARDNAME deals damage equal to the sacrificed creature's power to target creature or player.
A:AB$ DealDamage | Cost$ 1 R Sac<1/Creature.Goblin/Goblin creature> | ValidTgts$ Creature,Player | TgtPrompt$ Select target creature or player | NumDmg$ X | References$ X | SpellDescription$ CARDNAME deals damage equal to the sacrificed creature's power to target creature or player.
SVar:X:Sacrificed$CardPower
SVar:RemAIDeck:True
SVar:Rarity:Uncommon

View File

@@ -3,10 +3,10 @@ ManaCost:G
Types:Creature Faerie
Text:no text
PT:1/1
T:Mode$ Blocks | ValidCard$ Card.Self | Execute$ TrigAnimate1 | TriggerDescription$ Whenever CARDNAME blocks or becomes blocked by a creature, that creature becomes green. (This effect lasts indefinitely.)
T:Mode$ Blocks | ValidCard$ Creature | ValidBlocked$ Card.Self | Execute$ TrigAnimate2 | Secondary$ True | TriggerDescription$ Whenever CARDNAME blocks or becomes blocked by a creature, that creature becomes green. (This effect lasts indefinitely.)
SVar:TrigAnimate1:AB$Animate | Cost$ 0 | Defined$ TriggeredAttacker | Colors$ Green | Permanent$ True
SVar:TrigAnimate2:AB$Animate | Cost$ 0 | Defined$ TriggeredBlocker | Colors$ Green | Permanent$ True
T:Mode$ AttackerBlocked | ValidCard$ Creature | ValidBlocker$ Card.Self | Execute$ TrigAnimateAttacker | TriggerDescription$ Whenever CARDNAME blocks or becomes blocked by a creature, that creature becomes green. (This effect lasts indefinitely.)
T:Mode$ Blocks | ValidCard$ Creature | ValidBlocked$ Card.Self | Execute$ TrigAnimateBlocker | Secondary$ True | TriggerDescription$ Whenever CARDNAME blocks or becomes blocked by a creature, that creature becomes green. (This effect lasts indefinitely.)
SVar:TrigAnimateAttacker:AB$Animate | Cost$ 0 | Defined$ TriggeredAttacker | Colors$ Green | Permanent$ True
SVar:TrigAnimateBlocker:AB$Animate | Cost$ 0 | Defined$ TriggeredBlocker | Colors$ Green | Permanent$ True
SVar:Rarity:Common
SVar:Picture:http://www.wizards.com/global/images/magic/general/aisling_leprechaun.jpg
SetInfo:LEG|Common|http://magiccards.info/scans/en/lg/87.jpg

View File

@@ -6,7 +6,7 @@ Loyalty:4
A:AB$ GainLife | Cost$ AddCounter<1/LOYALTY> | LifeAmount$ 2 | Planeswalker$ True | SpellDescription$ You gain 2 life.
A:AB$ PutCounterAll | Cost$ SubCounter<1/LOYALTY> | ValidCards$ Creature.YouCtrl | CounterType$ P1P1 | CounterNum$ 1 | Planeswalker$ True | SubAbility$ DBPumpAll | SpellDescription$ Put a +1/+1 counter on each creature you control. Those creatures gain vigilance until end of turn.
SVar:DBPumpAll:DB$ PumpAll | ValidCards$ Creature.YouCtrl | KW$ Vigilance
A:AB$ Token | Cost$ SubCounter<6/LOYALTY> | TokenAmount$ 1 | TokenName$ Avatar | TokenTypes$ Creature,Avatar | TokenOwner$ You | TokenColors$ White | TokenPower$ X | TokenToughness$ X | TokenStaticAbilities$ Static | TokenSVars$ X | Planeswalker$ True | Ultimate$ True | References$ X | SpellDescription$ Put a white Avatar creature token onto the battlefield. It has "This creature's power and toughness are each equal to your life total."
A:AB$ Token | Cost$ SubCounter<6/LOYALTY> | TokenAmount$ 1 | TokenName$ Avatar | TokenTypes$ Creature,Avatar | TokenOwner$ You | TokenColors$ White | TokenPower$ X | TokenToughness$ X | TokenImage$ W N N Avatar | TokenStaticAbilities$ Static | TokenSVars$ X | Planeswalker$ True | Ultimate$ True | References$ X | SpellDescription$ Put a white Avatar creature token onto the battlefield. It has "This creature's power and toughness are each equal to your life total."
SVar:Static:Mode$ Continuous | SetPower$ X | SetToughness$ X | CharacteristicDefining$ True | Description$ This creature's power and toughness are each equal to your life total.
SVar:X:Count$YourLifeTotal
SVar:Rarity:Mythic

View File

@@ -4,7 +4,7 @@ Types:Planeswalker Ajani
Text:no text
Loyalty:3
A:AB$ Pump | Cost$ AddCounter<1/LOYALTY> | Planeswalker$ True | KW$ HIDDEN This card doesn't untap during your next untap step. | ValidTgts$ Permanent | Permanent$ True | IsCurse$ True | SpellDescription$ Target permanent doesn't untap during its controller's next untap step.
A:AB$ DealDamage | Cost$ SubCounter<2/LOYALTY> | Planeswalker$ True | Tgt$ TgtCP | NumDmg$ 3 | SubAbility$ DBGainLife | SpellDescription$ CARDNAME deals 3 damage to target creature or player and you gain 3 life.
A:AB$ DealDamage | Cost$ SubCounter<2/LOYALTY> | Planeswalker$ True | ValidTgts$ Creature,Player | TgtPrompt$ Select target creature or player | NumDmg$ 3 | SubAbility$ DBGainLife | SpellDescription$ CARDNAME deals 3 damage to target creature or player and you gain 3 life.
SVar:DBGainLife:DB$GainLife | LifeAmount$ 3
A:AB$ DestroyAll | Cost$ SubCounter<7/LOYALTY> | Planeswalker$ True | Ultimate$ True | ValidTgts$ Player | TgtPrompt$ Select target player | ValidCards$ Land | SpellDescription$ Destroy all lands target player controls.
SVar:Rarity:Mythic

View File

@@ -4,7 +4,7 @@ Types:Creature Goblin Shaman
Text:no text
PT:1/1
T:Mode$ ChangesZone | Origin$ Battlefield | Destination$ Graveyard | ValidCard$ Card.Self | Execute$ TrigSac | TriggerController$ TriggeredCardController | TriggerDescription$ When CARDNAME is put into a graveyard from the battlefield, each player sacrifices a land.
SVar:TrigSac:AB$Sacrifice | Cost$ 0 | SacValid$ Land | Defined$ Each
SVar:TrigSac:AB$ Sacrifice | Cost$ 0 | SacValid$ Land | Defined$ Each
SVar:Rarity:Common
SVar:Picture:http://www.wizards.com/global/images/magic/general/akki_blizzard_herder.jpg
SetInfo:BOK|Common|http://magiccards.info/scans/en/bok/91.jpg

View File

@@ -4,7 +4,7 @@ Types:Creature Giant Warrior
Text:no text
PT:4/5
T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TrigDealDamage | TriggerDescription$ When CARDNAME enters the battlefield, it deals 1 damage to target creature or player.
SVar:TrigDealDamage:AB$DealDamage | Cost$ 0 | Tgt$ TgtCP | NumDmg$ 1
SVar:TrigDealDamage:AB$DealDamage | Cost$ 0 | ValidTgts$ Creature,Player | TgtPrompt$ Select target creature or player | NumDmg$ 1
SVar:Rarity:Uncommon
SVar:Picture:http://www.wizards.com/global/images/magic/general/akoum_boulderfoot.jpg
SetInfo:ROE|Uncommon|http://magiccards.info/scans/en/roe/134.jpg

View File

@@ -5,6 +5,7 @@ Text:no text
K:Cycling:W
A:SP$ ChooseColor | Cost$ 2 W | Defined$ You | AILogic$ MostProminentAttackers | SubAbility$ DBProtection | SpellDescription$ Choose a color. Creatures you control gain protection from the chosen color until end of turn.
SVar:DBProtection:DB$ ProtectionAll | ValidCards$ Creature.YouCtrl | Gains$ ChosenColor
SVar:RemAIDeck:True
SVar:Rarity:Uncommon
SVar:Picture:http://www.wizards.com/global/images/magic/general/akromas_blessing.jpg
SetInfo:ONS|Uncommon|http://magiccards.info/scans/en/on/1.jpg

View File

@@ -3,7 +3,7 @@ ManaCost:6 W W
Types:Creature Giant Soldier
Text:no text
PT:8/4
S:Mode$ Continuous | Affected$ Creature.YouCtrl+nonArtifact+notnamedAkron Legionnaire | AddHiddenKeyword$ HIDDEN CARDNAME can't attack. | Description$ Except for creatures named CARDNAME and artifact creatures, creatures you control can't attack.
S:Mode$ Continuous | Affected$ Creature.YouCtrl+nonArtifact+notnamedAkron Legionnaire | AddHiddenKeyword$ CARDNAME can't attack. | Description$ Except for creatures named CARDNAME and artifact creatures, creatures you control can't attack.
SVar:Rarity:Rare
SVar:Picture:http://www.wizards.com/global/images/magic/general/akron_legionnaire.jpg
Oracle:Except for creatures named Akron Legionnaire and artifact creatures, creatures you control can't attack.

View File

@@ -5,7 +5,7 @@ Text:no text
PT:5/6
K:Trample
T:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ You | TriggerZones$ Battlefield | Execute$ TrigPutCounterAll | TriggerDescription$ At the beginning of your upkeep, put a +1/+1 counter on each creature each opponent controls.
SVar:TrigPutCounterAll:AB$PutCounterAll | Cost$ 0 | ValidCards$ Creature.OppCtrl | CounterType$ P1P1 | CounterNum$ 1
SVar:TrigPutCounterAll:AB$ PutCounterAll | Cost$ 0 | ValidCards$ Creature.OppCtrl | CounterType$ P1P1 | CounterNum$ 1
SVar:Rarity:Rare
SVar:Picture:http://www.wizards.com/global/images/magic/general/aku_djinn.jpg
SetInfo:VIS|Rare|http://magiccards.info/scans/en/vi/1.jpg

View File

@@ -4,9 +4,10 @@ Types:Legendary Creature Spirit
Text:no text
PT:3/2
K:Haste
T:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ You | IsPresent$ Card | PresentZone$ Hand | PresentPlayer$ Opponent | PresentCompare$ LTX | TriggerZones$ Graveyard | Execute$ TrigReturn | TriggerDescription$ At the beginning of your upkeep, if you have more cards in hand than each opponent, you may sacrifice a Swamp. If you do, return CARDNAME from your graveyard to the battlefield.
SVar:TrigReturn:AB$ChangeZone | Cost$ Sac<1/Swamp> | Defined$ Self | Origin$ Graveyard | Destination$ Battlefield
T:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ You | CheckSVar$ X | SVarCompare$ GTY | References$ X,Y | TriggerZones$ Graveyard | Execute$ TrigReturn | TriggerDescription$ At the beginning of your upkeep, if you have more cards in hand than each opponent, you may sacrifice a Swamp. If you do, return CARDNAME from your graveyard to the battlefield.
SVar:TrigReturn:AB$ ChangeZone | Cost$ Sac<1/Swamp> | Defined$ Self | Origin$ Graveyard | Destination$ Battlefield
SVar:X:Count$InYourHand
SVar:Y:PlayerCountOpponents$HighestCardsInHand
SVar:Rarity:Rare
SVar:Picture:http://www.wizards.com/global/images/magic/general/akuta_born_of_ash.jpg
SetInfo:SOK|Rare|http://magiccards.info/scans/en/sok/61.jpg

View File

@@ -3,7 +3,7 @@ ManaCost:5
Types:Artifact
Text:no text
A:AB$ Effect | Cost$ 5 T | Name$ Al-abara's Carpet Effect | StaticAbilities$ STPrevent | SpellDescription$ Prevent all damage that would be dealt to you this turn by attacking creatures without flying.
SVar:STPrevent:Mode$ PreventDamage | Target$ You | Source$ Creature.attacking+withoutFlying | Description$ Prevent all damage that would be dealt to you this turn by attacking creatures without flying.
SVar:STPrevent:Mode$ PreventDamage | EffectZone$ Command | Target$ You | Source$ Creature.attacking+withoutFlying | Description$ Prevent all damage that would be dealt to you this turn by attacking creatures without flying.
SVar:RemAIDeck:True
SVar:Rarity:Rare
SVar:Picture:http://www.wizards.com/global/images/magic/general/al_abaras_carpet.jpg

View File

@@ -3,7 +3,7 @@ ManaCost:W
Types:Creature Human Soldier
Text:no text
PT:1/1
T:Mode$ Blocks | ValidCard$ Card.Self | ValidAttacker$ Creature | Execute$ TrigDestroy | TriggerDescription$ When CARDNAME blocks a creature, destroy that creature and CARDNAME.
T:Mode$ AttackerBlocked | ValidCard$ Creature | ValidBlocker$ Card.Self | Execute$ TrigDestroy | TriggerDescription$ When CARDNAME blocks a creature, destroy that creature and CARDNAME.
SVar:TrigDestroy:AB$Destroy | Cost$ 0 | Defined$ TriggeredAttacker | SubAbility$ DestroySelf
SVar:DestroySelf:DB$Destroy | Cost$ 0 | Defined$ Self
SVar:Rarity:Uncommon

View File

@@ -0,0 +1,21 @@
Name:Aladdin's Lamp
ManaCost:10
Types:Artifact
Text:no text
A:AB$ StoreSVar | Cost$ XCantBe0 X T | SVar$ DigNum | Type$ Count | Expression$ xPaid | SubAbility$ TheMagic | SpellDescription$ The next time you would draw a card this turn, instead look at the top X cards of your library, put all but one of them on the bottom of your library in a random order, then draw a card. X can't be 0.
SVar:TheMagic:DB$ Effect | Name$ Aladdin's Wish | ReplacementEffects$ DrawReplace | SVars$ ExileEffect,AladdinDraw,DBDraw,DigNum,AllButOne
SVar:DrawReplace:Event$ Draw | ValidPlayer$ You | ReplaceWith$ AladdinDraw | Description$ The next time you would draw a card this turn, instead look at the top X cards of your library, put all but one of them on the bottom of your library in a random order, then draw a card.
SVar:AladdinDraw:AB$ Dig | Cost$ 0 | DigNum$ DigNum | ChangeNum$ AllButOne | RandomOrder$ True | DestinationZone$ Library | LibraryPosition$ -1 | DestinationZone2$ Library | LibraryPosition2$ 0 | SubAbility$ DBDraw
SVar:DBDraw:DB$ Draw | NumCards$ 1 | SubAbility$ ExileEffect
SVar:ExileEffect:DB$ ChangeZone | Defined$ Self | Origin$ Battlefield | Destination$ Exile
SVar:X:Count$xPaid
SVar:DigNum:Number$0
SVar:AIPlayForSub:True
SVar:RemAIDeck:True
SVar:Rarity:Rare
SVar:Picture:http://www.wizards.com/global/images/magic/general/aladdins_lamp.jpg
SetInfo:3ED|Rare|http://magiccards.info/scans/en/rv/231.jpg
SetInfo:4ED|Rare|http://magiccards.info/scans/en/4e/309.jpg
SetInfo:ARN|Uncommon|http://magiccards.info/scans/en/an/70.jpg
Oracle:{X}, {T}: The next time you would draw a card this turn, instead look at the top X cards of your library, put all but one of them on the bottom of your library in a random order, then draw a card. X can't be 0.
End

View File

@@ -2,7 +2,7 @@ Name:Aladdin's Ring
ManaCost:8
Types:Artifact
Text:no text
A:AB$ DealDamage | Cost$ 8 T | Tgt$ TgtCP | NumDmg$ 4 | SpellDescription$ CARDNAME deals 4 damage to target creature or player.
A:AB$ DealDamage | Cost$ 8 T | ValidTgts$ Creature,Player | TgtPrompt$ Select target creature or player | NumDmg$ 4 | SpellDescription$ CARDNAME deals 4 damage to target creature or player.
SVar:Rarity:Rare
SVar:Picture:http://www.wizards.com/global/images/magic/general/aladdins_ring.jpg
SetInfo:8ED|Rare|http://magiccards.info/scans/en/8e/291.jpg

View File

@@ -4,7 +4,7 @@ Types:Land
Text:no text
A:AB$ Mana | Cost$ T | Produced$ 1 | SpellDescription$ Add 1 to your mana pool.
A:AB$ Effect | Cost$ U G T | Name$ Refuge Effect | StaticAbilities$ QuickSpell | SpellDescription$ Until end of turn, you may cast nonland cards as though they had flash.
SVar:QuickSpell:Mode$ Continuous | Affected$ You | AddKeyword$ You may cast nonland cards as though they had flash. | Description$ You may cast nonland cards as though they had flash.
SVar:QuickSpell:Mode$ Continuous | EffectZone$ Command | Affected$ You | AddKeyword$ You may cast nonland cards as though they had flash. | Description$ You may cast nonland cards as though they had flash.
SVar:PlayMain1:TRUE
SVar:RemRandomDeck:True
SVar:RemAIDeck:True

View File

@@ -3,7 +3,7 @@ ManaCost:2 R R
Types:Creature Human
Text:no text
PT:0/1
K:Damage that would reduce your life total to less than 1 reduces it to 1 instead.
S:Mode$ Continuous | Affected$ You | AddKeyword$ Damage that would reduce your life total to less than 1 reduces it to 1 instead. | Description$ Damage that would reduce your life total to less than 1 reduces it to 1 instead.
SVar:Rarity:Uncommon
SVar:Picture:http://www.wizards.com/global/images/magic/general/ali_from_cairo.jpg
SetInfo:ARN|Uncommon|http://magiccards.info/scans/en/an/44.jpg

View File

@@ -7,8 +7,8 @@ T:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ You | IsPresent$ Card.Self+counters
T:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ You | IsPresent$ Card.Self+counters_EQ0_SCREAM | PresentZone$ Exile | Execute$ TrigMoveToGraveyard | TriggerZones$ Exile | Secondary$ True | TriggerDescription$ Put CARDNAME into your graveyard and return all creatures to the battlefield.
SVar:TrigRemoveCounter:AB$ RemoveCounter | Cost$ 0 | Defined$ Self | CounterType$ SCREAM | CounterNum$ 1
SVar:TrigMoveToGraveyard:AB$ ChangeZone | Cost$ 0 | Origin$ Exile | Destination$ Graveyard | Defined$ Self | SubAbility$ DBResurrection
SVar:DBResurrection:DB$ChangeZoneAll | Origin$ Graveyard | Destination$ Battlefield | ChangeType$ Creature
SVar:DBPutCounter:DB$PutCounter | Defined$ Remembered | CounterType$ SCREAM | CounterNum$ 2
SVar:DBResurrection:DB$ ChangeZoneAll | Origin$ Graveyard | Destination$ Battlefield | ChangeType$ Creature
SVar:DBPutCounter:DB$ PutCounter | Defined$ Remembered | CounterType$ SCREAM | CounterNum$ 2
SVar:Rarity:Rare
SVar:Picture:http://www.wizards.com/global/images/magic/general/all_hallows_eve.jpg
SetInfo:LEG|Rare|http://magiccards.info/scans/en/lg/2.jpg

View File

@@ -0,0 +1,13 @@
Name:All Shall Smolder in My Wake
ManaCost:no cost
Types:Scheme
Text:no text
T:Mode$ SetInMotion | ValidCard$ Card.Self | Execute$ Ignite | TriggerZones$ Command | TriggerDescription$ When you set this scheme in motion, destroy up to one target artifact, up to one target enchantment, and up to one target nonbasic land.
SVar:Ignite:AB$ Destroy | Cost$ 0 | TargetMin$ 0 | TargetMax$ 1 | ValidTgts$ Artifact | TgtPrompt$ Select target artifact to destroy | SubAbility$ Burn
SVar:Burn:DB$ Destroy | TargetMin$ 0 | TargetMax$ 1 | ValidTgts$ Enchantment | TgtPrompt$ Select target enchantment to destroy | SubAbility$ Smolder
SVar:Smolder:DB$ Destroy | TargetMin$ 0 | TargetMax$ 1 | ValidTgts$ Land.nonBasic | TgtPrompt$ Select target nonbasic land to destroy
SVar:Rarity:Common
SVar:Picture:http://www.cardforge.org/fpics/lq_schemes/all_shall_smolder_in_my_wake.jpg
SetInfo:ARC|Common|http://magiccards.info/extras/scheme/archenemy/all-shall-smolder-in-my-wake.jpg
Oracle:When you set this scheme in motion, destroy up to one target artifact, up to one target enchantment, and up to one target nonbasic land.
End

View File

@@ -3,8 +3,8 @@ ManaCost:6
Types:Artifact Creature Golem
Text:no text
PT:4/4
T:Mode$ ChangesZone | ValidCard$ Card.Self | Origin$ Any | Destination$ Battlefield | Execute$ ChooseColor | Static$ True | TriggerDescription$ As CARDNAME enters the battlefield, choose a color.
SVar:ChooseColor:AB$ ChooseColor | Cost$ 0 | Defined$ You
K:ETBReplacement:Other:ChooseColor
SVar:ChooseColor:DB$ ChooseColor | Defined$ You | SpellDescription$ As CARDNAME enters the battlefield, choose a color.
S:Mode$ Continuous| Affected$ Card.Self | SetColor$ ChosenColor | Description$ CARDNAME is the chosen color. (It's still an artifact.)
SVar:Rarity:Uncommon
SVar:Picture:http://www.wizards.com/global/images/magic/general/alloy_golem.jpg

View File

@@ -0,0 +1,11 @@
Name:Alms Beast
ManaCost:2 W B
Types:Creature Beast
Text:no text
PT:6/6
S:Mode$ Continuous | Affected$ Creature.blockedBySource,Creature.blockingSource | AddKeyword$ Lifelink | Description$ Creatures blocking or blocked by CARDNAME have lifelink.
SVar:Rarity:Rare
SVar:Picture:http://www.wizards.com/global/images/magic/general/alms_beast.jpg
SetInfo:GTC|Rare|http://magiccards.info/scans/en/gtc/141.jpg
Oracle:Creatures blocking or blocked by Alms Beast have lifelink.
End

View File

@@ -0,0 +1,12 @@
Name:Alpha Authority
ManaCost:1 G
Types:Enchantment Aura
Text:no text
K:Enchant creature
A:SP$ Attach | Cost$ 1 G | ValidTgts$ Creature | AILogic$ Pump
S:Mode$ Continuous | Affected$ Creature.EnchantedBy | AddKeyword$ Hexproof | AddHiddenKeyword$ CARDNAME can't be blocked by more than one creature. | Description$ Enchanted creature has hexproof and can't be blocked by more than one creature.
SVar:Rarity:Uncommon
SVar:Picture:http://www.wizards.com/global/images/magic/general/alpha_authority.jpg
SetInfo:GTC|Uncommon|http://magiccards.info/scans/en/gtc/114.jpg
Oracle:Enchant creature\nEnchanted creature has hexproof and can't be blocked by more than one creature.
End

View File

@@ -1,8 +1,12 @@
Name:Alpha Status
ManaCost:2 G
Types:Enchantment Aura
Text:Enchant Creature \r\nEnchanted creatures gets +2/+2 for each other creature on the battlefield that shares a creature type with it.
A:SP$Attach | Cost$ 2 G | ValidTgts$ Creature | AILogic$ Pump
Text:no text
K:Enchant Creature
A:SP$ Attach | Cost$ 2 G | ValidTgts$ Creature | AILogic$ Pump
S:Mode$ Continuous | Affected$ Creature.EnchantedBy | AddPower$ AffectedX | AddToughness$ AffectedX | References$ AffectedX | EffectZone$ Battlefield | Description$ Enchanted creature gets +2/+2 for each other creature on the battlefield that shares a creature type with it.
SVar:AffectedX:Count$Valid Creature.sharesCreatureTypeWith+Other/Times.2
SVar:PlayMain1:TRUE
SVar:RemRandomDeck:True
SVar:Rarity:Uncommon
SVar:Picture:http://www.wizards.com/global/images/magic/general/alpha_status.jpg

View File

@@ -2,7 +2,7 @@ Name:Aluren
ManaCost:2 G G
Types:Enchantment
Text:no text
S:Mode$ Continuous | Affected$ Creature.cmcLE3 | AddHiddenKeyword$ HIDDEN May be played without paying its mana cost and as though it has flash | AffectedZone$ Hand,Graveyard,Exile | Description$ Any player may play creature cards with converted mana cost 3 or less without paying their mana cost and as though they had flash.
S:Mode$ Continuous | Affected$ Creature.cmcLE3 | AddHiddenKeyword$ May be played without paying its mana cost and as though it has flash | AffectedZone$ Hand,Graveyard,Exile | Description$ Any player may play creature cards with converted mana cost 3 or less without paying their mana cost and as though they had flash.
SVar:RemRandomDeck:True
SVar:Rarity:Rare
SVar:Picture:http://www.wizards.com/global/images/magic/general/aluren.jpg

View File

@@ -5,7 +5,7 @@ Text:no text
K:You may choose not to untap CARDNAME during your untap step.
A:AB$ Pump | Cost$ 4 T | ValidTgts$ Artifact,Creature,Land | TgtPrompt$ Select target artifact, creature, or land | RememberTargets$ True | SubAbility$ DBTap | SpellDescription$ Tap target artifact, creature, or land. That permanent doesn't untap during its controller's untap step for as long as CARDNAME remains tapped.
SVar:DBTap:DB$ Tap | Cost$ 0 | Defined$ Targeted
S:Mode$ Continuous | Affected$ Card.IsRemembered | AddHiddenKeyword$ HIDDEN This card doesn't untap during your next untap step.
S:Mode$ Continuous | Affected$ Card.IsRemembered | AddHiddenKeyword$ This card doesn't untap during your next untap step.
T:Mode$ Untaps | ValidCard$ Card.Self | TriggerZones$ Battlefield | Execute$ TrigClearRemember | Static$ True
SVar:TrigClearRemember:DB$Cleanup | ClearRemembered$ True
SVar:RemAIDeck:True

View File

@@ -4,7 +4,7 @@ Types:Creature Elf
Text:no text
PT:2/2
S:Mode$ Continuous | Affected$ Forest.YouCtrl | SetPower$ 1 | SetToughness$ 1 | AddType$ Creature & Elf | SetColor$ Green | Description$ Forests you control are 1/1 green Elf creatures that are still lands.
A:AB$Pump | Cost$ 1 G Sac<1/Elf> | Tgt$ TgtC | NumAtt$ 3 | NumDef$ 3 | SpellDescription$ Target creature gets +3/+3 until end of turn.
A:AB$Pump | Cost$ 1 G Sac<1/Elf> | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumAtt$ 3 | NumDef$ 3 | SpellDescription$ Target creature gets +3/+3 until end of turn.
SVar:Rarity:Rare
SVar:Picture:http://www.wizards.com/global/images/magic/general/ambush_commander.jpg
SetInfo:SCG|Rare|http://magiccards.info/scans/en/sc/111.jpg

View File

@@ -2,9 +2,9 @@ Name:An-Zerrin Ruins
ManaCost:2 R R
Types:Enchantment
Text:no text
T:Mode$ ChangesZone | ValidCard$ Card.Self | Origin$ Any | Destination$ Battlefield | Execute$ ChooseCT | Static$ True | TriggerDescription$ As CARDNAME enters the battlefield, choose a creature type.
SVar:ChooseCT:AB$ ChooseType | Cost$ 0 | Defined$ You | Type$ Creature | AILogic$ MostProminentHumanControls
S:Mode$ Continuous | Affected$ Creature.ChosenType | AddHiddenKeyword$ HIDDEN CARDNAME doesn't untap during your untap step. | Description$ Creatures of the chosen type don't untap during their controllers' untap steps.
K:ETBReplacement:Other:ChooseCT
SVar:ChooseCT:DB$ ChooseType | Defined$ You | Type$ Creature | AILogic$ MostProminentHumanControls | SpellDescription$ As CARDNAME enters the battlefield, choose a creature type.
S:Mode$ Continuous | Affected$ Creature.ChosenType | AddHiddenKeyword$ CARDNAME doesn't untap during your untap step. | Description$ Creatures of the chosen type don't untap during their controllers' untap steps.
SVar:RemRandomDeck:True
SVar:Rarity:Rare
SVar:Picture:http://www.wizards.com/global/images/magic/general/an_zerrin_ruins.jpg

View File

@@ -3,7 +3,7 @@ ManaCost:3 R
Types:Creature Minotaur Shaman
Text:no text
PT:2/2
A:AB$ DealDamage | Cost$ R T | Tgt$ TgtCP | NumDmg$ 1 | SpellDescription$ CARDNAME deals 1 damage to target creature or player.
A:AB$ DealDamage | Cost$ R T | ValidTgts$ Creature,Player | TgtPrompt$ Select target creature or player | NumDmg$ 1 | SpellDescription$ CARDNAME deals 1 damage to target creature or player.
SVar:Rarity:Common
SVar:Picture:http://www.wizards.com/global/images/magic/general/anaba_shaman.jpg
SetInfo:HML|Common|http://magiccards.info/scans/en/hl/84.jpg|2

View File

@@ -6,6 +6,7 @@ A:SP$ Draw | Cost$ 3 B | NumCards$ 3 | SpellDescription$ You draw three cards an
SVar:DB:DB$LoseLife | LifeAmount$ 3
SVar:Rarity:Rare
SVar:Picture:http://serv4.tcgimages.eu/img/cards/Portal_Second_Age/ancient_craving.jpg
SetInfo:S99|Rare|http://magiccards.info/scans/en/st/64.jpg
SetInfo:PO2|Rare|http://magiccards.info/scans/en/po2/2.jpg
Oracle:You draw three cards and you lose 3 life.
End

View File

@@ -4,7 +4,7 @@ Types:Creature Hydra
Text:no text
PT:5/1
K:Fading:5
A:AB$ DealDamage | Cost$ 1 SubCounter<1/FADE> | Tgt$ TgtCP | NumDmg$ 1 | SpellDescription$ CARDNAME deals 1 damage to target creature or player.
A:AB$ DealDamage | Cost$ 1 SubCounter<1/FADE> | ValidTgts$ Creature,Player | TgtPrompt$ Select target creature or player | NumDmg$ 1 | SpellDescription$ CARDNAME deals 1 damage to target creature or player.
SVar:Rarity:Uncommon
SVar:Picture:http://www.wizards.com/global/images/magic/general/ancient_hydra.jpg
SetInfo:NMS|Uncommon|http://magiccards.info/scans/en/ne/76.jpg

View File

@@ -4,9 +4,10 @@ Types:Creature Angel
Text:no text
PT:5/6
K:Flying
S:Mode$ Continuous | Affected$ Creature.YouDontCtrl | AddHiddenKeyword$ HIDDEN CARDNAME can't attack. | CheckSVar$ X | SVarCompare$ GE1 | Description$ Each opponent who cast a spell this turn can't attack with creatures.
S:Mode$ Continuous | Affected$ Creature.YouDontCtrl | AddHiddenKeyword$ CARDNAME can't attack. | CheckSVar$ X | SVarCompare$ GE1 | Description$ Each opponent who cast a spell this turn can't attack with creatures.
S:Mode$ CantBeCast | ValidCard$ Card | Caster$ Opponent | OpponentAttackedWithCreatureThisTurn$ True | Description$ Each opponent who attacked with a creature this turn can't cast spells.
SVar:X:Count$ThisTurnCast_Card.YouDontCtrl
SVar:RemMultiplayer:True
SVar:Rarity:Rare
SVar:Picture:http://www.wizards.com/global/images/magic/general/angelic_arbiter.jpg
SetInfo:M11|Rare|http://magiccards.info/scans/en/m11/4.jpg

View File

@@ -0,0 +1,10 @@
Name:Angelic Edict
ManaCost:4 W
Types:Sorcery
Text:no text
A:SP$ ChangeZone | Cost$ 4 W | ValidTgts$ Creature,Enchantment | TgtPrompt$ Select target creature or enchantment | Origin$ Battlefield | Destination$ Exile | SpellDescription$ Exile target creature or enchantment.
SVar:Rarity:Common
SVar:Picture:http://www.wizards.com/global/images/magic/general/angelic_edict.jpg
SetInfo:GTC|Common|http://magiccards.info/scans/en/gtc/2.jpg
Oracle:Exile target creature or enchantment.
End

View File

@@ -3,7 +3,7 @@ ManaCost:3 W
Types:Instant
Text:no text
A:SP$ Token | Cost$ tapXType<1/Creature> | TokenAmount$ 1 | TokenName$ Angel | TokenTypes$ Creature,Angel | TokenOwner$ You | TokenColors$ White | TokenPower$ 4 | TokenToughness$ 4 | TokenKeywords$ Flying<>HIDDEN At the beginning of the end step, exile CARDNAME. | ActivationPhases$ BeginCombat->EndCombat | IsPresent$ Plains.YouCtrl | CostDesc$ If you control a Plains, | SpellDescription$ you may tap an untapped creature you control rather than pay CARDNAME's mana cost.
A:SP$ Token | Cost$ 3 W | TokenAmount$ 1 | TokenName$ Angel | TokenTypes$ Creature,Angel | TokenOwner$ You | TokenColors$ White | TokenPower$ 4 | TokenToughness$ 4 | TokenKeywords$ Flying<>HIDDEN At the beginning of the end step, exile CARDNAME. | ActivationPhases$ BeginCombat->EndCombat | SpellDescription$ Cast CARDNAME only during combat. Put a 4/4 white Angel creature token with flying onto the battlefield. Exile it at the beginning of the next end step.
A:SP$ Token | Cost$ 3 W | TokenAmount$ 1 | TokenName$ Angel | TokenTypes$ Creature,Angel | TokenOwner$ You | TokenColors$ White | TokenPower$ 4 | TokenToughness$ 4 | TokenKeywords$ Flying | TokenHiddenKeywords$ At the beginning of the end step, exile CARDNAME. | ActivationPhases$ BeginCombat->EndCombat | SpellDescription$ Cast CARDNAME only during combat. Put a 4/4 white Angel creature token with flying onto the battlefield. Exile it at the beginning of the next end step.
SVar:RemAIDeck:True
SVar:Rarity:Uncommon
SVar:Picture:http://www.wizards.com/global/images/magic/general/angelic_favor.jpg

View File

@@ -0,0 +1,16 @@
Name:Angelic Skirmisher
ManaCost:4 W W
Types:Creature Angel
Text:no text
PT:4/4
K:Flying
T:Mode$ Phase | Phase$ BeginCombat | TriggerZones$ Battlefield | Execute$ TrigChoose | TriggerDescription$ At the beginning of each combat, choose first strike, vigilance or lifelink. Creatures you control gain that ability until end of turn.
SVar:TrigChoose:AB$ GenericChoice | Cost$ 0 | Choices$ PumpFirstStrike,PumpVigilance,PumpLifelink | Defined$ You
SVar:PumpFirstStrike:DB$ PumpAll | ValidCards$ Creature.YouCtrl | KW$ First Strike | ChoiceDescription$ First strike
SVar:PumpVigilance:DB$ PumpAll | ValidCards$ Creature.YouCtrl | KW$ Vigilance | ChoiceDescription$ Vigilance
SVar:PumpLifelink:DB$ PumpAll | ValidCards$ Creature.YouCtrl | KW$ Lifelink | ChoiceDescription$ Lifelink
SVar:Rarity:Rare
SVar:Picture:http://www.wizards.com/global/images/magic/general/angelic_skirmisher.jpg
SetInfo:GTC|Rare|http://magiccards.info/scans/en/gtc/3.jpg
Oracle:Flying\nAt the beginning of each combat, choose first strike, vigilance, or lifelink. Creatures you control gain that ability until end of turn.
End

View File

@@ -3,10 +3,8 @@ ManaCost:W
Types:Instant
Text:no text
K:Split second
A:SP$ Effect | Cost$ W | Name$ Angel's Grace Effect | Keywords$ AliFromCairo | StaticAbilities$ STCantLose,STOppsCantWin | AILogic$ Fog | SpellDescription$ You can't lose the game this turn and your opponents can't win the game this turn. Until end of turn, damage that would reduce your life total to less than 1 reduces it to 1 instead.
SVar:STCantLose:Mode$ Continuous | Affected$ You | AddKeyword$ You can't lose the game. | Description$ You can't lose the game.
SVar:STOppsCantWin:Mode$ Continuous | Affected$ You | AddKeyword$ Your opponents can't win the game. | Description$ Your opponents can't win the game.
SVar:AliFromCairo:Damage that would reduce your life total to less than 1 reduces it to 1 instead.
A:SP$ Effect | Cost$ W | Name$ Angel's Grace Effect | StaticAbilities$ STCantLose | AILogic$ Fog | SpellDescription$ You can't lose the game this turn and your opponents can't win the game this turn. Until end of turn, damage that would reduce your life total to less than 1 reduces it to 1 instead.
SVar:STCantLose:Mode$ Continuous | EffectZone$ Command | Affected$ You | AddKeyword$ You can't lose the game. & Your opponents can't win the game. & Damage that would reduce your life total to less than 1 reduces it to 1 instead. | Description$ You can't lose the game. Your opponents can't win the game. Damage that would reduce your life total to less than 1 reduces it to 1 instead.
SVar:Rarity:Rare
SVar:Picture:http://www.wizards.com/global/images/magic/general/angels_grace.jpg
SetInfo:TSP|Rare|http://magiccards.info/scans/en/ts/3.jpg

View File

@@ -2,7 +2,7 @@ Name:Angel's Trumpet
ManaCost:3
Types:Artifact
Text:no text
S:Mode$ Continuous | Affected$ Creature | AddHiddenKeyword$ Vigilance | Description$ All creatures have vigilance.
S:Mode$ Continuous | Affected$ Creature | AddKeyword$ Vigilance | Description$ All creatures have vigilance.
T:Mode$ Phase | Phase$ End of Turn | ValidPlayer$ Player | Execute$ TrigTapAll | TriggerZones$ Battlefield | TriggerDescription$ At the beginning of each player's end step, tap all untapped creatures that player controls that didn't attack this turn. CARDNAME deals damage to the player equal to the number of creatures tapped this way.
SVar:TrigTapAll:AB$ TapAll | Cost$ 0 | ValidCards$ Creature.untapped+notAttackedThisTurn+ActivePlayerCtrl | RememberTapped$ True | SubAbility$ DBDamage
SVar:DBDamage:DB$ DealDamage | Defined$ TriggeredPlayer | NumDmg$ AngelDamage | SubAbility$ DBCleanup | References$ AngelDamage

View File

@@ -4,9 +4,9 @@ Types:Creature Human
Text:no text
PT:2+*/2+*
K:Trample
S:Mode$ Continuous | EffectZone$ All | CharacteristicDefining$ True | SetPower$ X | SetToughness$ X | PlayerTurn$ True | Description$ As long as it's your turn, CARDNAME's power and toughness are each equal to 2 plus the number of Swamps your opponents control. As long as it's not your turn, CARDNAME's power and toughness are each 2.
S:Mode$ Continuous | EffectZone$ All | CharacteristicDefining$ True | SetPower$ X | SetToughness$ X | Condition$ PlayerTurn | Description$ As long as it's your turn, CARDNAME's power and toughness are each equal to 2 plus the number of Swamps your opponents control. As long as it's not your turn, CARDNAME's power and toughness are each 2.
SVar:X:Count$Valid Swamp.OppCtrl/Plus.2
S:Mode$ Continuous | EffectZone$ All | CharacteristicDefining$ True | SetPower$ 2 | SetToughness$ 2 | OpponentTurn$ True
S:Mode$ Continuous | EffectZone$ All | CharacteristicDefining$ True | SetPower$ 2 | SetToughness$ 2 | Condition$ NotPlayerTurn
SVar:RemRandomDeck:True
SVar:Rarity:Uncommon
SVar:Picture:http://www.wizards.com/global/images/magic/general/angry_mob.jpg

View File

@@ -1,7 +1,16 @@
Name:Animate Dead
ManaCost:1 B
Types:Enchantment Aura
Text:Enchant creature card in a graveyard\r\nWhen Animate Dead enters the battlefield, if it's on the battlefield, it loses "enchant creature card in a graveyard" and gains "enchant creature put onto the battlefield with Animate Dead." Return enchanted creature card to the battlefield under your control and attach Animate Dead to it. When Animate Dead leaves the battlefield, that creature's controller sacrifices it.
Text:no text
K:Enchant creature card in a graveyard
A:SP$ Attach | Cost$ 1 B | ValidTgts$ Creature | TgtZone$ Graveyard | AILogic$ Reanimate
T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ TrigReanimate | TriggerDescription$ When CARDNAME enters the battlefield, if it's on the battlefield, it loses "enchant creature card in a graveyard" and gains "enchant creature put onto the battlefield with CARDNAME." Return enchanted creature card to the battlefield under your control and attach CARDNAME to it.
SVar:TrigReanimate:DB$ ChangeZone | Origin$ Graveyard | Destination$ Battlefield | Defined$ Enchanted | RememberChanged$ True | GainControl$ True | SubAbility$ DBAnimate
SVar:DBAnimate:DB$ Animate | Defined$ Self | OverwriteSpells$ True | Abilities$ NewAttach | Keywords$ Enchant creature put onto the battlefield with CARDNAME | RemoveKeywords$ Enchant creature card in a graveyard | Permanent$ True | SubAbility$ DBAttach
SVar:DBAttach:DB$ Attach | Defined$ Remembered
SVar:NewAttach:SP$ Attach | Cost$ 1 B | ValidTgts$ Creature.IsRemembered | AILogic$ Pump
T:Mode$ ChangesZone | Origin$ Battlefield | Destination$ Any | ValidCard$ Card.Self | Execute$ TrigSacrifice | TriggerDescription$ When Animate Dead leaves the battlefield, that creature's controller sacrifices it.
SVar:TrigSacrifice:DB$ Destroy | Sacrifice$ True | Defined$ Remembered
S:Mode$ Continuous | Affected$ Creature.EnchantedBy | AddPower$ -1 | Description$ Enchanted creature gets -1/-0.
SVar:Rarity:Uncommon
SVar:Picture:http://resources.wizards.com/magic/cards/5e/en-us/card3823.jpg

View File

@@ -4,7 +4,7 @@ Types:Enchantment Aura
Text:no text
K:Enchant Wall
A:SP$ Attach | Cost$ W | ValidTgts$ Wall | AILogic$ Pump
S:Mode$ Continuous | Affected$ Card.EnchantedBy | AddHiddenKeyword$ HIDDEN CARDNAME can attack as though it didn't have defender. | Description$ Enchanted Wall can attack as though it didn't have defender.
S:Mode$ Continuous | Affected$ Card.EnchantedBy | AddHiddenKeyword$ CARDNAME can attack as though it didn't have defender. | Description$ Enchanted Wall can attack as though it didn't have defender.
SVar:RemRandomDeck:True
SVar:Rarity:Uncommon
SVar:Picture:http://www.wizards.com/global/images/magic/general/animate_wall.jpg

View File

@@ -2,7 +2,7 @@ Name:Annihilating Fire
ManaCost:1 R R
Types:Instant
Text:no text
A:SP$ DealDamage | Cost$ 1 R R | Tgt$ TgtCP | NumDmg$ 3 | SubAbility$ Annihilate | SpellDescription$ CARDNAME deals 3 damage to target creature or player. If a creature dealt damage this way would die this turn, exile it instead.
A:SP$ DealDamage | Cost$ 1 R R | ValidTgts$ Creature,Player | TgtPrompt$ Select target creature or player | NumDmg$ 3 | SubAbility$ Annihilate | SpellDescription$ CARDNAME deals 3 damage to target creature or player. If a creature dealt damage this way would die this turn, exile it instead.
SVar:Annihilate:DB$ Pump | KW$ HIDDEN If CARDNAME would be put into a graveyard, exile it instead. | Defined$ Targeted
SVar:Rarity:Common
SVar:Picture:http://www.wizards.com/global/images/magic/general/annihilating_fire.jpg

View File

@@ -2,13 +2,11 @@ Name:Antagonism
ManaCost:3 R
Types:Enchantment
Text:no text
T:Mode$ Phase | Phase$ End of Turn | ValidPlayer$ You | Execute$ TeaseYou | TriggerZones$ Battlefield | TriggerDescription$ At the beginning of each player's end step, CARDNAME deals 2 damage to that player unless one of his or her opponents was dealt damage this turn.
SVar:TeaseYou:DB$ DealDamage | Defined$ You | NumDmg$ 2 | ConditionCheckSVar$ AntagonismX | ConditionSVarCompare$ LE0 | References$ AntagonismX
SVar:AntagonismX:Count$OppDamageThisTurn
T:Mode$ Phase | Phase$ End of Turn | ValidPlayer$ Opponent | Execute$ TeaseOpp | TriggerZones$ Battlefield | Secondary$ True | TriggerDescription$ At the beginning of each player's end step, CARDNAME deals 2 damage to that player unless one of his or her opponents was dealt damage this turn.
SVar:TeaseOpp:DB$ DealDamage | Defined$ Opponent | NumDmg$ 2 | ConditionCheckSVar$ AntagonismY | ConditionSVarCompare$ LE0 | References$ AntagonismY |
SVar:AntagonismY:Count$YourDamageThisTurn
SVar:NeedsToPlayVar:AntagonismX GE1
T:Mode$ Phase | Phase$ End of Turn | ValidPlayer$ Player | Execute$ TeaseYou | TriggerZones$ Battlefield | TriggerDescription$ At the beginning of each player's end step, CARDNAME deals 2 damage to that player unless one of his or her opponents was dealt damage this turn.
SVar:TeaseYou:DB$ DealDamage | Defined$ TriggeredPlayer | NumDmg$ 2 | ConditionCheckSVar$ AntagonismX | ConditionSVarCompare$ LE0 | References$ AntagonismX
SVar:AntagonismX:TriggeredPlayer$DamageToOppsThisTurn
SVar:Check:PlayerCountOpponents$DamageToOppsThisTurn
SVar:NeedsToPlayVar:Check GE1
SVar:RemRandomDeck:True
SVar:Rarity:Rare
SVar:Picture:http://www.wizards.com/global/images/magic/general/antagonism.jpg

View File

@@ -3,12 +3,12 @@ ManaCost:2 B R R
Types:Enchantment
Text:no text
T:Mode$ Attacks | ValidCard$ Creature.YouCtrl | TriggerZones$ Battlefield | Execute$ AnthemPump | TriggerDescription$ Whenever a creature you control attacks, it gets +2/+0 until end of turn and CARDNAME deals 1 damage to you.
SVar:AnthemPump:AB$Pump | Cost$ 0 | Defined$ TriggeredAttacker | NumAtt$ 2 | SubAbility$ RakdosBurn
SVar:AnthemPump:AB$ Pump | Cost$ 0 | Defined$ TriggeredAttacker | NumAtt$ 2 | SubAbility$ RakdosBurn
SVar:RakdosBurn:DB$ DealDamage | Defined$ You | NumDmg$ 1
R:Event$ DamageDone | ActiveZones$ Battlefield | ValidSource$ Card.YouCtrl | ValidTarget$ Creature,Player | Hellbent$ True | ReplaceWith$ DmgTwice | IsCombat$ False | Description$ Hellbent - As long as you have no cards in hand, if a source you control would deal damage to a creature or player, it deals double that damage to that creature or player instead.
R:Event$ DamageDone | ActiveZones$ Battlefield | ValidSource$ Card.YouCtrl | ValidTarget$ Creature,Player | Hellbent$ True | ReplaceWith$ DmgTwiceCombat | IsCombat$ True | Secondary$ True | Description$ Hellbent - As long as you have no cards in hand, if a source you control would deal damage to a creature or player, it deals double that damage to that creature or player instead.
SVar:DmgTwice:AB$DealDamage | Cost$ 0 | Defined$ ReplacedTarget | DamageSource$ ReplacedSource | NumDmg$ X | References$ X
SVar:DmgTwiceCombat:AB$DealDamage | Cost$ 0 | CombatDamage$ True | Defined$ ReplacedTarget | DamageSource$ ReplacedSource | NumDmg$ X | References$ X
SVar:DmgTwice:AB$ DealDamage | Cost$ 0 | Defined$ ReplacedTarget | DamageSource$ ReplacedSource | NumDmg$ X | References$ X
SVar:DmgTwiceCombat:AB$ DealDamage | Cost$ 0 | CombatDamage$ True | Defined$ ReplacedTarget | DamageSource$ ReplacedSource | NumDmg$ X | References$ X
SVar:X:ReplaceCount$DamageAmount/Twice
SVar:PlayMain1:TRUE
SVar:Rarity:Rare

View File

@@ -5,7 +5,7 @@ Text:no text
K:Enchant creature
A:SP$ Attach | Cost$ 2 U | ValidTgts$ Creature | AILogic$ Pump
S:Mode$ CantTarget | ValidCard$ Creature.EnchantedBy | Spell$ True | Description$ Enchanted creature can't be the target of spells and can't be enchanted. This effect doesn't remove CARDNAME.
S:Mode$ Continuous | Affected$ Creature.EnchantedBy | AddKeyword$ CARDNAME can't be enchanted.
S:Mode$ Continuous | Affected$ Creature.EnchantedBy | AddHiddenKeyword$ CARDNAME can't be enchanted.
SVar:Rarity:Uncommon
SVar:Picture:http://www.wizards.com/global/images/magic/general/anti_magic_aura.jpg
SetInfo:5ED|Uncommon|http://magiccards.info/scans/en/5e/72.jpg

View File

@@ -2,7 +2,7 @@ Name:Anvil of Bogardan
ManaCost:2
Types:Artifact
Text:no text
S:Mode$ Continuous | Affected$ Player | SetMaxHandSize$ -1 | Description$ Players have no maximum hand size.
S:Mode$ Continuous | Affected$ Player | SetMaxHandSize$ Unlimited | Description$ Players have no maximum hand size.
T:Mode$ Phase | Phase$ Draw | ValidPlayer$ Player | TriggerZones$ Battlefield | Execute$ TrigDraw | TriggerDescription$ At the beginning of each player's draw step, that player draws an additional card, then discards a card.
SVar:TrigDraw:AB$ Draw | Cost$ 0 | NumCards$ 1 | Defined$ TriggeredPlayer | SubAbility$ DBDiscard
SVar:DBDiscard:DB$Discard | Defined$ TriggeredPlayer | NumCards$ 1 | Mode$ TgtChoose

View File

@@ -4,7 +4,7 @@ Types:Enchantment Aura
Text:no text
K:Enchant creature
A:SP$ Attach | Cost$ U | ValidTgts$ Creature | AILogic$ Curse
S:Mode$ Continuous | Affected$ Card.EnchantedBy | AddHiddenKeyword$ HIDDEN CARDNAME doesn't untap during your untap step. | AddTrigger$ TrigUpkeep | AddSVar$ TrigUntap | Description$ Enchanted creature doesn't untap during its controller's untap step. At the beginning of the upkeep of enchanted creature's controller, that player may discard a card at random. If he or she does, untap that creature.
S:Mode$ Continuous | Affected$ Card.EnchantedBy | AddHiddenKeyword$ CARDNAME doesn't untap during your untap step. | AddTrigger$ TrigUpkeep | AddSVar$ TrigUntap | Description$ Enchanted creature doesn't untap during its controller's untap step. At the beginning of the upkeep of enchanted creature's controller, that player may discard a card at random. If he or she does, untap that creature.
SVar:TrigUpkeep:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ You | Execute$ TrigUntap | TriggerZones$ Battlefield | OptionalDecider$ You | TriggerDescription$ At the beginning of the upkeep of enchanted creature's controller, that player may discard a card at random. If he or she does, untap that creature.
SVar:TrigUntap:AB$ Untap | Cost$ Discard<1/Random> | Defined$ Self | SpellDescription$ Untap enchanted creature
SVar:Rarity:Common

View File

@@ -4,7 +4,7 @@ Types:Creature Human Wizard
Text:no text
PT:3/1
K:Morph:3 B
T:Mode$ TurnFaceUp | ValidCard$ Card.Self | Execute$ TrigPump | TriggerDescription$ When CARDNAME is turned face up, target creature gets -3/-3 until end of turn.
T:Mode$ TurnFaceUp | ValidCard$ Card.Self | Execute$ TrigPump | TriggerZones$ Battlefield | TriggerDescription$ When CARDNAME is turned face up, target creature gets -3/-3 until end of turn.
SVar:TrigPump:AB$Pump | Cost$ 0 | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumAtt$ -3 | NumDef$ -3 | IsCurse$ True
SVar:Rarity:Uncommon
SVar:Picture:http://www.wizards.com/global/images/magic/general/aphetto_exterminator.jpg

View File

@@ -3,7 +3,7 @@ ManaCost:X G R
Types:Creature Hydra
Text:Apocalypse Hydra enters the battlefield with X +1/+1 counters on it. If X is 5 or more, it enters the battlefield with an additional X +1/+1 counters on it.
PT:0/0
A:AB$ DealDamage | Cost$ 1 R SubCounter<1/P1P1> | Tgt$ TgtCP | NumDmg$ 1 | SpellDescription$ CARDNAME deals 1 damage to target creature or player.
A:AB$ DealDamage | Cost$ 1 R SubCounter<1/P1P1> | ValidTgts$ Creature,Player | TgtPrompt$ Select target creature or player | NumDmg$ 1 | SpellDescription$ CARDNAME deals 1 damage to target creature or player.
# This xPaid doesn't do anything, it's just needed to make Cost work properly
SVar:X:Count$xPaid
SVar:Rarity:Mythic

View File

@@ -3,7 +3,7 @@ ManaCost:1 B
Types:Creature Zombie Wizard
Text:no text
PT:1/1
A:AB$ ChangeZone | Cost$ B T Sac<1/CARDNAME> | Origin$ Graveyard | Destination$ Battlefield | ValidTgts$ Creature.YouCtrl | TgtPrompt$ Select target creature in your graveyard | GainControl$ True | SubAbility$ DBPump | SpellDescription$ Return target creature card from your graveyard to the battlefield. That creature gains haste. At the beginning of the next end step, sacrifice it.
A:AB$ ChangeZone | Cost$ B T Sac<1/CARDNAME> | Origin$ Graveyard | Destination$ Battlefield | ValidTgts$ Creature.YouCtrl | TgtPrompt$ Select target creature in your graveyard | GainControl$ True | SubAbility$ DBPump | SpellDescription$ Return target creature card from your graveyard to the battlefield. That creature gains haste. At the beginning of the next end step, sacrifice it.
SVar:DBPump:DB$Pump | KW$ Haste & HIDDEN At the beginning of the end step, sacrifice CARDNAME. | Defined$ Targeted
SVar:RemAIDeck:True
SVar:Rarity:Rare

View File

@@ -3,7 +3,7 @@ ManaCost:2 U
Types:Creature Human Wizard
Text:no text
PT:1/1
A:AB$ DealDamage | Cost$ T | Tgt$ TgtCP | NumDmg$ 1 | PlayerTurn$ True | ActivationPhases$ Upkeep,Draw,Main1,BeginCombat | SpellDescription$ CARDNAME deals 1 damage to target creature or player. Activate this ability only during your turn, before attackers are declared.
A:AB$ DealDamage | Cost$ T | ValidTgts$ Creature,Player | TgtPrompt$ Select target creature or player | NumDmg$ 1 | PlayerTurn$ True | ActivationPhases$ Upkeep,Draw,Main1,BeginCombat | SpellDescription$ CARDNAME deals 1 damage to target creature or player. Activate this ability only during your turn, before attackers are declared.
SVar:Rarity:Uncommon
SVar:Picture:http://www.wizards.com/global/images/magic/general/apprentice_sorcerer.jpg
SetInfo:PO2|Uncommon|http://magiccards.info/scans/en/po2/32.jpg

View File

@@ -0,0 +1,16 @@
Name:Approach My Molten Realm
ManaCost:no cost
Types:Scheme
Text:no text
T:Mode$ SetInMotion | ValidCard$ Card.Self | Execute$ MoltenEffect | TriggerZones$ Command | TriggerDescription$ When you set this scheme in motion, until your next turn, if a source would deal damage, it deals double that damage instead.
SVar:MoltenEffect:AB$ Effect | Cost$ 0 | Name$ Molten Realm Effect | ReplacementEffects$ MoltenRealm,MoltenRealmCombat | SVars$ DmgTimes2,DmgTimes2Combat,MoltenX | Duration$ UntilYourNextTurn
SVar:MoltenRealm:Event$ DamageDone | ActiveZones$ Command | ValidSource$ Card | ReplaceWith$ DmgTimes2 | IsCombat$ False | Description$ Until your next turn, if a source would deal damage, it deals double that damage instead.
SVar:MoltenRealmCombat:Event$ DamageDone | ActiveZones$ Command | ValidSource$ Card | ReplaceWith$ DmgTimes2Combat | IsCombat$ True | Secondary$ True | Description$ Until your next turn, if a source would deal damage, it deals double that damage instead.
SVar:DmgTimes2:AB$ DealDamage | Cost$ 0 | Defined$ ReplacedTarget | DamageSource$ ReplacedSource | NumDmg$ MoltenX | References$ MoltenX
SVar:DmgTimes2Combat:AB$ DealDamage | Cost$ 0 | CombatDamage$ True | Defined$ ReplacedTarget | DamageSource$ ReplacedSource | NumDmg$ MoltenX | References$ MoltenX
SVar:MoltenX:ReplaceCount$DamageAmount/Twice
SVar:Rarity:Common
SVar:Picture:http://www.cardforge.org/fpics/lq_schemes/approach_my_molten_realm.jpg
SetInfo:ARC|Common|http://magiccards.info/extras/scheme/archenemy/approach-my-molten-realm.jpg
Oracle:When you set this scheme in motion, until your next turn, if a source would deal damage, it deals double that damage instead.
End

View File

@@ -5,7 +5,7 @@ Text:no text
PT:*/*
K:Morph:2 U
T:Mode$ ChangesZone | Origin$ Any | Destination$ Battlefield | ValidCard$ Card.Self | Execute$ MorphChoice | Static$ True | TriggerDescription$ As CARDNAME enters the battlefield or is turned face up, it becomes your choice of 5/1 or 1/5.
T:Mode$ TurnFaceUp | ValidCard$ Card.Self | Execute$ MorphChoice | Secondary$ True | Static$ True | TriggerDescription$ When CARDNAME enters the battlefield or is turned face up, it becomes your choice of 5/1 or 1/5.
T:Mode$ TurnFaceUp | ValidCard$ Card.Self | Execute$ MorphChoice | Secondary$ True | Static$ True | TriggerZones$ Battlefield | TriggerDescription$ When CARDNAME enters the battlefield or is turned face up, it becomes your choice of 5/1 or 1/5.
SVar:MorphChoice:AB$ Charm | Cost$ 0 | Defined$ You | Choices$ BigPower,BigTough | CharmNum$ 1
SVar:BigPower:DB$ Animate | Defined$ Self | Permanent$ True | Power$ 5 | Toughness$ 1 | SpellDescription$ CARDNAME is 5/1
SVar:BigTough:DB$ Animate | Defined$ Self | Permanent$ True | Power$ 1 | Toughness$ 5 | SpellDescription$ CARDNAME is 1/5

View File

@@ -2,10 +2,10 @@ Name:Aquitect's Will
ManaCost:U
Types:Tribal Sorcery Merfolk
Text:no text
A:SP$ Effect | Cost$ U | Name$ Flood Effect | StaticAbilities$ STFlood | Unique$ True | Duration$ Permanent | SubAbility$ TrigPutCounter | SpellDescription$ Put a flood counter on target land. That land is an island in addition to its other types for as long as it has a flood counter on it. If you control a Merfolk, draw a card.
SVar:TrigPutCounter:DB$ PutCounter | Cost$ 0 | ValidTgts$ Land | CounterType$ FLOOD | CounterNum$ 1 | TgtPrompt$ Select target land | SubAbility$ DBDraw
A:SP$ Effect | Cost$ U | Name$ Flood Effect | StaticAbilities$ STFlood | Unique$ True | Duration$ Permanent | SubAbility$ TrigPutCounter | StackDescription$ Put a flood counter on target land. That land is an island in addition to its other types for as long as it has a flood counter on it. | SpellDescription$ Put a flood counter on target land. That land is an island in addition to its other types for as long as it has a flood counter on it. If you control a Merfolk, draw a card.
SVar:TrigPutCounter:DB$ PutCounter | Cost$ 0 | ValidTgts$ Land | CounterType$ FLOOD | CounterNum$ 1 | TgtPrompt$ Select target land | SubAbility$ DBDraw | StackDescription$ None
SVar:DBDraw:DB$ Draw | Cost$ 0 | NumCards$ 1 | ConditionPresent$ Merfolk.YouCtrl | ConditionCompare$ GE1 | ConditionDescription$ If you control a Merfolk,
SVar:STFlood:Mode$ Continuous | Affected$ Land.counters_GE1_FLOOD | AddType$ Island
SVar:STFlood:Mode$ Continuous | EffectZone$ Command | AffectedZone$ Battlefield | Affected$ Land.counters_GE1_FLOOD | AddType$ Island
SVar:RemRandomDeck:True
SVar:RemAIDeck:True
SVar:Rarity:Common

View File

@@ -3,7 +3,7 @@ ManaCost:2 G
Types:Enchantment Aura
Text:no text
A:SP$ Attach | Cost$ 2 G | ValidTgts$ Creature | AILogic$ Curse
S:Mode$ Continuous | Affected$ Creature.EnchantedBy | AddHiddenKeyword$ HIDDEN CARDNAME can't attack or block. & HIDDEN CARDNAME's activated abilities can't be activated. | Description$ Enchanted creature can't attack or block and its activated abilities can't be activated.
S:Mode$ Continuous | Affected$ Creature.EnchantedBy | AddHiddenKeyword$ CARDNAME can't attack or block. & CARDNAME's activated abilities can't be activated. | Description$ Enchanted creature can't attack or block and its activated abilities can't be activated.
T:Mode$ Phase | Phase$ End of Turn | TriggerZones$ Battlefield | IsPresent$ Creature.EnchantedBy+powerGE4 | Execute$ TrigDestroy | TriggerDescription$ At the beginning of the end step, if enchanted creature's power is 4 or greater, destroy CARDNAME.
SVar:TrigDestroy:AB$Destroy | Cost$ 0 | Defined$ Self
SVar:Rarity:Common

View File

@@ -3,7 +3,7 @@ ManaCost:3 R R
Types:Sorcery
Text:no text
K:Suspend:3:2 R
A:SP$ DealDamage | Cost$ 3 R R | Tgt$ TgtCP | NumDmg$ 2 | SubAbility$ DBChange | SpellDescription$ CARDNAME deals 2 damage to target creature or player. Exile CARDNAME with three time counters on it.
A:SP$ DealDamage | Cost$ 3 R R | ValidTgts$ Creature,Player | TgtPrompt$ Select target creature or player | NumDmg$ 2 | SubAbility$ DBChange | SpellDescription$ CARDNAME deals 2 damage to target creature or player. Exile CARDNAME with three time counters on it.
SVar:DBChange:DB$ChangeZone | Origin$ Stack | Destination$ Exile | RememberChanged$ True | SubAbility$ DBPutCounter
SVar:DBPutCounter:DB$PutCounter | Defined$ Remembered | CounterType$ TIME | CounterNum$ 3 | SubAbility$ DBCleanup
SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True

View File

@@ -3,7 +3,7 @@ ManaCost:3 R R
Types:Creature Beast
Text:no text
PT:4/5
A:AB$ DealDamage | Cost$ R ExileFromTop<10/Card> | Tgt$ TgtCP | NumDmg$ 2 | SpellDescription$ CARDNAME deals 2 damage to target creature or player.
A:AB$ DealDamage | Cost$ R ExileFromTop<10/Card> | ValidTgts$ Creature,Player | TgtPrompt$ Select target creature or player | NumDmg$ 2 | SpellDescription$ CARDNAME deals 2 damage to target creature or player.
SVar:Rarity:Rare
SVar:Picture:http://www.wizards.com/global/images/magic/general/arc_slogger.jpg
SetInfo:MRD|Rare|http://magiccards.info/scans/en/mi/85.jpg

View File

@@ -5,7 +5,7 @@ Text:no text
K:Enchant creature
A:SP$ Attach | Cost$ 2 R | ValidTgts$ Creature | AILogic$ Pump
S:Mode$ Continuous | Affected$ Creature.EnchantedBy | AddPower$ 2 | AddToughness$ 2 | AddAbility$ Damage | Description$ Enchanted creature gets +2/+2 and has "T: This creature deals 1 damage to target creature or player."
SVar:Damage:AB$DealDamage | Cost$ T | Tgt$ TgtCP | NumDmg$ 1 | SpellDescription$ CARDNAME deals 1 damage to target creature or player.
SVar:Damage:AB$DealDamage | Cost$ T | ValidTgts$ Creature,Player | TgtPrompt$ Select target creature or player | NumDmg$ 1 | SpellDescription$ CARDNAME deals 1 damage to target creature or player.
SVar:Rarity:Common
SVar:Picture:http://www.wizards.com/global/images/magic/general/arcane_teachings.jpg
Oracle:Enchant creature (Target a creature as you cast this. This card enters the battlefield attached to that creature.)\nEnchanted creature gets +2/+2 and has "{T}: This creature deals 1 damage to target creature or player."

View File

@@ -0,0 +1,16 @@
Name:Arcbound Fiend
ManaCost:6
Types:Artifact Creature Horror
Text:no text
PT:0/0
K:Modular 3
K:Fear
T:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ You | TriggerZones$ Battlefield | OptionalDecider$ You | Execute$ TrigMoveCounter | TriggerDescription$ At the beginning of your upkeep, you may move a +1/+1 counter from from target creature onto CARDNAME.
SVar:TrigMoveCounter:AB$ Pump | Cost$ 0 | ValidTgts$ Creature | TgtPrompt$ Select target creature | SubAbility$ DBMove | StackDescription$ None | SpellDescription$ Move a +1/+1 counter from target creature onto CARDNAME.
SVar:DBMove:DB$ MoveCounter | Cost$ 0 | Source$ Targeted | Defined$ Self | CounterType$ P1P1 | CounterNum$ 1
SVar:RemAIdeck:True
SVar:Rarity:Uncommon
SVar:Picture:http://www.wizards.com/global/images/magic/general/arcbound_fiend.jpg
SetInfo:DST|Uncommon|http://magiccards.info/scans/en/ds/96.jpg
Oracle:Fear (This creature can't be blocked except by artifact creatures and/or black creatures.)\nAt the beginning of your upkeep, you may move a +1/+1 counter from target creature onto Arcbound Fiend.\nModular 3 (This enters the battlefield with three +1/+1 counters on it. When it dies, you may put its +1/+1 counters on target artifact creature.)
End

View File

@@ -0,0 +1,14 @@
Name:Arcbound Overseer Avatar
ManaCost:no cost
Types:Vanguard
Text:no text
HandLifeModifier:+0/+3
T:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ You | TriggerZones$ Command | Execute$ BuildCounter | OptionalDecider$ You | TriggerDescription$ At the beginning of your upkeep, you may put a +1/+1 counter on target creature you control.
SVar:BuildCounter:AB$ PutCounter | Cost$ 0 | CounterType$ P1P1 | CounterNum$ 1 | ValidTgts$ Creature.YouCtrl | TgtPrompt$ Select target creature you control
T:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ You | TriggerZones$ Command | Execute$ ChargeCounter | OptionalDecider$ You | TriggerDescription$ At the beginning of your upkeep, you may put a charge counter on target permanent you control.
SVar:ChargeCounter:AB$ PutCounter | Cost$ 0 | CounterType$ CHARGE | CounterNum$ 1 | ValidTgts$ Permanent.YouCtrl | TgtPrompt$ Select target permanent you control
SVar:Rarity:Special
SVar:Picture:http://www.cardforge.org/fpics/vgd-lq/arcbound_overseer_avatar.jpg
SetInfo:VAN|Special|http://magiccards.info/extras/other/vanguard-mtgo/arcbound-overseer.jpg
Oracle:Hand +0, life +3\nAt the beginning of your upkeep, you may put a +1/+1 counter on target creature you control.\nAt the beginning of your upkeep, you may put a charge counter on target permanent you control.
End

View File

@@ -5,6 +5,7 @@ Text:no text
PT:0/0
A:AB$ PutCounter | Cost$ Sac<1/Artifact> | CounterType$ P1P1 | CounterNum$ 1 | SpellDescription$ Put a +1/+1 counter on CARDNAME.
K:Modular 1
SVar:BuffedBy:Artifact
SVar:Rarity:Rare
SVar:Picture:http://www.wizards.com/global/images/magic/general/arcbound_ravager.jpg
SetInfo:DST|Rare|http://magiccards.info/scans/en/ds/100.jpg

View File

@@ -11,16 +11,16 @@ SVar:WarChoice:DB$ Effect | Name$ Archangel War Effect | ChoiceDescription$ War
SVar:PeaceChoice:DB$ Effect | Name$ Archangel Peace Effect | ChoiceDescription$ Peace | Duration$ UntilHostLeavesPlay | RememberEffect$ True
SVar:Attacking:DB$ Effect | Name$ Archangel War Effect | ChoiceDescription$ War | EffectOwner$ Opponent | Duration$ UntilHostLeavesPlay | RememberEffect$ True
SVar:Defensive:DB$ Effect | Name$ Archangel Peace Effect | ChoiceDescription$ Peace | EffectOwner$ Opponent | Duration$ UntilHostLeavesPlay | RememberEffect$ True
S:Mode$ Continuous | Affected$ Creature.YouCtrl | AddPower$ 3 | CheckSVar$ WarYou | SVarCompare$ GE1 | References$ WarYou
S:Mode$ Continuous | Affected$ Creature.YouCtrl | AddToughness$ 3 | CheckSVar$ PeaceYou | SVarCompare$ GE1 | References$ PeaceYou
S:Mode$ Continuous | Affected$ Creature.YouDontCtrl | AddPower$ 3 | CheckSVar$ WarOpp | SVarCompare$ GE1 | References$ WarOpp
S:Mode$ Continuous | Affected$ Creature.YouDontCtrl | AddToughness$ 3 | CheckSVar$ PeaceOpp | SVarCompare$ GE1 | References$ PeaceOpp
S:Mode$ Continuous | AffectedZone$ Battlefield | Affected$ Creature.YouCtrl | AddPower$ 3 | CheckSVar$ WarYou | SVarCompare$ GE1 | References$ WarYou
S:Mode$ Continuous | AffectedZone$ Battlefield | Affected$ Creature.YouCtrl | AddToughness$ 3 | CheckSVar$ PeaceYou | SVarCompare$ GE1 | References$ PeaceYou
S:Mode$ Continuous | AffectedZone$ Battlefield | Affected$ Creature.YouDontCtrl | AddPower$ 3 | CheckSVar$ WarOpp | SVarCompare$ GE1 | References$ WarOpp
S:Mode$ Continuous | AffectedZone$ Battlefield | Affected$ Creature.YouDontCtrl | AddToughness$ 3 | CheckSVar$ PeaceOpp | SVarCompare$ GE1 | References$ PeaceOpp
T:Mode$ ChangesZone | Origin$ Battlefield | Destination$ Any | Defined$ Self | Execute$ DBCleanup | Static$ True
SVar:DBCleanup:DB$ Cleanup | ClearRemembered$ True
SVar:WarYou:Remembered$Valid Card.namedArchangel War Effect+YouCtrl
SVar:PeaceYou:Remembered$Valid Card.namedArchangel Peace Effect+YouCtrl
SVar:WarOpp:Remembered$Valid Card.namedArchangel War Effect+YouDontCtrl
SVar:PeaceOpp:Remembered$Valid Card.namedArchangel Peace Effect+YouDontCtrl
SVar:WarYou:Count$ValidCommand Card.namedArchangel War Effect+YouCtrl+IsRemembered
SVar:PeaceYou:Count$ValidCommand Card.namedArchangel Peace Effect+YouCtrl+IsRemembered
SVar:WarOpp:Count$ValidCommand Card.namedArchangel War Effect+YouDontCtrl+IsRemembered
SVar:PeaceOpp:Count$ValidCommand Card.namedArchangel Peace Effect+YouDontCtrl+IsRemembered
SVar:RemAIDeck:True
SVar:Rarity:Rare
SVar:Picture:http://www.wizards.com/global/images/magic/general/archangel_of_strife.jpg

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