Commit Graph

32874 Commits

Author SHA1 Message Date
Hanmac
571f69011b Player: getAllies should not return the player itself 2017-02-25 10:03:13 +00:00
Sol
d3356140d1 - Fix Armory Automaton 2017-02-25 02:19:47 +00:00
Hanmac
f5a2881f5c toolcraft exemplar: do with IsPresend and ConditionPresent 2017-02-24 07:06:09 +00:00
Agetian
3e9c9682de - Fixed the AI loophole for Goblin Chirurgeon where it declared it would sac the Chirurgeon itself to regenerate a creature, then bails and regenerates the creature without sacrificing anything (unfortunately, this means the AI will never sac Chirurgeon itself to this ability, even when viable, but I'm not sure how to fix this in a better way for now). 2017-02-22 06:01:12 +00:00
Agetian
4f3272bc6f - Moved a comment line. 2017-02-21 07:07:52 +00:00
Agetian
dbe010b245 - A little precautionary measure for the possible future cards / custom cards utilizing AF Clash. 2017-02-21 07:02:55 +00:00
Agetian
9464645906 - Fixed Springjack Knight not triggering for the AI (proper creature targeting wasn't implemented). 2017-02-21 07:00:20 +00:00
Agetian
885776f66c - Preparing mobile Forge release 1.5.61.001. 2017-02-21 05:06:20 +00:00
Sol
7f82e78b92 [maven-release-plugin] prepare for next development iteration 2017-02-21 04:12:49 +00:00
Sol
c19c8a62e0 [maven-release-plugin] prepare release forge-1.5.60 forge-1.5.60 2017-02-21 04:12:35 +00:00
Myrd
ab8fd9e314 [Simulated AI] Fix simulation of playing spells exiled with Abbot of Keral Keep. 2017-02-20 18:46:28 +00:00
Myrd
e1d8231ce7 Fix test broken by oracle wording update. 2017-02-20 18:44:52 +00:00
Myrd
e6c8c15cab [Simulated AI] Fix propagation of remembered card states across game copies.
This makes simulations involving e.g. Abbot of Keral Keep not forget that they can play the card that was exiled.
2017-02-20 18:24:27 +00:00
Hanmac
c0e3820158 DrawAi: refactor AI to consider LoseLife and Poison sub abilities and try to kill opponents with it 2017-02-20 06:01:30 +00:00
Hanmac
4309f9c272 FightAi: use getOpponents instead of just getOpponent 2017-02-19 16:23:31 +00:00
Hanmac
ff539304b9 cards: update oracle for vampire tokens 2017-02-19 10:58:32 +00:00
Agetian
9f4317bf45 - Ensure that the card state view is updated when a creature with Suspend ETBs/LTBs (this fixes the summoning sickness icon still visible on a creature with Haste-from-Suspend). 2017-02-19 05:05:02 +00:00
Agetian
423599eaa3 - For cards like Restore Balance, Balance, etc., and for other cases where the AI uses getWorstLand/getWorstLandToAnimate, ensure that lands with negative initial score are still considered and picked by the AI (otherwise they're never picked even if the pick is mandatory). 2017-02-19 04:27:45 +00:00
Sol
60ad055c74 - Fix Call the Bloodline text 2017-02-19 02:53:41 +00:00
Agetian
57151ab72b - Fixed Blinding Beam. 2017-02-17 16:06:24 +00:00
Agetian
a4b3cbe78d - One more inverted logic fix. 2017-02-17 15:29:12 +00:00
Agetian
c8b4295da2 - Fixed the implementation of mandatory AB Phases AI a bit (and simplified it). 2017-02-17 15:25:34 +00:00
Agetian
61e16034c6 - Fixed mandatory AB Phases not triggering for the AI (e.g. Shimmering Efreet) 2017-02-17 15:24:05 +00:00
Sol
2650c7611b - Fix Lightning Runner 2017-02-17 04:21:04 +00:00
Hanmac
c03b38ca9b CardFactory: copyCard with Token: copyState does already copy StaticAbilties 2017-02-16 18:20:17 +00:00
Hanmac
489baa8751 CardState: with copyForm, use the card of the new state as host 2017-02-16 18:15:13 +00:00
Hanmac
5dc9031444 CostDamage & HumanPlay: add missing triggerPreventDamage 2017-02-16 17:58:05 +00:00
Agetian
2e10dacd9a - Attempting to fix compile errors [please review and update if necessary]. 2017-02-16 17:48:21 +00:00
Hanmac
33917b7d65 Card: fixed intrinsic on copied static abilities 2017-02-16 06:21:48 +00:00
Hanmac
93b0457526 Card: update the host for static abilties if the state is changed 2017-02-16 05:28:26 +00:00
Hanmac
d47429445b Card: add missing fix for prevent damage 2017-02-16 05:19:46 +00:00
Agetian
bc0be6facb - Enabling ACTIVELY_DESTROY_ARTS_AND_NONAURA_ENCHS for the default AI profile (confirmed to do a good enough job for its purpose). 2017-02-16 04:55:24 +00:00
Hanmac
62eae89766 Selfless Squire: use better trigger for damage prevented 2017-02-15 19:13:17 +00:00
Hanmac
f930215556 DamagePreventedOnce: add trigger for Damaged Prevented Once 2017-02-15 19:12:26 +00:00
Agetian
7a72023ee6 - Fixed Death's Caress 2017-02-14 04:12:56 +00:00
Hanmac
a9aac34a8a GameAction: fixed StaticAbility for Card changes Zone 2017-02-13 05:44:16 +00:00
Agetian
0f8e78fcd6 - Fixed Sage-Eye Avengers. 2017-02-12 18:11:33 +00:00
Agetian
fa0b726dbd - Better AI logic name for Evolutionary Escalation. 2017-02-12 06:46:49 +00:00
Agetian
b12e071e32 - Allow the AI to get back Metalwork Colossus from the graveyard using token and low-CMC (1,2) artifacts. 2017-02-12 06:38:44 +00:00
Hanmac
32981c7577 Card: remove StaticAbilityStrings, copy the static abilities directly 2017-02-12 02:55:38 +00:00
Agetian
bf23b8ade4 - Fixed Evolutionary Escalation not working for the AI.
- Some cleanup in CountersPutAi.
2017-02-11 16:13:25 +00:00
Agetian
37dcb7d64a - Fixed Forged in Battle quest precon. 2017-02-11 15:24:38 +00:00
Hanmac
9e13603122 ClashAi: rewrite it to use new SpellAbilityAi format 2017-02-11 09:17:59 +00:00
Hanmac
249e3f9d71 CardFactory: add assignNewId to copyStats to make it work better with copyCard and token 2017-02-10 06:22:54 +00:00
Agetian
24422508ba - Fixed LastStateBattlefield/LastStateGraveyard counts (e.g. Ulasht, the Hate Seed) 2017-02-10 05:03:25 +00:00
pfps
588597b1ee move swing call into GUI thread 2017-02-09 15:36:06 +00:00
Agetian
43bd2990d3 - Fixed Personal Incarnation. 2017-02-09 14:54:55 +00:00
pfps
0a98b03180 move some focus stuff into GUI thread to try to fix crash 2017-02-08 23:36:47 +00:00
pfps
87aaf7d997 make targetting area in VDock be non-focusable 2017-02-08 23:30:42 +00:00
Agetian
156b11fda6 - Reverted 33597 (breaks a lot). 2017-02-08 16:45:52 +00:00