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
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