Commit Graph

2391 Commits

Author SHA1 Message Date
Anthony Calosa
0a6fc95203 remove UI_CLONE_MODE_SOURCE preference
- clone effect was updated last 2019 and this isn't used anymore, free up some space for options
2023-10-26 16:41:10 +08:00
tool4EvEr
ebbbbc847b Full Control 2023-10-25 21:58:39 +02:00
tool4EvEr
68391c30e2 Refactor confirm for cleaner distinction 2023-10-25 13:27:17 +02:00
Northmoc
043db92769 WHO - Doctor's companion and support 2023-10-24 01:04:30 -04:00
Northmoc
9b491912cc bamboozling_beeble.txt and Support 2023-10-21 18:26:02 -04:00
Northmoc
25e89b04a3 day_of_the_moon.txt and support/refactor in NameCard (#3890)
* day_of_the_moon.txt and support/refactor
2023-10-14 09:46:22 +00:00
Henry Eklind
346f3bf7fd Add back faced cards to writeDeckHtml (#3887) 2023-10-12 20:22:26 +03:00
tool4EvEr
6460dd44f7 Revert "Modify main game loop for use with basic AI unit tests (#3669)"
This reverts commit 1e116be3b0.
2023-10-07 15:17:57 +02:00
Hans Mackowiak
2cd59eb111 fix n't 2023-10-06 07:13:03 +02:00
asvitkine
03499cabd8 Fix variable name 2023-10-04 15:17:53 -04:00
asvitkine
54eab6b00f Remove unused import 2023-10-04 15:16:32 -04:00
asvitkine
685cd2583f Fix SimAI not respecting Pithing Needle effects.
Before this change, Sim AI would just choose effects that should be blocked by Pithing Needle (and similar cards). Adds a test.
2023-10-04 15:15:10 -04:00
marthinwurer
1e116be3b0 Modify main game loop for use with basic AI unit tests (#3669)
* Added game fuzzing test

* modified doc wording

* instrumentation for land order fixes

* progress

* new tests

* even more progress

* split out main game loop stuff

* some cleanup

* setting up the tapland tests

* some cleanup

* fixed ensure lands are playable

* Moved packages

* progress

* cleanup

* cleanup fuzz test

* cleanup imports

* fixed phase priority

* made max loop count constant

* made simulation test extend ai test

* more cleanup

* Update SimulationTest.java

remove unused imports

---------

Co-authored-by: Hans Mackowiak <hanmac@gmx.de>
2023-09-21 12:22:34 -04:00
tool4ever
461cc96800 Fix scripts (#3785)
* Fix scripts

* Fix adventure color when different to main part

---------

Co-authored-by: tool4EvEr <tool4EvEr@192.168.0.60>
2023-09-17 22:01:25 +03:00
friarsol
526c6b1fb9 When importing/buying a Commander deck, add Commander to quest owned cards 2023-09-08 11:19:33 -04:00
tool4EvEr
303ed50322 prune hidden information 2023-09-03 08:29:45 +02:00
tool4EvEr
54302fc89b Account for rebranded cards 2023-09-01 21:30:12 +02:00
tool4EvEr
3801813aa0 battle support 2023-09-01 12:20:18 +02:00
Anthony Calosa
64303f455e fix GUI for attached panels with each other
- closes #3661
2023-08-24 22:09:07 +08:00
tool4ever
2025487c34 Fix getTotalPreventionShieldAmount (#3654)
* Fix scripts

* Fix damage prevention display

* Optimize attachment tracking for netplay

* Phasing fix

* Fix NPE

* Tweak logic order

* Clean up

* Fix scripts

* Clean up

* Fix FailedToTarget

---------

Co-authored-by: TRT <>
2023-08-23 11:34:50 +03:00
friarsol
b6bce14ba3 Add a test related to #3156 2023-08-20 18:39:05 -04:00
friarsol
49df5a9993 - AI: Reduce priority of mana sources that make you sacrifice other things 2023-08-20 18:39:05 -04:00
TRT
0f002e6526 Fix AI never casting paired commanders 2023-08-14 21:43:47 -04:00
tool4EvEr
70de03381c Clean up 2023-07-28 19:56:08 +02:00
Northmoc
276fc693a8 MAT: tyvar_the_bellicose.txt + support (#3040) 2023-07-27 07:43:15 +00:00
Chris H
abb2ff3cdf Ring tempts you (#3453)
* Ring tempts you WIP

* add ring triggers

* Update RingTemptsYouEffect.java

* Add files via upload

* Update TriggerRingbearerChosen.java

* Update token-images.txt

* Update TrackableProperty.java

* Update CardView.java

* Update CardRenderer.java

* Update RingTemptsYouEffect.java

fix crash

* Update Card.java

* Update CardView.java

* Update TrackableProperty.java

* Update StaticAbilityContinuous.java

* Update StaticEffect.java

* Update RingTemptsYouEffect.java

* update sprite_manaicons.png

* Update FSkinProp.java

* Update FSkinImage.java

* Update CardFaceSymbols.java

* Update CardRenderer.java

* update trigger

* update desktop symbol, add aragorn company leader

* update cleanup, add bilbo, add birthday escape

* update cleanup

* add 3 cards

* add five cards

* add two cards

* update aragorn,update bombadil, add two cards

* add ten cards

* Update horses_of_the_bruinen.txt

* add dunedain rangers + cleanup

* Update gollums_bite.txt

* update cleanup

* add six cards

* delete unnecessary file

* Update rangers_firebrand.txt

* add two cards, add RingTemptedYou playerproperty

* update frodo, add three cards

* update sauron, samwise, add two cards

* Update sauron_the_dark_lord.txt

* update validplayer

* add six cards

* update smeagol

* update sauron ransom two piles

* add four cards

* add three cards

* update card scripts

* Update war_of_the_last_alliance.txt

* update scripts, update ringbearer

* update CardDetailUtil

* remove unused param

* Update affected

* remove unnecesary variables

* update

* update scripts

* update RingTemptsYouEffect

* fix cantblockby RingTemptsYouEffect.java

* The Ring: use numTemptYou for RingLevel

* Update dunedain_rangers.txt

* Update jaces_defeat.txt

* update lord of the nazgul

* fix theRing CardView

* update ringEffect, update translation

* update translation

* update gamestate

* replace switch with if else

* fix effect

* update gamestate, translation

* update restartgameeffect, remove unneeded clearRingBearer

---------

Co-authored-by: Anthony Calosa <anthonycalosa@gmail.com>
Co-authored-by: tool4ever <therealtoolkit@hotmail.com>
Co-authored-by: Hans Mackowiak <hanmac@gmx.de>
2023-07-26 20:07:41 +03:00
Anthony Calosa
574ee9733d update tests 2023-07-22 14:04:04 +08:00
paulsnoops
048b4451da Fix tests 2023-07-21 14:44:41 +01:00
tool4ever
eae566a83c Fix full replacement not reaching caller if chain contains update result (#3281) 2023-06-18 08:06:00 +00:00
paulsnoops
d5dde21a8d fix test 2023-06-12 12:34:26 +01:00
Anthony Calosa
13605d5350 update 2023-06-10 09:00:55 +08:00
Anthony Calosa
03ab5cba6b Merge branch 'master' into newmaster2 2023-06-09 21:43:11 +08:00
Anthony Calosa
a118a3df93 filter out invalid option for BoosterDraft 2023-06-09 21:16:25 +08:00
tool4ever
ba1d3fbe43 Clean up (#3225) 2023-06-09 11:47:59 +00:00
Hans Mackowiak
a7c0d41064 LKICopy Transform and flip (#3146)
* LKICopy Transform and flip

* Update CardUtil.java

Fix newCopy state when flipped or transformed

* Update CardUtil.java

fix backside

* Update CardUtil.java

add EffectSource

* CardStateName.Transformed needs to be copied

* Fixes #3201 somewhat

* Fix CardState for Fused Spells

* GameSimulationTest: Add Ratadrabik + TDFC token test
2023-06-06 13:43:40 +03:00
Anthony Calosa
3ed0ba5439 update imageView for deckbox 2023-05-29 08:08:55 +08:00
Anthony Calosa
85cfdfca4d Merge pull request #3150 from leriomaggio/formats/pauper
Chaning Pauper as Sanctioned format
2023-05-28 19:03:57 +08:00
Anthony Calosa
6fc7df840d prevent NPE 2023-05-25 10:17:09 +08:00
Valerio Maggio
2049a3dce4 New PauperArchetypeCardGen DeckType added and UI updated for desktop/mobile 2023-05-20 13:59:29 +01:00
Valerio Maggio
d8d02b0f4b Added Random Pauper Colour Deck gen in Gauntlet options 2023-05-17 17:30:56 +01:00
Valerio Maggio
fa09f8e21a Introducing new Random Pauper Color Deck gen in Deck Chooser 2023-05-17 17:30:03 +01:00
Valerio Maggio
8517384352 Deck Import now includes the extra note option if no current game type and All formats loaded.
If there is no current game type (i.e. GameFormat is displayed) the extra note option on the interaction between the two filter options is added.
2023-05-13 17:36:43 +01:00
Chris H
6437fde0c3 Make it clearer where the simulater is loading decks from (#3088) 2023-05-10 07:38:40 +02:00
tool4ever
9cdc7a27c1 Fix CounterAdded triggers (#3030)
* Fix CounterAdded triggers

* Fix invalid param

* Fix NPE

---------

Co-authored-by: TRT <>
2023-04-29 07:34:43 +03:00
Anthony Calosa
7db9f85bf9 (Android) enable numpad for getInteger prompt on supported platform 2023-04-28 19:03:24 +08:00
Anthony Calosa
b4d871219a Merge pull request #2959 from Northmoc/ichor
MOC: Ichor Elixir + support
2023-04-21 11:05:08 +08:00
friarsol
7d5c1bed3c Select pet must use an English string to store pet selection 2023-04-20 18:10:35 -04:00
Northmoc
9d85c14ca1 MOC: Ichor Elixir + support 2023-04-18 21:51:46 -04:00
Northmoc
22187b05f3 overgrown_pest.txt + refactor 2023-04-18 08:40:43 -04:00
friarsol
245e828dd9 Add Battles for DeckEditor types 2023-04-16 22:19:20 -04:00