Commit Graph

4168 Commits

Author SHA1 Message Date
tool4ever
30a358dda1 Fix Wheel of Potential (#5983)
* Wheel of Potential revision

* Logic cleanup

---------

Co-authored-by: tool4EvEr <tool4EvEr@192.168.0.60>
2024-08-24 14:25:36 +03:00
Agetian
76f4113fb7 - First draft: fix AI for Fireball and Shatterskull Smashing (#5975) 2024-08-23 12:37:23 +03:00
Hans Mackowiak
77710cf1b0 refactor LandAbility to be created by CardFactory (#5047)
---------

Co-authored-by: tool4EvEr <tool4EvEr@192.168.0.60>
2024-08-23 10:57:33 +02:00
Agetian
45353b6d73 Fix Scry AI that requires targeting (Kozilek's Command) (#5972)
* - Fix Scry AI that requires targeting (Kozilek's Command)

* - Slight tweak to targeted Scry AI.
2024-08-23 07:38:42 +03:00
Agetian
3ae72e9d8a - Fix AI assuming no token created for non-creature tokens 2024-08-22 12:35:46 +02:00
tool4ever
d369c500df Misc cleanup (#5958) 2024-08-21 17:47:25 +02:00
Hans Mackowiak
7ba2d02172 GameActionUtil: use Multikicker as KeywordExtraCost (#5881)
* GameActionUtil: use Multikicker as KeywordExtraCost

* ~ remove getMultiKickerManaCost

* ~ remove Announce$ Multikicker

* some AI tweaks

* Fix MultiKicker for AI

* Update ComputerUtilMana.java

* Update ComputerUtil.java
2024-08-21 10:25:47 +03:00
Hans Mackowiak
492ff16c12 Keyword: add 'Bands with other' keyword (#5950) 2024-08-19 06:32:44 +02:00
Chris H
8be414d9dd Blb release (#5929)
* [maven-release-plugin] prepare release forge-1.6.64

* [maven-release-plugin] prepare for next development iteration

* Update pom.xml

* Update AndroidManifest.xml

* Update pom.xml

* Update Forge.java

---------

Co-authored-by: GitHub Actions <actions@github.com>
2024-08-14 21:06:29 -04:00
Renato Filipe Vidal Santos
fb4f36bb09 Fixing Rootwater Matriarch (#5909) 2024-08-13 08:24:06 +02:00
Jetz72
8f77b1e3ce GamePieceType and isCollectible (#5889)
* GamePieceType and isCollectible.
Can no longer ante conjured cards.
Helper set of ZoneTypes that are part of the command zone.

* Faster GamePieceType evaluation

---------

Co-authored-by: Jetz <Jetz722@gmail.com>
2024-08-12 09:35:16 +02:00
tool4ever
e93b130a36 Merge pull request #5865 from tool4ever/uphill
Fix Uphill Battle
2024-08-11 20:26:46 +02:00
Jetz
f7d0929ea0 Cleanup - More Lambdas to method references 2024-08-10 12:54:16 -04:00
Jetz
bdc890c32c Cleanup - Collections.sort -> list.sort 2024-08-10 12:43:38 -04:00
Jetz
0ee46ff6ef Cleanup - .equals("") -> .isEmpty() 2024-08-10 12:28:18 -04:00
Jetz
158ff30ff8 Cleanup - Missing break from loop with no further consequences 2024-08-10 10:19:01 -04:00
Hans Mackowiak
0b1acbd71d Update AiController.java (#5863)
* Update AiController.java

Add RepParams for AddCounter

* Update check with new required params

---------

Co-authored-by: TRT <>
2024-08-07 07:17:46 +02:00
TRT
0a773c30bc Fix Uphill Battle 2024-08-06 21:11:22 +02:00
Hans Mackowiak
140791ead7 Apply ReplaceAddCounter with ReplaceMoved for ETB Counter (#5791)
* Apply ReplaceAddCounter with ReplaceMoved for ETB Counter

* ~ fix EffectOnly for ETB Counters
2024-08-05 22:40:47 +02:00
Renato Filipe Vidal Santos
b15d71748e ETB update: Java code: AiController.java 2024-08-04 20:52:10 +02:00
tool4ever
51c78e952a Chief Engineer can't convoke for snow or colorless shards (#5760)
Co-authored-by: tool4EvEr <tool4EvEr@192.168.0.60>
2024-08-02 10:07:59 +02:00
Jetz72
d62dfe1c8c Miscallaneous Cleanup Part 2 - Lambdas and Method References (#5737)
* Cleanup - Unnecessary Boxing

* Cleanup - Unnecessary Unboxing

* Cleanup - For-Each Loops

* Cleanup - `indexOf != -1` -> `contains`

* Cleanup - Merge identical catch blocks

* Cleanup - Try-with-resources

* Cleanup - System.lineSeparator

* Cleanup - Reference types to primitives
Some loops over Integers were switched to IntStreams to hopefully cut down on overall boxing.

* Cleanup - Manually filling and copying arrays

* Remove unused imports

* Switch a lambda to a method reference

* Cleanup - CardPredicate Aggregates to method references

* Cleanup - Other static functions to method references

* Cleanup - Ambiguous class reference
Unclear when or how this happened...

* Cleanup - Anonymous -> Method reference

* Cleanup - Anonymous -> Lambda

* Cleanup - Comparator helper methods

* Cleanup - final method in final class

* Cleanup - private final methods

* Remove unused imports

* Convert a couple more lambdas to comparators.

* Simplify creature type list comparison.

---------

Co-authored-by: Jetz <Jetz722@gmail.com>
Co-authored-by: tool4ever <therealtoolkit@hotmail.com>
2024-08-02 08:23:58 +03:00
Agetian
042887e4e1 - Move over MadSarkhanDragon logic, tweak DamageEachAi logic for Sarkhan as well 2024-08-01 11:53:54 +02:00
tool4ever
31275df288 Fix casting Chaotic Strike when no attacker gets declared (#5745) 2024-07-31 20:12:04 +00:00
Hans Mackowiak
7fb96c5f18 Pawprint (#5693)
* Pawprint
---------

Co-authored-by: Agetian <stavdev@mail.ru>
2024-07-29 16:32:46 +02:00
Jetz72
3968c7e197 Miscallaneous Cleanup (#5703)
* Cleanup - Unnecessary Boxing

* Cleanup - Unnecessary Unboxing

* Cleanup - For-Each Loops

* Cleanup - `indexOf != -1` -> `contains`

* Cleanup - Merge identical catch blocks

* Cleanup - Try-with-resources

* Cleanup - System.lineSeparator

* Cleanup - Reference types to primitives
Some loops over Integers were switched to IntStreams to hopefully cut down on overall boxing.

* Cleanup - Manually filling and copying arrays

* Remove unused imports

* Switch a lambda to a method reference

---------

Co-authored-by: Jetz <Jetz722@gmail.com>
2024-07-29 17:23:43 +03:00
Chris H
b143aaf141 Initial Gift development (#5691)
* Initial Gift development

* Update blooming_blast.txt

* Add Kitnap

* Add gift trigger

* Display fixes

---------

Co-authored-by: tool4ever <therealtoolkit@hotmail.com>
Co-authored-by: tool4EvEr <tool4EvEr@192.168.0.60>
2024-07-27 14:45:36 +03:00
tool4ever
76efa1be0d Improve anchor word handling (#5673)
* Support for Nowhere to Run
2024-07-22 20:07:36 +00:00
Hans Mackowiak
95ae25e972 Add Forage Cost (#5633)
* Add Forage Cost

* ~ fix PaymentDecision for now

* TriggerForage: add Forage trigger

* CostForage: Add First Part of Human Sacrifice Food Logic

* Human ready, first Forage card

* AiCostDecision: Basic AI for Forage
2024-07-20 17:25:03 +03:00
Agetian
d929dcaa28 - Add basic AI for The Capitoline Triad. (#5623) 2024-07-17 15:54:19 +03:00
Renato Filipe Vidal Santos
bb9c6dfd76 July 2024 cleanup: code (#5536)
* Update ChooseGenericEffectAi.java

* Update CardTranslation.java

* Update AltWinAchievements.java

* Update altwin-achievements.txt

* Update EffectEffect.java
2024-07-07 13:37:01 +03:00
tool4ever
897741ba0a Fix LKI entering battlefield (#5543)
Co-authored-by: tool4EvEr <tool4EvEr@192.168.0.60>
2024-07-07 13:36:29 +03:00
Chris H
81fa38cc27 If Commander going to hand, don't replace to command zone (#5504) 2024-07-03 16:46:07 +03:00
Chris H
b03b3517ea Backup Plan with hot swappable Input 2024-07-01 23:01:04 -04:00
GitHub Actions
64b4b58399 [maven-release-plugin] prepare for next development iteration 2024-06-28 13:06:40 -04:00
GitHub Actions
463e4b1267 [maven-release-plugin] prepare release forge-1.6.63 2024-06-28 13:06:40 -04:00
Hans Mackowiak
d5ab4be451 Invasion Plans using Timestamp instead (#5458)
* Invasion Plans using ReplacementEffect instead

* StaticAbilityContinuous: use DeclaresAttackers and DeclaresBlockers with ts

* update scripts

* Update master_warcraft.txt

* Player: update DeclaresAttacker and DeclaresBlocker with getDefinedPlayers

---------

Co-authored-by: tool4ever <therealtoolkit@hotmail.com>
2024-06-24 14:48:20 +03:00
Agetian
e4f67afb82 - Fixed AI ignoring Mogg Bombers damage trigger. (#5456) 2024-06-23 10:20:52 +03:00
TRT
2fb300eeb6 Fix Wonderscape Sage 2024-06-05 11:37:30 +02:00
Chris H
66bd484f27 Add Animus of Predation 2024-06-04 12:46:26 -04:00
tool4ever
5e981fbee8 StaticAbilityAlternativeCost: next round of work (#5298) 2024-06-03 12:49:24 +00:00
tool4ever
2ddcaab59d Some fixes (#5320)
Co-authored-by: tool4EvEr <tool4EvEr@192.168.0.60>
2024-05-30 08:32:08 +03:00
Northmoc
54e369917a YOTJ Heist (#5304) 2024-05-29 17:18:32 +03:00
tool4ever
2d79cd761b Update ChooseGenericEffectAi.java 2024-05-21 14:22:32 +02:00
Agetian
a06b29ccd6 Comment tweak (#5270)
* - Basic AI logic for Tireless Provisioner.

* - Comment tweak
2024-05-21 14:34:43 +03:00
Agetian
f10330c5b7 - Basic AI logic for Tireless Provisioner. (#5269) 2024-05-21 14:32:23 +03:00
tool4ever
2194c1af84 Clean params (#5260) 2024-05-19 09:26:19 +00:00
Hans Mackowiak
c71c2c25e1 TokenAi: do not create Token that can't block in Response 2024-05-18 05:59:52 +02:00
Hans Mackowiak
3309a48710 AI: Basic Logic for Destroy RE 2024-05-16 20:19:07 +02:00
tool4ever
87988eede7 Effect cleanup and fixes (#5247)
* Fix script ordering

* Remove obsolete code

* Fix Zethi copies not entering the stack sequentially
2024-05-16 15:34:42 +02:00