Michael Kamensky
d1eea7e7ba
Merge branch 'mayPlayLand' into 'master'
...
May play land
See merge request core-developers/forge!415
2018-04-17 14:54:04 +00:00
Hanmac
3b9ea37907
Player: add playLandNoCheck to be used by LandAbility
2018-04-17 09:04:50 +02:00
Michael Kamensky
1a5710c564
Merge branch 'ai-better-pw-damage' into 'master'
...
Better ranking system for damaging planeswalkers directly
See merge request core-developers/forge!414
2018-04-17 07:01:47 +00:00
Hanmac
79c9c914e2
LandAbility: do extra ability class, so it can use mayPlay
2018-04-17 08:07:11 +02:00
Hanmac
190db26ebd
MayPlay: fixed Bestow and MorphDown Effects
2018-04-17 08:07:11 +02:00
Meerkov
5c9a27c930
Update lots of code to use MyRandom directly.
...
Some parts of the code were using the normal random, instead of going through the MyRandom class. This makes it much harder to change the RNG method later. For example, you may want to change the RNG to always be seeded with the same number, for running AI experiments. This change makes that easier.
2018-04-16 21:26:12 -07:00
Meerkov
645d70e6ce
Fixes inefficient shuffle algorithm.
...
Note that shuffling 13 times in a row is not necessary. Collections.shuffle will produce every possible shuffle with equal probability already.
2018-04-16 20:40:20 -07:00
Meerkov
1cfb937490
Updates the project for Java 8.
...
Maps.newHashMap() was replaced with null in numerous locations. A null check is performed in the locations that read this value. This prevents unnecessary allocation of memory and fixes compiler errors.
"final" keyword added to RepeatEachEffect, which used local variables in non-local scope.
2018-04-16 18:26:15 -07:00
Agetian
ae05e58a13
- Somewhat more explicit method name.
2018-04-16 22:18:33 +03:00
Agetian
2c9b23fc6d
- Better ranking system for damaging planeswalkers directly (accounts for loyalty and closeness to ultimate for now).
2018-04-16 21:31:49 +03:00
austinio7116
721ce4196b
Support for listing an exhaustive list all formats a deck is valid in if required
2018-04-15 12:19:00 +01:00
maustin
0265bcc038
Merge branch 'master' into historicformats
2018-04-15 09:10:12 +01:00
swordshine
85458cfe5a
Merge branch 'ai-dealdamage-to-planeswalker' into 'master'
...
Simple direct damage to planeswalkers AI
See merge request core-developers/forge!381
2018-04-15 07:43:54 +00:00
austinio7116
c05a3c64ee
Improved performance of checking deck format legality
2018-04-15 06:39:56 +01:00
austinio7116
17fc231db6
Fix to ensure invalid format files do not crash game on startup
2018-04-15 00:24:39 +01:00
austinio7116
a36b2ed13e
Added some default date handling for gameformats
2018-04-14 20:48:57 +01:00
austinio7116
71647e5bc9
Implemented parser and comparator for using effectivedate in historic gameformats
2018-04-14 20:44:08 +01:00
maustin
00ef5bc0e6
Merge branch 'dominariadraft' into historicformats
...
# Conflicts:
# forge-game/src/main/java/forge/game/GameFormat.java
2018-04-14 20:31:56 +01:00
maustin
b5686b44c4
Dates for formats
2018-04-14 20:29:28 +01:00
austinio7116
b20733d492
Changed logic for restricting legendary cards in format to exclude planeswalkers
2018-04-14 18:48:33 +01:00
austinio7116
f69a8af83f
Added new RestrictedLegendary option to formats to enable blanket restriction on legendary cards
2018-04-14 18:41:37 +01:00
maustin
1145a3a513
Merge branch 'master' into historicformats
2018-04-14 17:42:09 +01:00
Hanmac
32737ed9a3
MayPlay: fixed mayPlay with multiple static abilities
2018-04-14 09:24:26 +02:00
Hanmac
aae587c618
SpellAbility: if it has MultikickerCost it is kicked too
2018-04-13 23:41:45 +02:00
Agetian
f2af85597e
- Fixed a typo in the PLANESWALKERS card predicate preset.
2018-04-13 21:24:33 +03:00
maustin
2f6aa43d40
Merge branch 'master' into historicformats
2018-04-13 08:11:05 +01:00
austinio7116
15c9281988
Updated gameformat to only list one format of each historical subtype for each deck
2018-04-13 07:54:07 +01:00
austinio7116
5df48873eb
Update of game formats from latest cleanup - plus moved to individual folders and extended subtypes
2018-04-12 09:05:27 +01:00
Hanmac
f7bed9089c
AbilityManaPart: add valid check for the SA itself
...
split later into extra check for SA and Host
2018-04-12 07:16:31 +02:00
swordshine
333ba13869
Merge branch 'staticDamageToReplace' into 'master'
...
Replacement Effect instead of StaticDamage
See merge request core-developers/forge!332
2018-04-12 00:43:22 +00:00
swordshine
ab6de1752f
- Fixed issue #9 (Angrath, Minotaur Pirate vs. indestructible creatures
...
)
2018-04-11 17:48:47 +08:00
maustin
e59446c628
Merge branch 'master' into historicformats
2018-04-10 19:27:34 +01:00
Hans Mackowiak
f6dc955d4b
Update CopyPermanentEffect
2018-04-10 17:48:30 +00:00
maustin
ae2c56abce
Updated GameFormat reader to support nested folders plus user defined custom formats from their local user directory. Moved Digital formats to a subfolder to demonstrate
2018-04-10 09:49:02 +01:00
maustin
e51d39dcc3
Removed duplicate renamed formats
...
Corrected extended additional cards list to separate with ; not , - I've realized all the other historic formats have this issue in their banned/restricted list and will need updating
2018-04-10 08:25:08 +01:00
austinio7116
a5d964a334
Updated formats to include subtype enum and made a first batch attempt to set the value
...
Now sorting formats by type, subtype then name
Added new "additional" property to gameformats to allow additional non printed but legal cards to be included e.g. dual lands in extended 1999
2018-04-10 07:28:31 +01:00
Hanmac
b5be110f0c
Replacement Effect instead of StaticDamage
2018-04-10 07:15:41 +02:00
austinio7116
3e1f5c7632
Added set code validation check to gameformat parser
2018-04-09 23:35:08 +01:00
austinio7116
49dd3c0659
Modified format filter selection options to support large numbers of historic formats in the menu - uses a similar UI to the set selector
2018-04-09 23:35:08 +01:00
austinio7116
def7ba5faf
Updates to UI to separate out format filters
2018-04-09 23:35:08 +01:00
austinio7116
0636695052
Just use sanctioned formats where relevant, exclude historic formats where needed - may add these back later via new UI elements
2018-04-09 23:35:08 +01:00
Hanmac
0bc12e744e
CopyPerm: rewoke and update with Populate
2018-04-09 07:50:44 +02:00
Hanmac
6c04084891
FlipCoin: add Amount so Head and Tails abilities can use the amount
2018-04-07 11:14:07 +02:00
swordshine
633a1d644a
- Added Damping Sphere
2018-04-06 16:05:08 +08:00
swordshine
5af448c039
- Fixed Song of Freyalise
2018-04-06 13:02:10 +08:00
swordshine
ecac92d9b3
- Skipping your "next" untap step is cumulative.
2018-04-05 22:16:54 +08:00
swordshine
45b6f1a6ef
- Fixed "precombat main phase" triggers
2018-04-05 22:07:15 +08:00
swordshine
d61aeb09c0
- Fixed Sage of Ancient Lore
2018-04-05 21:28:15 +08:00
swordshine
a5ea35e6b7
- Fixed cost description for Cycling (Street Wraith)
2018-04-05 20:18:21 +08:00
Hanmac
e0dc5d4ced
Saga: fix if last ability is countered
2018-04-04 07:49:04 +02:00