Commit Graph

36509 Commits

Author SHA1 Message Date
Rob Schnautz
0ca97727ad Update ash_barrens.txt 2018-03-02 22:24:14 +00:00
maustin
cd0cf2106a Merge remote-tracking branch 'origin/deckgenimprovements' into deckgenimprovements 2018-03-02 20:09:24 +00:00
austinio7116
edc921bf98 Fixed bug with not counting keycards as lands in the land count causing various issues. Fixed final keyword issue causing build warnings. 2018-03-02 20:09:06 +00:00
austinio7116
b67c060211 Fixed bug with not counting keycards as lands in the land count causing various issues. Fixed final keyword issue causing build warnings. 2018-03-02 19:49:42 +00:00
maustin
cb5791276a Fixed AI commander and tiny leader decks not being passed correct forAI boolean so including non AI playable cards. Also allowed more lands in generated decks if required. 2018-03-02 19:28:05 +00:00
Michael Kamensky
d20317dd62 Merge branch 'patch-1' into 'master'
Oracle updates

See merge request core-developers/forge!261
2018-03-01 17:00:13 +00:00
austinio7116
9cfc42156d Remove dual lands from mono coloured generated decks 2018-03-01 16:07:09 +00:00
austinio7116
52d8e3d54f Fixed issue where generic mana cost creatures with colour identities were getting into decks that could not activate their abilities 2018-03-01 15:37:24 +00:00
maustin
186b56c335 Merge branch 'master' into deckgenimprovements 2018-03-01 12:41:28 +00:00
maustin
006bbf8fa0 Merge remote-tracking branch 'origin/master' 2018-03-01 12:41:11 +00:00
austinio7116
ec6ccb69dd Merge branch 'multiplayer' into 'master'
Multiplayer

See merge request core-developers/forge!265
2018-03-01 12:08:43 +00:00
Jamin W. Collins
81af09d86f ensure variants are only disabled for network play
Signed-off-by: Jamin W. Collins <jamin.collins@gmail.com>
2018-03-01 04:41:30 -07:00
Jamin W. Collins
4299491104 avoid creating an additinal map of all cards
While getting all cards is needed for some network play variants, they
can be retrieved with the additional memory usage.  The nested lookup
isn't as elegant (IMO) but does avoid memory bloat with the additional
data structure.

Signed-off-by: Jamin W. Collins <jamin.collins@gmail.com>
2018-03-01 04:24:50 -07:00
austinio7116
ad693eb71f Switched off deck builder logging 2018-03-01 07:09:28 +00:00
maustin
02eb8f632f Merge remote-tracking branch 'origin/deckgenimprovements' into deckgenimprovements
# Conflicts:
#	forge-gui/src/main/java/forge/deck/CardRelationMatrixGenerator.java
#	forge-gui/src/main/java/forge/limited/CardThemedDeckBuilder.java
2018-03-01 06:55:16 +00:00
austinio7116
352236c390 Moved magic number to static variable 2018-03-01 06:54:04 +00:00
austinio7116
cb5f5938f7 Fixed issue with using random n-color deck generators for commander and tiny leaders by switching to the same deck generator as the card-based deck generation for consistency and to prevent tiny leader decks being short of cards using the n-color generators. 2018-03-01 06:14:38 +00:00
austinio7116
ed4583ee7a Fixed adding wastes in colourless decks 2018-03-01 06:14:38 +00:00
austinio7116
d4b09f39ad Refactoring of card-based deck generation to share the same generation code so that the Modern/Standard deck generation gets the benefit of improvements made in the Commander deck generation code - also fixed a few bugs with land counts, generic mana cards with a colour identity. Reduced the minimum number of connections in the matrix required to include cards in the card-based deckgen list to get more cards included in the model. 2018-03-01 06:14:38 +00:00
austinio7116
25ab2ca2dc Refactoring of card-based deck generation to share the same generation code so that the Modern/Standard deck generation gets the benefit of improvements made in the Commander deck generation code - also fixed a few bugs with land counts, generic mana cards with a colour identity. Reduced the minimum number of connections in the matrix required to include cards in the card-based deckgen list to get more cards included in the model. 2018-03-01 06:13:25 +00:00
maustin
c6714fcc4e Merge remote-tracking branch 'origin/master' 2018-03-01 06:12:36 +00:00
Sol
0f558f0479 Merge branch 'fix-zealous-inquisitor' into 'master'
Fix Zealous Inquisitor spell description

See merge request core-developers/forge!264
2018-03-01 03:29:34 +00:00
Chris H
4ca87ab84e Fix Zealous Inquisitor spell description 2018-02-28 22:28:14 -05:00
Sol
90d9c45134 Merge branch 'multiplayer' into 'master'
Multiplayer

Closes #157

See merge request core-developers/forge!262
2018-03-01 03:12:26 +00:00
Jamin W. Collins
193f1f8b23 network play: enable Vanguard
Signed-off-by: Jamin W. Collins <jamin.collins@gmail.com>
2018-02-28 20:03:53 -07:00
Jamin W. Collins
3415d76b40 allow ALL cards to be (de)serialized
This is needed by network play variants like:
- Vanguard
- Planechase

Signed-off-by: Jamin W. Collins <jamin.collins@gmail.com>
2018-02-28 20:03:53 -07:00
Jamin W. Collins
a5b9512fdb network play: allow readying if Momir is selected
Signed-off-by: Jamin W. Collins <jamin.collins@gmail.com>
2018-02-28 20:03:53 -07:00
Jamin Collins
8db64ffd0a Merge branch 'fix-npe-token-scripts' into 'master'
Fix NPE for Tokens created by Liliana the Last Hope

See merge request core-developers/forge!263
2018-03-01 02:15:12 +00:00
Chris H
9a6f407a6d Fix NPE for Tokens created by Liliana the Last Hope 2018-02-28 21:09:27 -05:00
Jamin W. Collins
26c0df6e05 network play: fix for Commander and Tiny Leaders variants
This method is called numerous times, many before the Commander data has
been populated on the PlayerView objects.  This is reflected a few lines
above where similar logic is applied to the current PlayerView.  This
simply applies similar logic to the player's opponents.

Signed-off-by: Jamin W. Collins <jamin.collins@gmail.com>
2018-02-28 18:24:19 -07:00
Jamin W. Collins
420d31f825 replicate PlayerView(s) from incoming to existing
With standard network play games, we got lucky.  With variants the
existing approach was not accurately reflecting state changes.  This
appears to be resolved by replicating incoming PlayerView objects onto
their existing versions inside the Tracker object.

Signed-off-by: Jamin W. Collins <jamin.collins@gmail.com>
2018-02-28 18:09:49 -07:00
Jamin W. Collins
72ca147b73 ensure that selected variant is applied to GameRules
Signed-off-by: Jamin W. Collins <jamin.collins@gmail.com>
2018-02-28 17:59:38 -07:00
Jamin W. Collins
f1a001a834 retrieve GameType from the Lobby
The existing GameView does not accurately reflect the GameType when
variants are selected.  The Lobby does have the correct GameType.

Signed-off-by: Jamin W. Collins <jamin.collins@gmail.com>
2018-02-28 17:55:32 -07:00
Jamin W. Collins
2b704e16c7 disable all network play variants
Signed-off-by: Jamin W. Collins <jamin.collins@gmail.com>
2018-02-28 17:48:45 -07:00
Jamin W. Collins
2c55a9d86c bump commons-lang3 version for Java 9 support
Closes core-developers/forge#157

Signed-off-by: Jamin W. Collins <jamin.collins@gmail.com>
2018-02-28 17:44:30 -07:00
Rob Schnautz
e4d45a1369 Update eladamris_call.txt 2018-03-01 00:41:20 +00:00
Rob Schnautz
eebeb4a213 Update imperial_recruiter.txt 2018-03-01 00:40:46 +00:00
Rob Schnautz
c70791b25c Update ratcatcher.txt 2018-03-01 00:38:18 +00:00
austinio7116
9aa6990823 Fixed issue with using random n-color deck generators for commander and tiny leaders by switching to the same deck generator as the card-based deck generation for consistency and to prevent tiny leader decks being short of cards using the n-color generators. 2018-02-28 22:11:05 +00:00
maustin
67b04aa48b Merge remote-tracking branch 'origin/deckgenimprovements' into deckgenimprovements 2018-02-28 18:07:46 +00:00
austinio7116
0dc62d67ef Merge remote-tracking branch 'origin/deckgenimprovements' into deckgenimprovements 2018-02-28 18:07:37 +00:00
maustin
f3e91e22d9 Merge remote-tracking branch 'origin/deckgenimprovements' into deckgenimprovements 2018-02-28 18:06:14 +00:00
austinio7116
f8f3f640e3 Fixed adding wastes in colourless decks 2018-02-28 18:05:58 +00:00
austinio7116
63a1fe0b9e Fixed adding wastes in colourless decks 2018-02-28 15:14:41 +00:00
maustin
d9dffe0151 Merge remote-tracking branch 'origin/deckgenimprovements' into deckgenimprovements 2018-02-28 13:53:53 +00:00
austinio7116
6f28d0721e Refactoring of card-based deck generation to share the same generation code so that the Modern/Standard deck generation gets the benefit of improvements made in the Commander deck generation code - also fixed a few bugs with land counts, generic mana cards with a colour identity. Reduced the minimum number of connections in the matrix required to include cards in the card-based deckgen list to get more cards included in the model. 2018-02-28 13:53:43 +00:00
maustin
61eef2b86f Merge remote-tracking branch 'origin/deckgenimprovements' into deckgenimprovements
# Conflicts:
#	forge-gui/src/main/java/forge/limited/CardThemedDeckBuilder.java
2018-02-28 13:00:50 +00:00
austinio7116
74d0e4c4dc Refactoring of card-based deck generation to share the same generation code so that the Modern/Standard deck generation gets the benefit of improvements made in the Commander deck generation code - also fixed a few bugs with land counts, generic mana cards with a colour identity. Reduced the minimum number of connections in the matrix required to include cards in the card-based deckgen list to get more cards included in the model. 2018-02-28 13:00:10 +00:00
austinio7116
2b40b6e560 Refactoring of card-based deck generation to share the same generation code so that the Modern/Standard deck generation gets the benefit of improvements made in the Commander deck generation code - also fixed a few bugs with land counts, generic mana cards with a colour identity. Reduced the minimum number of connections in the matrix required to include cards in the card-based deckgen list to get more cards included in the model. 2018-02-28 12:10:53 +00:00
maustin
86878541f3 Merge remote-tracking branch 'origin/master' 2018-02-28 06:33:59 +00:00