foul-magics/Mage/src/main/java/mage/util
Alexander Novotny a36a7d9b7f
[LTR] Add Goldberry, River-Daughter (#10524)
* Added Goldberry

* Slight optimizaztion

* Happy Path Test

* More unhappy tests

* Sanity check for Goldberry's counter choices

* Updated player.getMultiAmount to support individual constraints

* Some cleanup

Also modified ResourcefulDefense to use new multi amount api

* Updated logging

* Added hint for number of counters

* Fixed issue with Resourceful Defense

* Improvements to defaults

Default list will properly make sure to stay within individual maximums
If a player is asked for a choice that isn't actually a choice because each choice's min and max are equal, instead the default response is immediately returned. This helps with situations like moving a counter off of Goldberry when she only has one counter on her.

* -1/-1 Counter test

* Fixed issue with -1/-1 counters

* Adjusted dialog to properly enforce constraints
2023-07-28 21:29:40 -04:00
..
functions Added Storm of Saruman card (#10433) 2023-06-08 16:58:28 -04:00
trace Reworking card types in preparation for implementing Grist, the Hunger Tide (#7899) 2021-07-09 07:28:43 +04:00
validation fix and rework commander validation (fixes #10345) 2023-05-23 19:25:00 -04:00
CardUtil.java text adjustments and typo fixes 2023-07-25 00:57:41 -04:00
CircularList.java
ClassScanner.java Fixes URL encoded path returned by resource.getFile() (#8865) 2022-10-08 08:32:37 -04:00
Copier.java
CopierObjectInputStream.java
Copyable.java Fixed miss copy code in Game object (lki, cards), removed unused code. Possible fixes: 2021-08-12 00:08:08 +04:00
DateFormat.java
DebugUtil.java * GUI: new reworked GUI and card render engine, card icons and dozens of other fixes (see full list in related PR); 2021-01-30 16:38:55 +04:00
DeckBuildUtils.java Feature improvement: automatic deck submissions now add lands sensibly (#10159) 2023-04-28 18:59:24 +04:00
DeckUtil.java
ExileUtil.java [CLB] Implement Lae'zel's Acrobatics. Changed similar cards to use common logic (#9856) 2023-03-01 18:50:14 +00:00
FastByteArrayInputStream.java
FastByteArrayOutputStream.java
GameLog.java [AFR] fixed game log issue with +2 Mace 2021-07-10 08:44:59 -04:00
JarVersion.java dev: enabled debug main menu by default in developer builds (example: test render dialog) 2023-05-09 00:49:46 +04:00
JsonUtil.java Dev: migrated to single json lib (removed json-simple from deck import code), clean up guava lib usage in cards; 2021-10-01 17:57:54 +04:00
ManaUtil.java rename classes (#10383) 2023-05-17 18:49:30 -04:00
MessageToClient.java Refactor: removed default comment headers 2021-02-21 08:15:16 +04:00
MultiAmountMessage.java [LTR] Add Goldberry, River-Daughter (#10524) 2023-07-28 21:29:40 -04:00
RandomUtil.java Reworking goad effects (ready for review) (#8034) 2022-02-15 09:18:21 -05:00
StreamUtils.java
SubTypes.java
TargetAddress.java
ThreadLocalStringBuilder.java
TournamentUtil.java Game: fixed that search by card name was able to return a wrong card (example: cheat command) 2023-05-08 22:58:30 +04:00
TreeNode.java