Commit Graph

3306 Commits

Author SHA1 Message Date
Hanmac
aab63e2029 CountersRemoveEffect: add ValidSource and CounterNum$ Any 2019-01-16 07:30:24 +01:00
Peter F. Patel-Schneider
e07be68786 Remove unused import in GameAction 2019-01-14 07:40:50 -05:00
Hanmac
20eba0fbd7 GameAction: add PlayerController:confirmMulliganScry 2019-01-13 22:01:22 +01:00
Peter F. Patel-Schneider
087495f5a0 Force AI to accept mulligan scry (otherwise there is a crash) 2019-01-13 10:24:40 -05:00
Peter F. Patel-Schneider
b94ec24948 Changes to do parts of multi-player scry in correct order 2019-01-13 10:08:29 -05:00
Hans Mackowiak
2640a509f9 Sunburst: rewrite using ETB counter 2019-01-13 14:10:44 +00:00
Hans Mackowiak
81f07cb8a3 Sentry: add more Breadcumbs 2019-01-13 09:44:15 +00:00
Chris H
fdc1c32287 Remove partial paris mulligan 2019-01-12 23:49:09 -05:00
Hanmac
17cff99c2b Adapt: add ReduceCost for Pteramander 2019-01-11 21:15:27 +01:00
Michael Kamensky
7d0dbff8bc Merge branch 'master' into 'master'
Select cards from any Zone that can be shown and do arrangeForScry by popping up library and moving cards (in desktop GUI); Pass min/max card selections through to GUI

See merge request core-developers/forge!1260
2019-01-11 17:08:50 +00:00
Hans Mackowiak
770ed4524a CostPayLife: fix unused import 2019-01-11 13:24:33 +00:00
Hans Mackowiak
bbe8d79400 Player: add PayLife Trigger 2019-01-11 10:16:29 +00:00
Hans Mackowiak
edaab9d7de TriggerType: add PayLife 2019-01-11 09:38:02 +00:00
Hans Mackowiak
842c6e681d TriggerPayLife: add new Trigger 2019-01-11 09:33:56 +00:00
Hans Mackowiak
05be8406cc Update TriggerLifeGained: better format 2019-01-11 09:31:53 +00:00
Hans Mackowiak
7aa879fb8e Update CostDraw: fix Description 2019-01-11 09:19:12 +00:00
Hans Mackowiak
1e6a9b8c26 Update CostDamage, fix Description 2019-01-11 09:17:55 +00:00
Hans Mackowiak
b2e9c88f62 CostPayLife: refund never called and doesn't work
negative amount can't be paid in the function
2019-01-11 09:16:50 +00:00
Peter F. Patel-Schneider
69502dd97b Pass min/max through choice code so that user can't choose too many cards 2019-01-06 12:07:19 -05:00
Hanmac
d0b569a07f Teysa Karlov: add Dieharmonicon to TriggerHandler 2019-01-06 11:38:58 +01:00
Hanmac
891f61701c Taps Trigger now flag for being used as Attacker 2019-01-05 20:52:40 +01:00
Hans Mackowiak
55da7435f8 CharmEffect: now allows zero choices 2019-01-05 12:01:30 +00:00
Hans Mackowiak
bbd48d1033 Adapt changes for Biomancer's Familiar 2019-01-04 19:38:37 +00:00
Hanmac
61aa144631 fixes for game sim 2019-01-03 21:44:18 +01:00
Hanmac
0d2114416c extend AtEOT, fix resetTurnActivations 2019-01-03 15:54:53 +01:00
Agetian
1ced8bba7d - Style fix. Added a comment. 2018-12-30 08:26:34 +03:00
Agetian
468ff7fc50 - Fixed the reveal for face-down cards leaving battlefield/stack not working anymore. 2018-12-30 08:19:29 +03:00
Hanmac
4168ef0b0d Morph and Manifest are not to facedown anymore 2018-12-29 15:45:20 +01:00
Hanmac
7f0f62abb6 Seance: use AddTypes and AtEOT instead of extra Clones defined 2018-12-27 17:31:34 +01:00
Hans Mackowiak
af38b9b0e4 Update Trigger ChangesZoneAll
CardZoneTable: for Origin + Destination => CardCollection Tables

GameAction: Refactor

HumanPlay: use executePayment List if able
2018-12-25 18:13:44 +01:00
Hanmac
986c4a8d5c Fix Myth Unbound 2018-12-25 18:13:43 +01:00
Hanmac
556d858a04 cards: Gruul Spellbreaker and Tithe Taker 2018-12-23 18:47:38 +01:00
Hanmac
de2c0aa073 Graft: moved AIGraftPreference 2018-12-23 18:47:38 +01:00
Hanmac
b87f247c09 Keyword: add Riot 2018-12-23 18:47:37 +01:00
Hanmac
d3395e95bc Keyword: add Spectacle 2018-12-23 18:47:37 +01:00
Hanmac
dd759352de Keyword: add Adapt 2018-12-23 18:47:37 +01:00
Hanmac
e85f9e08be Keyword: add Afterlife 2018-12-23 18:47:37 +01:00
Hans Mackowiak
9b991635fb Sentry exception rework 2018-12-23 17:46:57 +00:00
Agetian
6ca217cc53 - Attacking a planeswalker shouldn't count as attacking the opponent. 2018-12-18 16:11:41 +03:00
Agetian
1a6401797a - Added 5 deck-exclusive cards. 2018-12-18 11:52:07 +03:00
Agetian
01026e5d74 - Assorted fixes:
* Fixed ConcurrentModificationException when controlling something with Old Man of the Sea
* Added an AI hint to River Sneak.
* Fixed The Scorpion God.
2018-12-17 18:44:45 +03:00
Agetian
f703a903f5 - Transformed objects must be reset to Original before they go through CardFactory.copyCard, or they end up in a mixed state, at least visually (since the transformed state is set on the copied object). 2018-12-17 17:21:34 +03:00
Agetian
0bd8e3a9a2 - Added a previously unoverridden method to WrappedAbility which is needed for checking AttachedTo on triggers properly (fixes Street Sweeper). 2018-12-17 16:17:13 +03:00
Agetian
6bc46c2e56 - Fix imports. 2018-12-16 15:06:26 +03:00
Agetian
14799ccd62 - Complete the basic implementation of AI optional cost choice, remove getOptionalCosts. 2018-12-16 09:11:54 +03:00
Agetian
f9cd173405 - Prevent the AI from relying on the ability to play a spell with an optional cost when deciding to do an assault attack with possible non-combat damage (prevents certain silly suicidal chump-attacks) 2018-12-15 09:10:55 +03:00
Agetian
134b4a7d77 - Added basic AI support for Jump-start (the old-fashioned way for now). 2018-12-15 08:52:59 +03:00
Agetian
ee960c9c08 - Fixed an issue which caused DamageReceivedCondition not to work and always return 0 (looks like it needs an internal LKI check). 2018-12-13 15:55:42 +03:00
Agetian
5db2dd74b8 - Prevent a NPE on cloning a flipped card, ensure that the original image is loaded after cloning if the card is not flipped. 2018-12-12 20:19:15 +03:00
Agetian
16aca81508 - Added a TODO entry for future rework. 2018-12-11 13:54:33 +03:00