Hans Mackowiak
9d0433f812
- Use the original implementation for orderAndPlaySimultaneousSa for the AI for the time being until the AI side of the implementation can be improved.
2021-02-10 04:00:37 +00:00
Hans Mackowiak
a82f035211
TestCase: fix Manifest test
2021-02-09 22:47:31 +01:00
Bug Hunter
01c7aa5889
PlayEffect: support restrictions for both MDFC sides & split halves
2021-02-08 19:09:38 +00:00
Hans Mackowiak
a267b800b6
GameAction: when movedToStack, setSplitStateToPlayAbility
2021-02-07 17:26:09 +01:00
tool4EvEr
eb5764f69e
Fix AI casting X=0
2021-02-04 22:47:35 +01:00
Hans Mackowiak
2d9834e962
CantBeCast: rework StaticAbility for Void Winnower
2021-02-04 14:02:42 +00:00
Hans Mackowiak
a83fc18d92
AI: cleanup for AI to play Foretell cards
2021-02-04 13:07:41 +00:00
Hans Mackowiak
72f2c8b2cb
ExchangeControl: add Optional and two Targets also TargetsWithSameCardType
2021-02-02 17:06:19 +00:00
Northmoc
0e9f24cafd
tweaking usage of getTotalPower to include new Boolean
2021-02-01 14:06:49 -05:00
Hans Mackowiak
cc5f9b6b27
Add: can't block alone
2021-01-31 09:13:14 +01:00
Bug Hunter
0f28cbda4f
Revert "Fix token created when removed before trigger resolves"
...
This reverts commit e33644ecf3 .
2021-01-27 21:36:23 +00:00
Lyu Zong-Hong
104387c15a
Implement Illusionary Terrain
2021-01-24 18:46:44 +09:00
friarsol
c095651eaa
Small functional improvement
2021-01-13 21:20:41 -05:00
friarsol
43229a0f27
Adding AI for Switch PT abilities
2021-01-12 22:04:07 -05:00
Michael Kamensky
c72f099e7b
- Fix the SpellApiToAi assignment for ImmediateTrigger
2021-01-09 09:32:11 +03:00
Hans Mackowiak
584b6bd81e
WrappedAbility: fix TriggeredRemembered being sacrificed
2021-01-09 06:15:05 +00:00
Michael Kamensky
5e6d9cef13
- Remove an unnecessary variable.
2021-01-06 09:14:02 +03:00
Michael Kamensky
260b19d807
- Add targeting validity checks.
2021-01-06 09:13:29 +03:00
Michael Kamensky
a9346a16be
- Basic logic for Sigrid, God Favored.
2021-01-06 08:56:19 +03:00
Hans Mackowiak
9e91a0ac09
Forecast boast
2021-01-05 05:54:12 +00:00
Hans Mackowiak
7c9ac66e8a
AI: logic for X in Sac cost
2021-01-02 05:15:08 +00:00
Hans Mackowiak
d8f010d54a
DestroyAI: better logic for Pongify also Update for X
2020-12-25 23:23:06 +01:00
Michael Kamensky
e02b6b7264
Merge branch '1659-npe-at-forge-game-ability-abilityutils-getdefinedplayers-abilityutils-java-1084' into 'master'
...
CostRemoveCounter + CostRemoveAnyCounter: refactor remove X counters from something you control
Closes #1385 and #1660
See merge request core-developers/forge!3506
2020-12-23 08:05:26 +00:00
Hans Mackowiak
bbf788594f
CostRemoveCounter + CostRemoveAnyCounter: refactor remove X counters from something you control
2020-12-23 08:05:26 +00:00
Hans Mackowiak
e801ff94e5
AnimateAi: fix mandatory needs to use getTargetableCards
2020-12-19 08:50:21 +01:00
Hans Mackowiak
cb6f4c1431
IHasSVars interface to connect CardTraitBase -> Card -> CardState
2020-12-18 21:36:59 +01:00
Michael Kamensky
04ccb1d106
- Fix imports.
2020-12-08 10:57:34 +03:00
Michael Kamensky
63beb045f9
- Basic AI logic components for Raiding Party.
2020-12-08 10:51:39 +03:00
Hans Mackowiak
1da617424f
ChangeZoneAi: fix AI if no Origin Zone, use zones from TargetRestrictions
2020-12-05 17:25:08 +01:00
Hans Mackowiak
f8996d8853
AiController: only temporally set LastState for checking, and reset later
2020-12-02 18:26:50 +01:00
Hans Mackowiak
b74bbf1801
SpellAbility: remove the need to store mayPlayOriginal
2020-12-02 11:17:22 +01:00
Sol
6c9f9a4d6c
Merge branch 'playerControllerGameMemory' into 'master'
...
GameView: do not store Game anymore, get it from Match
Closes #1650
See merge request core-developers/forge!3457
2020-12-01 01:40:04 +00:00
Hans Mackowiak
0b262ef773
SpellAbility: fix SpellAbilityPickerTest
2020-11-30 13:50:28 +01:00
Anthony Calosa
e3e047d0b2
Unused import
2020-11-30 20:01:56 +08:00
Hans Mackowiak
49e7f20a41
WithFlash: refactor into Static
2020-11-30 10:50:15 +00:00
Michael Kamensky
aecd72b2d1
- Fix a logic error causing the AI to bounce lands like Dimir Aqueduct back to hand.
2020-11-30 08:24:46 +03:00
Hans Mackowiak
88c017f962
GameView: do not store Game anymore, get it from Match
2020-11-29 11:18:58 +01:00
Hans Mackowiak
70e75bde91
PlayerControllerAI: fix trigger shouldn't be added to stack if target is invalid
2020-11-29 09:47:03 +01:00
Hans Mackowiak
ab0331cd6e
SpellAbility: moved ManaSpent from Card into CastSA
2020-11-28 11:44:24 +01:00
Northmoc
8abb8e784d
Double agenda - Summoner's Bond!
2020-11-27 15:53:12 -05:00
Anthony Calosa
6810e7bc04
Prevent NPE
2020-11-27 12:44:33 +08:00
Michael Kamensky
b90a377fef
Merge branch 'pako-haldan' into 'master'
...
C20: Pako & Haldan play fetch!!
Closes #1365
See merge request core-developers/forge!2729
2020-11-22 12:29:57 +00:00
Tim Mocny
757c9208d9
C20: Pako & Haldan play fetch!!
2020-11-22 12:29:56 +00:00
Hans Mackowiak
ba37bf2312
PlayerController: fix copy activated abilities
2020-11-22 12:18:13 +01:00
Hans Mackowiak
3ee6dae070
fix missmatching equals type
2020-11-19 11:51:58 +01:00
Hans Mackowiak
f4df565e55
CombatUtil: turn 'can attack as if Haste' into Static Ability check
2020-11-16 21:16:44 +01:00
Northmoc
8f4fbcf805
HighestLoseLife AI support
2020-11-13 10:35:49 -05:00
Hans Mackowiak
5a8429351b
RunChaos: better effect for Pools of Becoming
2020-11-09 08:43:05 +01:00
Hans Mackowiak
460960123e
AnimateEffect: combine into the BaseEffect, remove not needed RemoveIntrinsicAbilities
2020-11-08 15:50:09 +00:00
Hans Mackowiak
71348b7317
TargetChoices extend ForwardingList
2020-11-08 10:48:01 +01:00