Michael Kamensky
43b51c4795
- DamageDealAi: for some weird reason, PayX needs to be on both SA and the host, otherwise some cards break for the AI
2019-05-28 14:30:06 +00:00
Agetian
2da373b119
- Fix DamageDealAi PayX setup
2019-05-28 07:53:30 +03:00
Sol
6371e708b0
Merge branch 'master' into 'mulligans'
...
# Conflicts:
# forge-game/src/main/java/forge/game/GameAction.java
2019-05-28 00:39:05 +00:00
Chris H
220e75a81b
Extract mulligans from GameAction
...
- Add a few different types of Mulliganing that should be expandable
- To finish the work, we need the AI to better handle London mulligans
- And have the UI make this option selectable
2019-05-27 15:58:20 -04:00
Agetian
8caf66ecea
- AnimateAllAi: implement an "Always" logic hook for cards that are generally beneficial to activate.
2019-05-25 08:05:03 +03:00
Agetian
1c0f98e55a
- Fix a logic error in RearrangeTopOfLibrary AI
2019-05-25 07:05:18 +03:00
Agetian
86480dde6f
- Make the AI consider the NonLegendary flag on AF Clone and AF CopyPermanent
2019-05-24 06:17:48 +03:00
Agetian
2daf92608c
- AI logic support for Urza, Lord High Artificer.
...
- Minor fix.
2019-05-23 21:51:39 +03:00
Agetian
f2f1c8997e
- Improve AI targeting logic for Transmogrifying Wand.
2019-05-23 06:27:30 +03:00
Michael Kamensky
c5e4518779
AI logic to blink-reload a planeswalker using Teferi's Time Twist.
2019-05-21 14:39:33 +00:00
Agetian
4e0b252ea0
- Implement some logic support for Finale of Revelation.
2019-05-21 08:18:01 +03:00
Agetian
0bf336140a
- Sarkhan trigger damage doesn't depend on the number of attackers.
2019-05-19 18:55:00 +03:00
Agetian
ab2d9afbf6
- Basic Teferi's Time Twist AI logic (currently only uses it to flicker-save its permanents)
2019-05-19 18:52:46 +03:00
Agetian
ad1c42acfc
- AI precaution against attacking into Sarkhan the Masterless
2019-05-19 18:35:39 +03:00
Agetian
84480ddf72
- DamageDealAi: SVars for PayX are now processed per spell ability. Fixes e.g. paying 0 for Explosion.
...
- Teferi's Time Twist: deckbuilding hint
2019-05-19 17:19:41 +03:00
Hans Mackowiak
e9ad4be05d
- CardView: fall through in case a card in exile is face down, so that all the relevant checks are made.
2019-05-19 02:36:56 +00:00
Agetian
e93421d4b7
- Fixed a logic error in DigAi which prevented the AI from paying a mana cost e.g. for Vivien's Arkbow.
2019-05-17 16:22:54 +03:00
Agetian
31d9a1e6b3
- Attempting to consolidate the implementation for "can't search library".
2019-05-14 16:33:09 +03:00
Agetian
3913f7661f
- Some AI support for CantSearchLibrary / Ashiok effect.
2019-05-14 12:13:10 +03:00
Hans Mackowiak
8e5e8e1759
Card: store activations in Card
2019-05-13 14:39:11 +00:00
Hanmac
7160670597
PW Ability: store num of activations in card
2019-05-07 23:00:24 +02:00
Hans Mackowiak
fec2ea4bd8
Kefnet: add AI logic for the reveal effect
2019-05-04 10:04:43 +00:00
Hans Mackowiak
698359cbc9
Vitu ghazi
2019-05-01 08:15:32 +00:00
Hans Mackowiak
f408950aad
Bioessence Hydra: add new Trigger for counters on many game entities at once
2019-04-25 01:48:29 +00:00
Hanmac
4ab65f6471
CloneAi: use checkPhaseRestrictions for refactor later
2019-04-23 20:00:35 +02:00
Hanmac
0b1add8098
GameSimulator: fix Clone needing gameLastState
2019-04-23 20:00:35 +02:00
Agetian
982e919c94
- Fix a compile error.
2019-04-23 20:00:35 +02:00
Hans Mackowiak
be298bf544
Update GameCopier: copy Cloned CardStates
2019-04-23 20:00:35 +02:00
Hanmac
1bd762c0f8
GameSimTest: add test for Dimir Doppelganger
2019-04-23 20:00:35 +02:00
Agetian
014f226d48
- Remove more unused imports.
2019-04-23 20:00:35 +02:00
Hanmac
61a771fdd6
CopyEffect: Volraths Shapeshifter
2019-04-23 20:00:35 +02:00
Hanmac
ba8a38c2f4
CloneRewrite
2019-04-23 20:00:35 +02:00
Hans Mackowiak
b6f023c57c
- DiscardAi: find the first opponent that can discard to the effect, don't try to cast on players who have Tamiyo, Collector of Tales-like effect.
2019-04-16 05:05:13 +00:00
Hans Mackowiak
2617795e37
War: Proliferate: rework effect now put each counter type on it
2019-04-10 10:23:00 +00:00
Hanmac
94b2dfc282
Amass: better AI logic for token create
2019-04-10 08:13:22 +02:00
Agetian
d5c8aa765f
- A little bit more AmassAi logic: check if the token will survive, also check if the counters will actually be placed on the Army.
2019-04-10 08:13:22 +02:00
Agetian
9d75d13be1
- AmassAi: check if a counter will be placed on the creature if the AI controls an Army.
2019-04-10 08:13:22 +02:00
Agetian
7025098797
- Use the newer checkApiLogic call for AmassAi, also override doTriggerAINoCost (basic for now, will always return true until checkApiLogic is improved).
2019-04-10 08:13:22 +02:00
Agetian
9157fa728b
- Amass AI: basic implementation, currently just accepts and selects the best Army creature in play if available. To be improved.
2019-04-10 08:13:22 +02:00
Agetian
7890420fb0
- Added puzzle PS_RNA8.
2019-03-23 12:51:38 +03:00
Michael Kamensky
4f11fdc54f
Merge branch 'limit-tap-own-turn-ai' into 'master'
...
Be more conservative when AI uses Tap Effects
See merge request core-developers/forge!1460
2019-03-16 05:30:28 +00:00
Chris H
6e9c35a978
Be more conservative when AI uses Tap Effects
2019-03-15 23:29:30 -04:00
Agetian
bc75331809
- sa.isMandatory(): always false for subabilities, no reason to check.
2019-03-14 18:32:25 +03:00
Agetian
1ebde0d976
- Fix LifeLoseAI not targeting for subabilities like Revenge.
2019-03-14 16:56:23 +03:00
Michael Kamensky
a820ba35f7
Fix the AI not considering Adapt P/T bonus correctly on attack
2019-03-08 09:52:13 +00:00
Agetian
063ebf2f70
- Added puzzle PS_RNA5.
2019-03-04 15:04:21 +03:00
Chris H
7a96ff2d4b
Verify AI divided damage always fills out divided hash with proper values
2019-02-28 22:16:44 -05:00
Hanmac
0c2cfdce34
TokenInfo: fix if script is null
2019-02-23 13:47:40 +01:00
Chris H
ffda74101f
Actually fix the crash in TokenAI.spawnToken for Attacking tokens
2019-02-22 21:50:35 -05:00
Michael Kamensky
98282acc60
Merge branch 'forums-bug-fix-attach-ai' into 'master'
...
Fix the thing Sol told me to
See merge request core-developers/forge!1412
2019-02-22 13:06:33 +00:00