Anthony Calosa
e0080f8d43
Merge pull request #2238 from tool4ever/simfix
...
Simulation: Fix including unjustified decisions
2023-01-14 07:43:46 +08:00
Anthony Calosa
99b9da15b0
Merge pull request #2233 from Simisays/FORMIRRODIN
...
ONE For Mirrodin
2023-01-14 07:43:01 +08:00
tool4EvEr
c2cea6fb3c
Fix including unjustified decisions
2023-01-13 19:32:16 +01:00
Simisays
2b8f2bc11c
update
2023-01-13 17:05:42 +01:00
Simisays
4fc61aeb64
update
2023-01-13 16:38:59 +01:00
Simisays
5a8decdf96
update
2023-01-13 16:02:43 +01:00
Simisays
cdc2c1896c
update
2023-01-13 15:59:35 +01:00
Simisays
e03023aee8
update
2023-01-13 11:38:14 +01:00
Anthony Calosa
643c21c0c4
Merge pull request #2232 from Card-Forge/cantblockKeywords
...
remove use of AddHiddenKeyword
2023-01-13 07:20:10 +08:00
tool4ever
7ef1f64870
Some cleanup ( #2234 )
2023-01-12 19:04:03 +00:00
Simisays
e2ce0e9ba0
update
2023-01-12 15:21:01 +01:00
Simisays
ef41f5e373
update
2023-01-12 15:07:43 +01:00
Simisays
41618a4f4f
update
2023-01-12 11:42:43 +01:00
Hans Mackowiak
7dce61044e
remove use of AddHiddenKeyword
2023-01-12 10:26:12 +01:00
tool4ever
876668c370
Fix Stack Overflow ( #2228 )
...
* Fix cards
* Fix Stack Overflow
* Performance fix
Co-authored-by: tool4EvEr <tool4EvEr@192.168 .0.59>
Co-authored-by: TRT <>
2023-01-11 14:06:12 +03: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
tool4EvEr
f783d5a198
Performance: improve deduping
2023-01-08 23:14:47 +01:00
Hans Mackowiak
fb3f14db71
ONE: Toxic Keyword ( #2213 )
...
* ONE: Toxic Keyword
* more scripts
* Proliferate Trigger
* add proliferate trigger
* ~ add Toxic to ai part
* ~ more toxic cards
* add Venser Corpse Puppet
* ~ fix jiang
* ~ fix venser
* predictPoisonFromTriggers Toxic+Double Strike
2023-01-08 23:13:58 +03:00
tool4EvEr
c23bf249f5
Trigger fix
2023-01-06 22:57:52 +01:00
tool4EvEr
794fc11ab1
Rework UntilHostLeavesPlay timing
2023-01-06 22:17:38 +01:00
add-le
6103fe3e89
label used in LandAbility
2023-01-06 19:53:41 +01:00
TRT
b1df2d1008
Fix DiscardedThisTurn
2023-01-05 16:10:50 +01:00
Anthony Calosa
40dbdec31c
Merge pull request #2199 from tool4ever/canthappen
...
ReplacementLayer.CantHappen
2023-01-05 16:53:00 +08:00
tool4EvEr
8986a025e7
Also remove controller
2023-01-04 22:25:04 +01:00
tool4EvEr
e8704e3c5e
Fix auras losing all previous traits when they can't ETB
2023-01-04 22:16:02 +01:00
tool4EvEr
a51582237a
Stonehewer Giant fix when it can't ETB
2023-01-04 20:49:06 +01:00
tool4EvEr
58a917e667
Store timestamp to be safe
2023-01-04 20:33:35 +01:00
TRT
414fb3fcef
Improve cleanup when card can't ETB
2023-01-04 16:15:16 +01:00
TRT
0250c9ca0b
Fix missing LKI for Startled Awake
2023-01-04 16:14:34 +01:00
TRT
c7feb44214
Fix "can't happen" applied with other replacements
2023-01-04 16:13:26 +01:00
tool4ever
359a97462e
Few fixes ( #2198 )
...
Co-authored-by: tool4EvEr <tool4EvEr@192.168 .0.59>
2023-01-04 08:04:17 +03:00
tool4EvEr
e63ba22630
Fix NumLoyaltyAct counting limit and additional wrong together
2022-12-31 10:48:06 +01:00
Northmoc
f67f5636e0
ONE: Green Sun's Twilight and support ( #2175 )
2022-12-30 17:48:09 +00:00
Anthony Calosa
4f365848e1
update
2022-12-29 10:11:48 +08:00
Anthony Calosa
fb4239196f
Merge branch 'master' into newmaster2
2022-12-29 09:44:26 +08:00
Anthony Calosa
21f9223981
fix Adventure cards in exile lose "may be cast" when rewinding casting
...
- closes #2176
2022-12-29 09:34:05 +08:00
tool4ever
24e32e7af6
Clean up ( #2185 )
2022-12-28 21:45:53 +00:00
tool4ever
b51c6a3f1b
Clean up ( #2182 )
2022-12-28 07:15:17 +00:00
Mike S
a886305410
ONE: Kaito, Dancing Shadow + Token script ( #2163 )
...
* ONE: Kaito, Dancing Shadow + Token script
ONE: Added script for Kaito, Dancing Shadow, plus his token script.
- Kaito, Dancing Shadow
- 2/2 colorless Drone artifact creature token with deathtouch and "When this creature leaves the battlefield, each opponent loses 2 life and you gain 2 life."
* Update c_2_2_a_drone_deathtouch_leavedrain.txt
* Engine change to DamageDoneOnce
Engine change to accommodate proposed change to Kaito, Dancing Shadow's script
* Update TriggerDamageDoneOnce.java
* Update kaito_dancing_shadow.txt
* Update kaito_dancing_shadow.txt
* Update TriggerDamageDoneOnce.java
fix indention
* Update kaito_dancing_shadow.txt
Co-authored-by: Hans Mackowiak <hanmac@gmx.de >
2022-12-27 08:50:38 -05:00
Northmoc
abe5828195
YBRO: By Elspeth's Command and Yotian Courier + support ( #2114 )
...
* by_elspeths_command.txt with support v1
* yotian_courier.txt
2022-12-26 13:25:15 -05:00
tool4ever
037f1d0b7b
Some fixes ( #2170 )
2022-12-26 09:42:03 +00: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
6e8a21a58a
Simulated AI: Copy changed SVars when copying state. ( #2159 )
2022-12-24 08:51:54 +00:00
asvitkine
eb0f426adc
Use ComputerUtilAbility.isFullyTargetable() and add more tests.
2022-12-23 20:28:05 -07:00
Anthony Calosa
7c722c0838
Merge pull request #2158 from tool4ever/wedding
...
Wedding Ring cleanup
2022-12-23 21:10:06 +08:00
TRT
d24abce1aa
Wedding Ring cleanup
2022-12-23 12:54:33 +01:00
asvitkine
e797c358bf
Add a comment.
2022-12-22 21:44:27 -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
Northmoc
773894b575
Compleated update/fix
2022-12-21 11:29:02 -05:00
TRT
2786c0efa5
Fix NPE
2022-12-20 10:53:58 +01:00