Anthony Calosa
61b659294a
add toxic icon
2023-02-11 09:42:21 +08:00
marthinwurer
502d7946dd
added basic manabase evaluation
2023-02-07 23:38:50 -07:00
marthinwurer
929fea4cbf
initial failing test
2023-02-07 11:01:00 -07:00
marthinwurer
b74a2b3ba4
improved activated ability evaluation
2023-02-06 22:27:31 -05:00
marthinwurer
2d98e58b81
Added test that ensures all lands can be played
2023-02-06 22:27:31 -05:00
marthinwurer
58f0a72c4d
fixed the issue with rainbow lands
2023-02-06 22:27:31 -05:00
marthinwurer
5909979884
another failing test
2023-02-06 22:27:31 -05:00
marthinwurer
47c9d32435
implemented bounceland test and fix
2023-02-06 22:27:31 -05:00
marthinwurer
7c4b6c5f27
implemented tron test and fix
2023-02-06 22:27:31 -05:00
marthinwurer
270f7116ec
implemented basic test
2023-02-06 22:27:31 -05:00
Anthony Calosa
256e6c8894
Merge pull request #2360 from tool4ever/cleanup123
...
Card cleanup
2023-02-02 21:07:11 +08:00
Anthony Calosa
44d1d19bd6
Update phyrexian syntax, add ConniveAI ( #2357 )
...
* update syntax
- fix mobile display for compleated symbols
* update
* update cards
* fix Raffine Scheming Seer
* # ConniveAI
* remove unused var
* unused import
* add missing token script
2023-02-02 09:03:07 +03:00
tool4EvEr
e1f70c8906
Clean up
2023-02-01 12:24:38 +01:00
Anthony Calosa
c39ac61384
Merge pull request #2265 from jjayers99/master
...
Adventure mode revamp, Phase 1
2023-01-27 19:47:51 +08:00
Anthony Calosa
fd5801dcc2
Merge pull request #2252 from tool4ever/exertTest
...
Exert + Enlist from static
2023-01-27 19:44:11 +08:00
GitHub Actions
3b94d10c0f
[maven-release-plugin] prepare for next development iteration
2023-01-25 22:05:01 -05:00
GitHub Actions
2009b57a59
[maven-release-plugin] prepare release forge-1.6.54
2023-01-25 22:05:01 -05:00
tool4EvEr
fcc9c25725
Enlist first part
2023-01-25 21:42:05 +01:00
TabletopGeneral
33a1570011
Merge branch 'Card-Forge:master' into master
2023-01-19 00:10:11 -05:00
jjayers99
13d1949208
Adventure overhaul, phase 1
2023-01-19 00:09:07 -05:00
tool4ever
b0bc41f09c
Some cleanup ( #2242 )
2023-01-14 15:56:01 +00:00
asvitkine
c207a2def9
Simulated AI: Fix multi-target spell simulation. ( #2181 )
...
* Simulated AI: Fix multi-target spell simulation.
Removes an incorrect check that was comparing two semantically different things (number of possible to choose from vs. number of targets chosen). Adds a test using Incremental Growth, where number of possible targets is 5, but the spell requires only 3 to be chosen.
* Fix the root issue and eliminate incorrect simulations.
* Fix infinite loop with invalid targets.
* Fix logic.
2023-01-12 11:38:27 +00:00
Northmoc
73a9c83b05
ONE: Elesh Norn, Mother of Machines and support ( #2179 )
...
* elesh_norn_mother_of_machines.txt
* StaticAbilityDisableTriggers.java
2023-01-10 14:55:00 +00:00
Anthony Calosa
944933fd12
fix copying deck to clipboard
2023-01-02 15:55:31 +08:00
Anthony Calosa
dc17e44289
Merge pull request #2139 from asvitkine/cleanup_lobby_ui3
...
Clean up lobby code and fix a deck deselect bug.
2022-12-29 09:46:00 +08:00
asvitkine
d6af6aa68f
Fix deck re-randomization on new game.
2022-12-28 14:04:15 -07:00
asvitkine
b0d5d952e8
Add "ask simulated ai" dev option. ( #2180 )
...
* Add "ask simulated ai" dev option.
Also moves the setup/dump game state options at the end of the list, as they're different from the other ones and shouldn't just be in the middle.
Also makes the code a bit more concise for the different mouse listeners.
* Fix comment location.
2022-12-28 10:02:47 +00:00
DorkmasterFlek
0645b23405
Fix crash when filtering card sets in workshop
...
Null pointer exception caused a crash when trying to filter by set in the debug workshop. Null value was in the limitedSets parameter being passed in.
2022-12-26 15:44:42 -05:00
Anthony Calosa
a5decc0b78
Merge pull request #2157 from asvitkine/sim_imprv
...
Simulated AI: Fix land pruning logic and skip invalid targets.
2022-12-26 11:43:34 +08:00
asvitkine
00c6771608
Fix ArrayIndexOutOfBounds exception printed to stderr. ( #2141 )
2022-12-25 09:11:52 +00:00
asvitkine
6e8a21a58a
Simulated AI: Copy changed SVars when copying state. ( #2159 )
2022-12-24 08:51:54 +00:00
asvitkine
4c568f941f
Clean up unused vars.
2022-12-23 20:33:01 -07:00
asvitkine
e788d3683a
Improve comment.
2022-12-23 20:31:41 -07:00
asvitkine
eb0f426adc
Use ComputerUtilAbility.isFullyTargetable() and add more tests.
2022-12-23 20:28:05 -07:00
asvitkine
56b22ee73a
Simulated AI: Fix land pruning logic and skip invalid targets.
...
This change improves Simulated AI logic by eliminating many unnecessary simulations, particularly due to:
- Invalid targets involving counterspells countering themselves (including modal spells).
- Pruning identical land drop decisions.
Tests are added to cover these cases.
Some core logic is changed, in particular, SpellAbility.canTarget() was not rejecting self-targeting for counterspells. This was likely being done at a higher level somewhere (e.g. in UI code for choosing targets for the human player or AI-specific code for non-simulated AI).
Additionally, a convenience SpellAbility.hasLegalTargets() method is added, from the logic that was previously in AIController.java, so that it can be re-used by the simulation AI code.
A few small style clean ups are included in the code being changed.
2022-12-22 21:40:52 -07:00
Anthony Calosa
3dd574cc03
Merge pull request #2153 from Northmoc/comp
...
Compleated update/fix
2022-12-23 08:46:26 +08:00
tool4ever
40524426e2
Workshop: support DFC ( #2150 )
...
Co-authored-by: tool4EvEr <tool4EvEr@192.168 .0.59>
2022-12-22 12:18:21 +03:00
Northmoc
773894b575
Compleated update/fix
2022-12-21 11:29:02 -05:00
asvitkine
439b1a83c6
Cache deckchoosers to avoid re-randomizing decks.
2022-12-19 10:18:55 -07:00
asvitkine
ca54e87eb0
Remove more code duplication.
2022-12-19 07:20:22 -07:00
asvitkine
53e3899932
Small clean ups.
2022-12-18 23:26:01 -07:00
asvitkine
2abafbc2ee
Remove print statements.
2022-12-18 23:21:54 -07:00
asvitkine
dcc90fb0d1
Clean up lobby code and fix a deck deselect bug.
2022-12-18 23:15:27 -07:00
tool4EvEr
1f6c4a430d
Clean up
2022-12-11 20:14:22 +01:00
asvitkine
96b6bafc2b
Fix simulation AI exception with random effects.
...
Uses a seeded deterministic random generator when simulating choices, which ensures the same number of sub-choices are always used, which the code requires. Adds a test.
2022-12-09 16:08:44 -05:00
Northmoc
c4763528ff
fix tests
2022-12-08 08:10:33 -05:00
Paul Hammerton
e10fb8945f
Merge pull request #2049 from Card-Forge/fix-tests
...
update_tests
2022-12-08 10:04:55 +00:00
Paul Hammerton
2db15bee3c
update_tests
2022-12-08 10:04:17 +00:00
Anthony Calosa
92ce6a4fde
update TransitionScreen
...
- update Shaders
- adjust bgmatch y-axis
- adjust graytransition bias
- add versus bg for ArenaScene
2022-11-30 18:40:29 +08:00
Anthony Calosa
8ae6100a7c
Merge pull request #1794 from Robbatog/enforce_sets_in_quest
...
Enforce sets in quest
2022-11-29 16:47:38 +08:00