Commit Graph

8293 Commits

Author SHA1 Message Date
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
elcnesh
41fdcc9b50 - Fix NPE at end of network game
- Update some strings
2015-04-26 17:00:15 +00:00
elcnesh
addcece582 - Huge update to network play
- Updated protocol: now used everywhere for type checking
  - No more locks between server and client: client no longer expects any replies
  - More code reuse
  - Fixed issue with location of multiple abilities selection popup menu
  - Improved stability; actual games should now be possible
- Other updates
  - Mobile version player panel now uses same code as desktop
  - Remove automatic "view all cards" cheat in hotseat (no longer necessary)
  - Code cleanup
2015-04-26 10:54:55 +00:00
elcnesh
7dde5455e3 - Revert serializability of Keywords as this would require serializability
of Card
- Until this is fixed in some way, use a Multiset of Strings for the
  collection of keywords in PlayerView
2015-04-24 22:23:17 +00:00
elcnesh
2afad42947 Make Keyword and related Cost classes serializable (necessary for network play) 2015-04-24 20:53:46 +00:00
drdev
bd13f48890 Rename Deck Editor to Deck Manager 2015-04-24 13:41:38 +00:00
drdev
3b50dbc671 Remove unused reference 2015-04-23 01:16:54 +00:00
elcnesh
586cb90697 Lots of cleanup: correct static field/method access,
proper fall-through documentation, and some minor things.
2015-04-20 13:49:01 +00:00
Sol
594eb86bdd - Removing throw that broke existing RepeatEach cards 2015-04-20 00:04:53 +00:00
drdev
8f28c6f78a Fix so Gauntlets don't prompt to sideboard if your deck can't sideboard 2015-04-19 19:25:54 +00:00
drdev
7e913a6322 Update enum name 2015-04-19 18:39:01 +00:00
drdev
f46214c4e0 Support opening Deck Editor from home screen directly
Cleanup logic that builds deck lists
2015-04-19 17:06:18 +00:00
Sloth
cab024da0f - Fixed shouldPumpCard AI function firing PutCounter triggers. 2015-04-18 11:33:30 +00:00
Sloth
057fc34110 - Fixed NPE caused by Sidisi, Brood Tyrant (but it still won't work correctly with some effects). 2015-04-18 11:07:29 +00:00
Sol
8d251f15f3 - Fixed Blood Tribute completely not working when kicked 2015-04-17 13:48:02 +00:00
elcnesh
f61a1aa179 Cleanup
- Use collection interfaces (List) rather than classes (ArrayList)
- Remove some unnecessary null pointer checks
2015-04-15 15:40:54 +00:00
elcnesh
6dacb83c37 Lots of code cleanup, including removing some useless null checks,
preventing some NPE's before they ever occur, and clean up some
of the inheritance hierarchy.
2015-04-13 14:29:01 +00:00
drdev
a2879c55b2 Prevent card back being shown when zooming outside match 2015-04-10 20:15:12 +00:00
elcnesh
1ff11f8121 Prevent some possible concurrency exceptions in views 2015-04-09 22:06:18 +00:00
elcnesh
3043b1e099 Allow cards exiled with Hideaway to be viewed longer than one turn. 2015-04-08 12:14:02 +00:00
elcnesh
8acb8a7f23 - Fix vanguard avatar selection in lobby
- Fix card (image) viewing with multiple players in same GUI
- Fix dev mode toggle buttons with multiple players in same GUI
- Fix possible NPE in Quest mode (related to Antes)
- Some cleanup
2015-04-08 09:03:33 +00:00
drdev
14ca6da9cf Avoid prompting user to choose which replacement effect to apply first if all options are the same 2015-04-06 20:11:53 +00:00
drdev
70456827be Use interface to simplify getting list items with associated card views to display card image 2015-04-06 19:47:20 +00:00
elcnesh
acedf02220 Fix Intet/Shared Fate/etc., including possible issue if
multiple such effects apply to the same card simultaneously
2015-04-04 13:10:31 +00:00
Sol
29820d8e0f - Fix for Jhoira was remembering in slightly the wrong place for granting Suspend 2015-04-03 19:45:17 +00:00
Sol
0584270a94 - Fix Jhoira of the Ghitu when activating multiple times in a row. 2015-04-03 16:41:32 +00:00
elcnesh
dc4559c577 Attempt to combat game memory leaks after game finishes.
- Make PLAY_LAND_SURROGATE a game field rather than static
- Remove games from cache more aggressively
- Remove targeting overlay from global view after game ends
2015-04-02 14:35:42 +00:00
elcnesh
5f2d038136 Fix Leeches 2015-04-02 10:03:42 +00:00
elcnesh
00847e071f Prevent concurrency problem in PlayerView keywords 2015-04-02 09:40:32 +00:00
elcnesh
b2691bf6eb Require "Blockers" in TriggerAttackerBlocked to be an
Iterable rather than a List, fixing issue with Flash Foliage.
2015-04-02 09:12:19 +00:00
Sloth
fc6be30e5b - Added Risen Executioner. 2015-04-01 21:57:58 +00:00
Sloth
5fab7fb644 - Improved AI using cards with Flash. 2015-03-28 22:13:32 +00:00
Chris
216a28ea7e [maven-release-plugin] prepare for next development iteration 2015-03-27 13:50:52 +00:00
Chris
2112965a0a [maven-release-plugin] prepare release forge-1.5.38 2015-03-27 13:50:44 +00:00
Sol
e5278fb7c1 - Don't clear intrinsic triggers while handling ChangeZone effects if coming from the Zone the trigger would be active in 2015-03-24 23:50:13 +00:00
Sloth
df5f0a6e89 - Fixed interaction of Dragon Hunter and dragons with "... can't be blocked except by creatures with flying or reach." 2015-03-23 13:35:39 +00:00
Sloth
ddce8ecbec - Added Dragon Hunter. 2015-03-23 13:26:11 +00:00