Commit Graph

34074 Commits

Author SHA1 Message Date
Agetian
ea577d9c1b - Minor cleanup in tests. 2017-07-19 15:12:57 +00:00
Agetian
8399ccec2d - Added a test for PlayerXCondition (with Bloodghast as a test case). 2017-07-19 15:11:23 +00:00
Agetian
99315691dd - Do not reset playerXProperty to 0 in all cases (fixes Bloodghast, Guul Draz Specter and other similar cards that care for the player-based condition). 2017-07-19 15:03:47 +00:00
Agetian
ff5446b145 - Added a TODO entry to BoosterGenerator for further work.
- Documenting changes in CHANGES.txt.
2017-07-19 14:14:36 +00:00
Agetian
f14d795c0d - Somewhat better chances for generating Masterpieces; however, might still be a bit off (a bit much for KLD/AER and a bit small, perhaps, for EXP). 2017-07-19 05:06:10 +00:00
Agetian
3c1c6ea949 - Restored generation of Masterpiece cards in boosters (however, the chance at the moment is too high). 2017-07-19 04:55:19 +00:00
austinio7116
75cd1e6247 First HOU card-based deck generator data added 2017-07-18 22:33:10 +00:00
Agetian
9461217b3e - Removed an unnecessary DelayedTrigger param from Tatsumasa, the Dragon's Fang. 2017-07-18 17:05:59 +00:00
Agetian
08ecf716f2 - Attempting to improve the chance of generating VMA Power Nine specials in booster packs. 2017-07-18 16:14:59 +00:00
Hanmac
6a2cf634d0 GameAction: removed unused Unearth code 2017-07-18 15:53:47 +00:00
Agetian
cf2113c4f2 - Some code maintenance in BoosterGenerator [4]. 2017-07-18 15:38:02 +00:00
Agetian
27a2fc9e4a - Some code maintenance in BoosterGenerator [3]. 2017-07-18 15:05:50 +00:00
Agetian
6cc3e41b10 - Some code maintenance in BoosterGenerator [2]. 2017-07-18 15:05:08 +00:00
Agetian
3c816306bc - Some code maintenance in BoosterGenerator. 2017-07-18 15:04:14 +00:00
Agetian
39b5c89a8f - Fixed Rukh Egg. 2017-07-18 12:15:07 +00:00
Agetian
2abc34a93e - Condition simplification. 2017-07-18 10:12:50 +00:00
Agetian
e7359573f2 - A more appropriate fix for BoosterGenerator and newer sets (takes into accounts sets like SOI/EMN). 2017-07-18 10:09:19 +00:00
Agetian
4498602d8b - Fixed the foil rarity patch breaking Booster Draft mode. 2017-07-18 09:45:58 +00:00
Agetian
9315e6ca5c - PlayAi: the mandatory parameter was not correctly propagated in chooseSingleCard, thus making the AI bail on certain mandatory spells (e.g. suspended Ancestral Vision). 2017-07-18 04:33:29 +00:00
Agetian
d071c091fd - Put the NPE guard back in. 2017-07-18 03:59:14 +00:00
Agetian
a94d8ac86b - Looks like specific exception for Card objects is not necessary when displaying Remembered objects since Card.toString is already routed through CardView.toString when appropriate. 2017-07-18 03:54:08 +00:00
Agetian
bbe04e61ea - Simplified the code for displaying the Remembered cards. Already takes care of face-down cards (only shows their hidden ID, not their ordinary ID), and does it in a better way, displaying the hidden ID so that it's possible to track effects of cards such as Windbrisk Heights to their remembered face-down card in exile. 2017-07-18 03:29:42 +00:00
Hanmac
45a262780c GameAction: reset manifested cards back to normal if they are prevented 2017-07-17 20:31:27 +00:00
Agetian
47566b3fef - Do not update the view on ManifestAi replacement effect check. 2017-07-17 17:21:24 +00:00
Agetian
83d0e7065a - ManifestAi: AI should check to ensure that manifesting the card will not be prevented by something like Grafdigger's Cage. 2017-07-17 17:13:44 +00:00
Agetian
6a6108c842 - Extra limiting parameter in Resilient Khenra is no longer necessary (handled as a global rule in code post-HOU). 2017-07-17 16:36:08 +00:00
Agetian
e7d777e221 - Reformatting a comment. 2017-07-17 05:40:42 +00:00
Agetian
48cd4ab029 - Integrating the foil rarity patch by Seravy. 2017-07-17 05:07:47 +00:00
Hanmac
fdb19ebfbc SpellAbilityAI: add checkConditions, do extra handling for ManaSpent Check there
also add check for when main SpellAbility condition is false but the subAbility condition is true
like for Dawnglow Infusion
2017-07-16 18:31:24 +00:00
Hanmac
3793398741 AbilityUtils: add Maxto param which does max the calculated variable to zero (X cant be below 0)
PumpEffect & PumpAllEffect: use the new param there
2017-07-16 15:12:35 +00:00
Hanmac
fd5f230d91 Outbreak: use SpellDescription 2017-07-16 14:58:48 +00:00
Hanmac
103ddb6f15 LifeGainAi: new Format and try to add more logic into it with using Lifegain as Damage Spell 2017-07-16 08:17:21 +00:00
Agetian
56e119a094 - Updated some card scripts with "search library and hand for any number of cards with the same name" to use LKI such that they can interact correctly with cards that change the name of the card (e.g. Eradicate on a creature equipped with Spy Kit). 2017-07-16 04:18:10 +00:00
Agetian
e85975a8a2 - Formatting CardPicturePanel. 2017-07-15 18:10:44 +00:00
Agetian
87a13246f1 - Integrating the "display foils when opening booster packs" patch by Seravy. 2017-07-15 18:09:02 +00:00
Agetian
04fe6659c5 - Tweaked Princess Celestia 2 quest deck. 2017-07-15 17:46:38 +00:00
Agetian
fdc2244449 - Fixed Torment of Venom. 2017-07-15 15:51:52 +00:00
Agetian
ea8a97a7c3 - Preparing Forge for Android publish 1.6.0.004 [incremental]. 2017-07-15 15:17:14 +00:00
Agetian
44cafc14f0 - A more robust check in MeldAi (checks ownership of both components, ensures that source of SA is the primary meld). 2017-07-15 14:36:47 +00:00
swordshine
bf072a831f - C17: Added 4 cards 2017-07-15 13:45:01 +00:00
Agetian
7925ef6c48 - Fixed Gideon's Defeat. 2017-07-15 10:13:23 +00:00
Agetian
b737932da5 - Removed incorrect javadoc. 2017-07-15 08:37:45 +00:00
Agetian
bddd2d2473 - A small filtering precaution. 2017-07-15 08:36:16 +00:00
Agetian
1c20a00f7c - Updating AI support for Meld (particularly when it's an activated ability so the AI knows when to activate it). 2017-07-15 08:32:49 +00:00
Agetian
ee1c930273 - Forge-gui-mobile-dev: target Java 8 2017-07-15 04:42:31 +00:00
Agetian
bbfa486cd7 - TargetRestrictions: correctly process validTgts definitions such as Zombie.attacking for the purpose of canTgtCreature. Fixes, for instance, the AI using Accursed Horde to give indestructible to opponent's attacking zombies. 2017-07-15 04:29:27 +00:00
Agetian
6fdf895c01 - Embalmer's Tools: AI should generally use its activated ability at opponent's end of turn and before its own turn. 2017-07-15 03:52:48 +00:00
Agetian
eec43306b9 - Corrected the deck name. 2017-07-15 03:22:36 +00:00
Agetian
ca7ce6464a - Added Plague Fort 2 opponent by Seravy to the Urza quest world. 2017-07-15 03:21:31 +00:00
Agetian
b3310db468 - Fixed an avatar in one of the Theros PConq events. 2017-07-14 19:53:36 +00:00