tool4ever
ba1d3fbe43
Clean up ( #3225 )
2023-06-09 11:47:59 +00:00
Hans Mackowiak
8f1100dff3
Amass type ( #3222 )
...
* AmassEffect: add Type parameter
* fix AmassAi
* update editions tokenscripts
* Update AmassEffect.java
early return if no Army could be created
2023-06-09 12:56:46 +03:00
Agetian
86bd82aa37
- Fix Entreat the Angels AI while attempting to maintain the fix for the forced cast. ( #3214 )
2023-06-06 19:52:30 +02:00
Agetian
f8814df5fb
Improve AI playability for Nissa, Genesis Mage ( #3208 )
...
* - Improve AI playability for Nissa, Genesis Mage.
* - Check the root ability for Planeswalker costs in activateForCost.
- UntapAi: Reset targets earlier so that they don't linger on the SA (fixes the AI mistakenly assuming that something has already been targeted by the API when just starting a new iteration of the check).
* - Fix imports.
2023-06-06 11:44:41 +03:00
Anthony Calosa
b45d543e1a
include setcode and artid for gamestate
2023-05-31 11:55:59 +08:00
Agetian
a1a24b3270
- Fix AI not playing Jhoira in MoJhoSto. ( #3160 )
2023-05-27 12:06:20 +00:00
tool4EvEr
d4030e0f1d
Treat replaceAbilityText bandaids
2023-05-25 22:13:03 +02:00
TRT
05c34c1459
Add TODO
2023-05-22 10:53:21 +02:00
TRT
0230d29a4f
Tweaks
2023-05-22 07:53:50 +02:00
tool4EvEr
3a8213fcca
Chain comparators correctly
2023-05-21 23:59:37 +02:00
Michael Kamensky
0824842f1d
- Use Round instead of Ceil (for hopefully a bit more granularity).
2023-05-21 16:27:51 +03:00
Michael Kamensky
456f1af310
- Attempt to make a formula for evaluating relative priority of creature spells.
2023-05-21 16:26:30 +03:00
Michael Kamensky
0e4ac8859c
- AI: always evaluate creatures via evaluateCreature when deciding priority (better approach)
2023-05-21 12:48:57 +03:00
Michael Kamensky
581c25c610
- AI: always evaluate creatures via evaluateCreature when deciding priority.
2023-05-21 08:47:19 +03:00
Michael Kamensky
76753886e7
- Improve AI for Tempered Veteran.
2023-05-20 14:38:42 +03:00
Agetian
1a76a7e81f
AI: Evaluate creature spells when deciding between two spells with the same CMC ( #3133 )
...
* - Fix the name of the swamp tribal town.
* - Update deck conversion toolchain to the one that was used for the May 2023 MTGDecks.net archive update.
* - Evaluate creature spells when deciding priority for two spells with the same CMC
* - Evaluate the card based on its state.
* - Evaluate the card based on its state, wrapper approach.
2023-05-18 16:19:14 +03:00
tool4ever
6de7dd6bcc
Use current shard when trying to pay with combo mana ( #3130 )
...
* Use current shard when trying to pay with combo mana
2023-05-18 07:21:08 +00:00
tool4ever
b397be8cea
PlayAi tweak ( #3127 )
...
Co-authored-by: TRT <>
2023-05-17 13:37:18 +03:00
Agetian
345db4e2c7
Fix AI not choosing to fight when putting counters from a trigger ( #3126 )
...
* - Fix the name of the swamp tribal town.
* - Fix AILogic$ Fight when checked from a trigger.
* - Move the code to a better location.
* - Only return in the FightAi branch if canFightAi succeeded.
* - Remove a comment for now, since the AI logic check is different compared to the one in checkApiLogic.
2023-05-17 13:31:58 +03:00
Agetian
6753ad23ad
AI: Fix counters calculation for Wildborn Preserver activation ( #3119 )
...
* - Remove legacy hacky code that's apparently not needed anymore.
* - Fix imports.
* - Restore the original code but tweak it to hopefully accomodate for Wildborn Preserver.
* - Clean up / clarify.
* Remove fake SVar
---------
Co-authored-by: tool4EvEr <tool4EvEr@192.168 .0.59>
2023-05-16 21:42:48 +03:00
Agetian
38990aff32
Battle AI support + improve Battle mechanics support ( #3107 )
...
* - First draft of (very sketchy) Battle AI code.
* - Imports fix.
* - Slightly cleaner refreshCombatants.
* - Update Combat to allow the protecting player to participate in declaring blocks to defend a battle.
* - Update AiBlockController in order to allow the AI to participate in defending battles it's protecting.
* Clean up
* - Minor cleanup.
* Fix checking backside
* Add TODO
* Fix missing combat removal
* - Suggested minor cleanup.
* - Fix imports.
* - Improve support for battles in getAllPossibleDefenders.
* - AI: prefer own Battles before choosing allied Battles.
* Fix ClassCastException
---------
Co-authored-by: TRT <>
2023-05-15 19:56:31 +03:00
Agetian
71362ce82b
Update support for Meld in GameState/Puzzle Mode. ( #3078 )
...
* - Simplify MeldedWith support in GameState (as a parameter for Meld).
* - Maintain support for old-style "|Meld" game states just in case.
2023-05-08 14:12:33 +02:00
Michael Kamensky
f4984495f4
- Add support for MeldedWith in Game State.
...
- Add proper support for PS_ONE3 (goal and all).
2023-05-08 14:08:46 +03:00
Hans Mackowiak
bb3709ebad
CardFactory: Token Copy of transforming permanent
2023-05-07 22:53:24 +02:00
tool4EvEr
906204554a
Battle support
2023-05-02 17:19:07 +02:00
Hans Mackowiak
d6109fe219
ComputerUtil: mark keywordcounter as useless if Card already has that keyword
2023-04-30 15:13:25 +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
TRT
1035592fb7
Fix incomplete removal due to FCollection
2023-04-28 11:10:05 +02:00
tool4EvEr
2924329e57
Fix AI assigning more than 1 dmg with trampling deathtouch attacker
2023-04-26 21:28:08 +02:00
tool4EvEr
19510914b4
Fix ClassCastException when adding attacker
2023-04-26 20:21:01 +02:00
tool4EvEr
49bf19948e
Fix treating Battle as PW
2023-04-26 20:03:42 +02:00
GitHub Actions
53bed72fe5
[maven-release-plugin] prepare for next development iteration
2023-04-24 13:03:27 -04:00
GitHub Actions
b8c6086cc0
[maven-release-plugin] prepare release forge-1.6.56
2023-04-24 13:03:27 -04:00
tool4EvEr
f1e455de2a
Haunt fix
2023-04-24 09:47:32 +02:00
Northmoc
b930e2be97
MOC: Chaos Ensues!!
2023-04-21 17:09:54 -04:00
Anthony Calosa
b4d871219a
Merge pull request #2959 from Northmoc/ichor
...
MOC: Ichor Elixir + support
2023-04-21 11:05:08 +08:00
Northmoc
af88a1441f
fixes
2023-04-19 16:54:17 -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
tool4EvEr
2b9a5a290e
Some fixes
2023-04-13 08:10:18 +02:00
tool4ever
76a2023745
Clean up ( #2907 )
2023-04-12 20:48:12 +00:00
tool4EvEr
bf3f0aed06
Cleanup & Fixes
2023-04-12 09:11:09 +02:00
tool4ever
69a723d451
Clean up ( #2893 )
2023-04-11 14:06:07 +00:00
Northmoc
1f82420261
DamageEachEffect refactor + MOM Tandem Takedown / MOC Great Aerie ( #2814 )
...
* DamageEachEffect refactor
* AiAttackController refactor param
* SpellAbilityEffect.tokenizeString use joinHomogenous
* refactor old cards, add tandem_takedown.txt
* the_great_aerie.txt + Support + refactor grim_contest.txt
2023-04-07 12:13:55 +00:00
Northmoc
ee418ded60
MOM: Backup keyword and cards ( #2799 )
...
* Backup keyword setup
* Backup cards
* KeywordWithAmount spacing
* mirror_shield_hoplite.txt and support
* fix for KeywordWithAmount
* doomskar_warrior.txt fearless_skald.txt
* add PlayMain1
* typo fix
* add logic to ComputerUtil.castPermanentInMain1 instead of using PlayMain1 on cardscripts
2023-04-07 05:32:41 +03:00
tool4EvEr
7def3a9e6b
Tweak logic so it checks the right face for cost
2023-04-02 10:31:53 +02:00
tool4EvEr
788c655802
Tweak logic for Nine-Fingers Keene vs. Duelist's Heritage
2023-03-29 21:47:41 +02:00
tool4EvEr
101306e61c
PaidLists now store if the CostPart source is linked to host
2023-03-29 17:40:59 +02:00
tool4EvEr
99f8cca233
Clean up
2023-03-29 16:02:58 +02:00
tool4EvEr
eaee14f3ca
Clean up
2023-03-23 11:10:04 +01:00