Commit Graph

34929 Commits

Author SHA1 Message Date
Agetian
6433eff8ec - FIXME: Introducing a temporary measure to check for TargetedPlayerCtrl/TargetedPlayerOwn via the CastSA chain when the standard check fails. This can happen, for example, when an opponent's card is activated in hand (e.g. Chandra's Fury via Sen Triplets). Please assist, if possible, in investigating the source of this issue and fixing it (this may manifest itself in other places too, and most likely does). Feel free to revert this commit if you know a good solution. 2017-10-23 06:55:20 +00:00
Hanmac
6c51f7c6bc CardFactoryUtil: removed parseKeywords, and moved the last parts to methods
remove the need of Keyword.getInstance in each method
2017-10-22 18:04:36 +00:00
Hanmac
0c82e0614c Keyword Change: bind CardTraits onto Keyword(Instance/Interface) instead of KeywordsChange
call CardFactoryUtil functions only over Keyword(Instance/Interface)
2017-10-22 07:44:05 +00:00
Hanmac
acd30aaf08 Keyword: add KeywordInterface to be used instead of KeywordInstance<?> 2017-10-22 06:31:30 +00:00
Hanmac
ce2f75d43d KeywordCollection: refactor to make it work without string Map
KeywordInstance now has Original Keyword inside if needed elsewhere
Cycling better split into normal KeywordWithCost and TypeCycling into KeywordWithCostAndType
2017-10-21 19:20:45 +00:00
Hanmac
3f3875cc0c CardState: use KeywordCollection internal 2017-10-21 15:47:43 +00:00
Hanmac
e939218a65 KeywordCollection: use MultiMap to build it 2017-10-21 15:46:35 +00:00
Hanmac
d929a8b140 Koth & Elspeth: fixed EffectKeyword as Description 2017-10-21 15:38:14 +00:00
Hanmac
3e1aef4a58 CardFactoryUtil: shorted setupKeywordedAbilities and use the other functions 2017-10-20 06:16:14 +00:00
Hanmac
93dad0bf44 CostAdjustment: don't need Delve on SpellAbility 2017-10-20 06:09:58 +00:00
Agetian
d5259e8bfb - Added "CARDNAME can't phase out" to the list of non-stacking keywords (fixes AI using Ertai's Familiar). 2017-10-20 04:51:17 +00:00
Hanmac
440d7fe2b8 CardFactoryUtil: reworked ETB Replacement Keywords 2017-10-18 07:16:07 +00:00
Hanmac
0e666f07e9 CardFactoryUtil: moved Dredge to ReplacementEffect 2017-10-18 06:24:50 +00:00
Hanmac
1b542e936b CardTraitBase: moved sVars from SpellAbility 2017-10-18 06:16:23 +00:00
Hanmac
13487bbeed CardFactoryUtil: moved Amplify to ReplacementEffect 2017-10-18 05:43:34 +00:00
Hanmac
7a71716c7f cards: removed extra param from Champion 2017-10-17 05:38:27 +00:00
Hanmac
e72baa9dd4 CardFactoryUtil: moved Champion to addTrigger 2017-10-17 05:36:57 +00:00
Agetian
4c9f188b0c - A tweak to the previous method 2017-10-17 03:54:32 +00:00
Agetian
e78f90bc62 - Attempting to fix IndexOutOfBoundsError in CostRemoveAnyCounter. Couldn't trace it to the root of the problem yet though. 2017-10-17 03:53:44 +00:00
Hanmac
19d5e8457f Aura Barbs: use RelativeTarget 2017-10-16 17:58:10 +00:00
Hanmac
0fb0837561 DamageDealEffect: add RelativeTarget for to be relative to Damage Source 2017-10-16 17:54:57 +00:00
Hanmac
6cff21f47b AbilityUtils: add CardController for getDefinedPlayers 2017-10-16 17:52:05 +00:00
Hanmac
477408676d UntapAI: fixed non-final problems 2017-10-16 17:24:41 +00:00
Indigo Dragon
97b675bc9f THIRD RUN WITH DDT 2017-10-16 14:18:59 +00:00
Indigo Dragon
65dab56ad0 Second run with DDT 2017-10-16 14:18:10 +00:00
Indigo Dragon
faba97a6f5 First Run at DDT, based on leaked lists. 2017-10-16 14:11:21 +00:00
Agetian
c10a2e1133 - Minor improvement in Volrath's Shapeshifter AI logic. 2017-10-16 08:33:37 +00:00
Agetian
83d13cc153 - Fixed Wormfang Drake (does not use the Champion keyword). 2017-10-16 06:43:51 +00:00
Agetian
bdbdd990a7 - UntapAi: use the Tap to Untap Land logic for permanents only for now, to be improved later for sorceries. 2017-10-16 06:37:32 +00:00
Agetian
70e4d80965 - A more advanced untap logic for cards like Voyaging Satyr that allows the AI to pool mana and untap lands for more in order to cast a bigger spell. 2017-10-16 06:21:29 +00:00
Agetian
6ec8b15a34 - Added some AI logic flags to Deathrite Shaman. 2017-10-15 15:55:26 +00:00
Agetian
ee21afee61 - Preparing Forge for Android publish 1.6.4.003 [incremental]. 2017-10-15 15:43:30 +00:00
Agetian
08a08855aa - One more tweak to the previous commit. 2017-10-15 14:46:19 +00:00
Agetian
95ee7ba2f8 - Further logic update for Voyaging Satyr and similar cards. 2017-10-15 14:45:19 +00:00
Agetian
cde55f37f3 - Somewhat less risky logic for Voyaging Satyr and friends. 2017-10-15 14:40:40 +00:00
Agetian
5b147d4ab2 - Marking more cards with {T}: Untap target land as AI-playable (similar to Voyaging Satyr). 2017-10-15 14:25:46 +00:00
Agetian
058ef0c4c5 - Marking Arbor Elf as AI-playable (similar to Voyaging Satyr which is marked as such). 2017-10-15 14:18:08 +00:00
Agetian
bb48bd22a3 - Slight further improvement to PlayAi for Hideaway (might also consider improving for untargeted sorceries or sorceries with available legal targets, but that's iffy). 2017-10-15 14:05:43 +00:00
Agetian
0aecd7068f - Documenting changes in CHANGES.txt. 2017-10-15 13:39:57 +00:00
Agetian
0d4a837be6 - Patched up PlayAi to enable the AI to play Hideaway lands. Marking the relevant cards as playable.
- Some improvement to Volrath's Shapeshifter AI.
2017-10-15 13:38:17 +00:00
Agetian
ac70e6504a - Fixed the Ability$Counters deck hint in Proliferate. 2017-10-15 09:56:36 +00:00
Hanmac
a64f19a686 cards: update Reinforce cards 2017-10-15 08:27:27 +00:00
Agetian
9a12f8ecab - Fixed targeting for One with the Wind. 2017-10-15 08:18:04 +00:00
Agetian
37d6e5aa3d - Preparing Forge for Android publish 1.6.4.002 [incremental]. 2017-10-15 08:12:45 +00:00
Agetian
7cbf5ff74e - Added an implementation comment. 2017-10-15 08:11:05 +00:00
Hanmac
b6ec9728d8 CardFactoryUtil: add Reinforce as Keyword 2017-10-15 08:10:44 +00:00
Agetian
b5a167df05 - Unify most AITgts filtering calls in the AI code (except a couple which work differently). 2017-10-15 08:09:23 +00:00
Agetian
f01409ab2c - Documenting changes in CHANGES.txt. 2017-10-14 15:36:38 +00:00
Agetian
a96778a94d - Integrating Lorwyn quest world by Erazmus. 2017-10-14 15:34:11 +00:00
Agetian
e9e898da79 - Fix empty lines in scripts: part 3 2017-10-14 14:30:28 +00:00