Commit Graph

3556 Commits

Author SHA1 Message Date
Northmoc
37bce90529 A bit more with AI for Pump + KWChoice (#1637)
* some more tweaks

* PlayerControllerAi.chooseKeywordForPump refine some more

* SpecialCardAi remove Gideon keyword stuff

* PlayerControllerAi.chooseKeywordForPump improve further

* Card.associatedWithColor and Card.canProduceColorMana checks

* restore imports
2022-10-07 14:20:42 +03:00
tool4ever
0b451424df Cleanup & fixes (#1636)
Co-authored-by: tool4EvEr <tool4EvEr@192.168.0.59>
2022-10-03 19:01:18 +03:00
Anthony Calosa
54f39e1dd6 Merge pull request #1622 from tool4ever/meldfix
Fix crash from meld missing backside for new Urza
2022-10-03 13:00:22 +08:00
Eric
b16b7ce21a Add basic AI logic for cards that reduce costs for spells of a chosen card type. 2022-10-02 16:40:13 -05:00
Agetian
614e067bc9 Update Gideon Blackblade AI logic (#1630)
* - Update Gideon Blackblade AI logic.

* - Update imports.

* - Update imports.

* - Modify the method name to make more sense in the updated context.
2022-10-02 19:56:35 +03:00
Northmoc
f1ebac910c move keyword choice to PumpEffect from GenericChoice (#1626)
* move keyword choice to PumpEffect from GenericChoice

* fix silverquill_pledgemage.txt
2022-10-02 07:17:58 +03:00
Northmoc
99742042d4 "must block" KW -> static 2022-10-01 09:36:31 -04:00
tool4EvEr
0e18528bb8 Fix meld missing backside for new Urza 2022-10-01 12:09:02 +02:00
tool4ever
7571a29a26 Card cleanup (#1604) 2022-09-29 17:14:40 +00:00
tool4ever
84589e06c5 Redemptor Dreadnought + some fixes (#1578)
* Redemptor Dreadnought

* Cleanup

* Fix Moorland Rescuer

* Fix AttachedTo returning players for valid card params

* Fix cost

* Fixes

Co-authored-by: tool4EvEr <tool4EvEr@192.168.0.59>
2022-09-24 07:06:43 +03:00
tool4EvEr
ace730334f AiBlockController: check commanders in sortPotentialAttackers 2022-09-20 11:04:28 +02:00
tool4ever
b340f2b27b Fix cards (#1508)
Co-authored-by: tool4EvEr <tool4EvEr@192.168.0.59>
2022-09-13 06:53:24 +03:00
Eric
c094721b60 Add AI support for Fiery Justice. 2022-09-11 20:56:56 -05:00
tool4ever
1ca6b8c56c Improved Domain handling (#1479)
* Improved Domain handling

* Card fixes

* Update cards

Co-authored-by: tool4EvEr <tool4EvEr@192.168.0.59>
2022-09-06 21:54:14 +03:00
Hans Mackowiak
0c3536a561 Read ahead Saga Ability (#1413) 2022-08-28 17:28:55 +03:00
Northmoc
9492e4212c AiCostDecision.visit for CostChooseColor 2022-08-26 16:05:05 -04:00
tool4ever
6c0b3e97ed Some card fixes (#1401) 2022-08-25 22:38:55 +02:00
Hans Mackowiak
ce89121ba3 Card: add Stun Counter Effect (#1379) 2022-08-21 13:59:13 +03:00
Anthony Calosa
140345a31a Update AiController.java 2022-08-13 16:35:28 +08:00
tool4EvEr
772dfae275 payManaOptional fix 2022-08-11 16:56:45 +02:00
Anthony Calosa
93e18656c1 Update AiController.java (#1314)
- closes #1313
2022-08-11 11:57:41 +03:00
Northmoc
cb8c9694b5 ChooseGenericEffectAi match Sin Prodder logic to new UI 2022-08-09 19:55:27 -04:00
tool4EvEr
caad3bff44 Fix logic from refactoring 2022-08-04 23:04:35 +02:00
tool4EvEr
94d3c70d44 AI fix 2022-08-01 21:15:45 +02:00
tool4ever
569e948068 Fix Second Guess (#1246)
Co-authored-by: tool4EvEr <tool4EvEr@192.168.0.59>
2022-07-30 14:01:46 +03:00
tool4EvEr
d8826bb1c4 Performance 2022-07-28 15:49:00 +02:00
tool4ever
0f0df7e6ea PlayerFactory: Fix protection zones (#1204) 2022-07-26 16:34:24 +00:00
tool4EvEr
28d516b079 Update cards 2022-07-20 22:56:33 +02:00
tool4EvEr
58f8d55977 ControlGain: Fix NPE 2022-07-19 17:53:11 +02:00
Anthony Calosa
d962d20fd9 Merge pull request #1076 from tool4ever/charming
Make charm choices of triggers for each while it gets added to stack, not before
2022-07-14 14:33:42 +08:00
tool4ever
14d7c0fb11 Fix NPE when copying spell with failed targeting (#1118)
Co-authored-by: tool4EvEr <tool4EvEr@192.168.0.59>
2022-07-13 20:56:48 +03:00
tool4ever
ec3f7e00ca Fix AI casting suspended spells against Drannith Magistrate (#1098)
* Cleanup cards

* Fix AI casting suspended spells against Drannith Magistrate

Co-authored-by: tool4EvEr <tool4EvEr@192.168.0.59>
2022-07-10 16:51:56 +03:00
tool4EvEr
8f4c5039ed Cleanup AI 2022-07-10 15:07:47 +02:00
tool4EvEr
207a29079e Fabricate fix 2022-07-09 17:53:41 +02:00
tool4EvEr
3c5a3b426c No SpellAbilityRestriction in Subs (performance + fix AI mayplay Charms) 2022-07-09 17:29:41 +02:00
TRT
495cd22897 Clean up 2022-07-08 22:06:54 +02:00
tool4ever
dbaa2394c2 Merge branch 'Card-Forge:master' into charming 2022-07-08 17:19:46 +02:00
Northmoc
2f7bf741f3 Merge pull request #1008 from Northmoc/drafteffect
Give Alchemy mechanic Spellbook Draft its own API
2022-07-06 07:19:56 -04:00
Northmoc
d7eff45cd1 GN3: Imaryll, Elfhame Elite (+ refactor another quasi-keyword -> static) (#1033)
* AI stuff refactor keyword to check StaticAbilityAssignCombatDamageAsUnblocked

* ComputerUtilCombat refactor keyword to check StaticAbilityAssignCombatDamageAsUnblocked

* CreatureEvaluator refactor keyword to check StaticAbilityAssignCombatDamageAsUnblocked

* Combat.java refactor keyword to check StaticAbilityAssignCombatDamageAsUnblocked

* AnimateAllEffect.resolve support "staticAbilities" for garruk_savage_herald.txt

* imaryll_elfhame_elite.txt

* StaticAbilityAssignCombatDamageAsUnblocked.java

* refactor old cards

* AnimateAllEffect remove no longer needed

* AiBlockController.makeGoodBlocks restore lost '!'
2022-07-05 21:23:40 +03:00
tool4ever
3d634b6dac Global DamageHistory (#622)
* Global DamageHistory

* Add new cards

* Improve Ogre Enforcer

* Clean up

* Minor fixes
2022-07-04 13:27:44 +00:00
Northmoc
902706afd4 SpellApiToAi.apiToClass handle DraftEffect 2022-06-27 23:46:42 -04:00
Hans Mackowiak
fb559886df ~ fix AiController 2022-06-22 23:36:07 +02:00
Hans Mackowiak
e92198c254 confirmAction: add Map Params 2022-06-22 23:32:57 +02:00
tool4EvEr
ea38eb9baf Clean up 2022-06-17 19:21:56 +02:00
Agetian
ea849f337a Merge pull request #625 from Card-Forge/blitzV2
Blitz Toolbox
2022-06-15 13:51:51 +03:00
Hans Mackowiak
c6542347ea Card: add Table for ChangedSVars (#426)
* Card: add Table for ChangedSVars
2022-06-12 19:41:49 +02:00
Hans Mackowiak
d63d3202d3 AI: add flag to check for Blitz restriction 2022-06-12 07:34:37 +02:00
Hans Mackowiak
22c889d1e0 Remove InternalETB and replace with UpdateResult 2022-06-11 22:42:05 +02:00
Northmoc
ca9f20281a SpellApiToAi - add TakeInitiative 2022-06-08 19:06:41 -04:00
tool4EvEr
185598ab9c Fix NPE 2022-06-04 14:12:45 +02:00