Commit Graph

5679 Commits

Author SHA1 Message Date
Agetian
b41e2304bf - Fixed a NPE when processing a fizzled DigUntilEffect (e.g. Condemn on a creature equipped with Trepanation Blade). 2015-06-06 14:31:01 +00:00
Chris
c48418a77f [maven-release-plugin] prepare for next development iteration 2015-06-05 20:31:07 +00:00
Chris
f3edbb23af [maven-release-plugin] prepare release forge-1.5.40 2015-06-05 20:31:00 +00:00
Sol
f11daa3f64 - Thawing Glaciers trigger will now cause players to gain priority if it's waiting to be added to the stack 2015-06-05 15:11:17 +00:00
elcnesh
4eef9618d0 - Cleanup GameRules (mostly make a variable private)
- Minor cleanup in some other files
2015-06-04 16:06:48 +00:00
Agetian
5ad4ebdabd - Get rid of the redundant block of code in Phantom Nomad implementation. 2015-06-02 18:22:48 +00:00
Agetian
201542300b - Fixed Phantom Nomad getting multiple counters removed from combat damage (only one counter is now removed from it for all the damage applied to it simultaneously). 2015-06-02 17:12:35 +00:00
drdev
661636c2fa Prevent crash when activating Stonehewer Giant's avatar ability 2015-05-30 18:09:17 +00:00
Agetian
76089e0eba - Fixed River of Tears and improved user interaction with it (especially when it comes to using Auto or to tapping it in response to a mana payment prompt). 2015-05-30 16:37:15 +00:00
Agetian
0993837aa2 - Fixed the split cards not showing the Fuse ability in the card detail panel. 2015-05-30 05:02:31 +00:00
Agetian
f2636586a8 - Fixed the cards exiled face down showing up as Morph in exile zone instead of as a hidden face down card (card back picture). 2015-05-29 19:37:14 +00:00
Agetian
ce976bd391 - When checking state-based effects, check the game over condition early to account for win conditions that trigger before the cards die due to zero toughness (e.g. Platinum Angel + lethal Hurricane that gets both players to zero or below).
- To be on the safe side I left the original check intact and I'm running it in case the first check wasn't positive, assuming that the situation may change somehow after all the card-based state effects are checked and relevant effects apply. Is this necessary?
- Please test this in various win/lose conditions and let me know if anything is wrong with this approach, I can try to adapt or revert as necessary.
2015-05-27 16:35:26 +00:00
drdev
8d151174ab Put commander life back to 40 even for 2 player 2015-05-25 19:39:43 +00:00
Agetian
ea672e92f8 - Minor cleanup. 2015-05-25 12:14:30 +00:00
Agetian
f38e54912d - A better implementation of announcement when playing with the top card of the library revealed: announce all cards at once. 2015-05-25 12:13:19 +00:00
Agetian
090009ffa3 - Reveal and announce the cards drawn when playing with the top of the library revealed (currently does not announce when drawing one card by one since a card on the top of the library can easily be seen in that case, to avoid message box spam). 2015-05-25 11:59:32 +00:00
Agetian
01fb31969e - Removed an extra space. 2015-05-24 07:45:10 +00:00
Agetian
20d86418e2 - Make DealtCombatDamageOnce trigger report the amount of damage dealt in combat. Fixes Sunhome Enforcer. 2015-05-24 07:37:50 +00:00
Agetian
5bfec80d90 - Use a standard mechanism of testing object equality so that mobile Forge doesn't hang. 2015-05-23 19:06:41 +00:00
Agetian
d859d378c6 - Use java.util.Objects instead of the Google class. 2015-05-23 13:57:58 +00:00
Agetian
069d8a5b00 - Attempt to fix Courser of Kruphix and friends not revealing the cards in game 2+ of the match. 2015-05-23 13:54:33 +00:00
elcnesh
ab03da16a0 - Cleanup and fix PlayEffect, especially related to optionally playing multiple cards
- Fix Jace, Architect of Thought's ultimate to search each player's library
2015-05-23 07:13:10 +00:00
Agetian
f233a0345f - Improved the implementation of fizzling triggered SAs (so that hasFizzled returns true for failed SAs). 2015-05-22 17:55:47 +00:00
Agetian
e915b68a7e - Changed a method name a little. 2015-05-22 17:34:26 +00:00
Agetian
25f0e03808 - Fix an issue with the "damage done" triggers lingering in certain cases on creatures returning from graveyard to battlefield, which caused e.g. a wrong interaction of Stone-Tongue Basilisk with Persist creatures (killing them "twice", once with combat damage and then again with the trigger once they returned from graveyard via Persist).
- This fix is somewhat roundabout, I'm not sure if maybe it breaks something, please review.
2015-05-22 16:58:20 +00:00
Agetian
842167d1ff - More correct implementation of the way GameEventCardModeChosen game event is processed. 2015-05-19 18:04:33 +00:00
Agetian
4e56670a23 - Cards which need a mode choice (e.g. the Siege cycle, Master of Predicaments etc.) will now log the choice that was made.
- The Siege cycle cards will now also report the choice in a message box so that it's immediately apparent what was chosen for them.
- Changed the default value of "Display Tokens in a Separate Row" to "disabled" (tokens are now displayed on the same row as non-token cards).
2015-05-19 17:56:38 +00:00
elcnesh
b3f38edef3 Huge cleanup: use collection interfaces (List, Set, Map) rather than
implementations (ArrayList etc.) in references to objects
2015-05-17 11:28:21 +00:00
elcnesh
6274c5379a Use morph/manifest reminder overlays for face-down cards on the battlefield 2015-05-17 11:16:39 +00:00
Sol
c6a55f6af2 - Added Taste of Paradise with pseudokicker structure 2015-05-15 21:55:25 +00:00
Sloth
2c42c9bd76 - Fixed Auras displaying their names at the end of their descriptions. 2015-05-15 21:02:00 +00:00
Sol
ce438fa313 - Fixing Ash Zealot grabbing the wrong property 2015-05-13 12:13:17 +00:00
Sol
ce9c1d87ae - Improve handling of Dragon Presence for Flicker effects 2015-05-13 01:43:10 +00:00
Sol
b8b217d7f1 - Some more improvements needed for Dragon Presence cards 2015-05-13 01:24:18 +00:00
Sol
b115625de8 - Adding the capability for cards to reference "Dragon Presence" in the BF, or as an optional payment 2015-05-12 03:35:44 +00:00
Sol
579522418e - Don't print Kicker in the card text panel for Pseudo-kickers (Undergrowth) 2015-05-12 02:58:06 +00:00
elcnesh
49dc0e2e59 Cleanup: use Lists rather than arrays whenever applicable (removes some methods) 2015-05-11 14:22:08 +00:00
elcnesh
77c479832c Update morph reminder text 2015-05-11 13:35:13 +00:00
Sol
fc4c6da112 - Adding Game Logging for Encode, so you can see which creature got encoded. 2015-05-11 02:04:39 +00:00
elcnesh
658fd8f953 Mostly cosmetic changes to color code 2015-05-06 16:26:45 +00:00
elcnesh
a0047de66d - Apply charm text formatting also to activated abilities
- Fix morph reminder text
2015-05-04 22:26:22 +00:00
Sol
0788acb1b1 - Add handling for Pseudo-kickers. Update Undergrowth to use this new code. 2015-05-04 02:12:42 +00:00
drdev
33305205c6 Use 30 life instead of 40 for 2 player Commander 2015-05-03 17:45:41 +00:00
drdev
a66cfdd394 Prevent crash if you try to start a Commander match without a Commander 2015-05-03 17:37:47 +00:00
drdev
03b78eb1f1 Version bump to 1.5.40.001 2015-05-03 17:19:52 +00:00
Krazy
86aaac2dab [maven-release-plugin] prepare for next development iteration 2015-05-03 15:03:03 +00:00
Krazy
f05b0aee30 [maven-release-plugin] prepare release forge-1.5.39 2015-05-03 15:02:57 +00:00
Krazy
97aeacde09 Removed Maven release backup files. 2015-05-03 14:20:29 +00:00
elcnesh
ca21f3a298 Clean up CardType
- Treat core types and super types as static, no longer
  read them from a file. Adding types this way isn't compatible
  with the program so it served no purpose for users anyway.
- Merge instant and sorcery types into "spell types", as specified
  by the comp rules.
- Remove some unused methods and restructure/clean up some others.
2015-04-29 18:24:58 +00:00
Sol
127363a5bd - When defining cards, check if the list is empty before trying to get it 2015-04-29 00:42:14 +00:00