Hanmac
d3486341f3
Trigger: split replaceTriggerText into two different functions
2017-11-14 06:29:19 +00:00
Hanmac
ac12412ec3
AbilityFactory: use CardState instead of Card for the Svar params and the Names
2017-11-13 05:20:04 +00:00
Sol
1e09e9e3f8
Fix hideaway not etb tapped
2017-11-10 16:05:06 +00:00
Hanmac
cd55c4077e
Keyword: make Suspend extra class to make the special case if it doesn't have Cost or amount
2017-11-09 05:23:28 +00:00
Hanmac
4de53b29f0
Bestow: if SpellAbilityRestriction do not copy if card is already a copy and bestowed
...
make SpellAbility clone check for the hostcard so when ActivationPlayer is set, it already knows about the new host
2017-11-04 10:28:09 +00:00
Hanmac
08c02b7473
TokenInfo: fixed that Token get extra Keyword abilities twice
2017-11-04 09:35:07 +00:00
Agetian
af94789b7f
- The cast in AbilityUtils.java:1038 is unsafe despite the comment saying otherwise. The game could crash under certain circumstances with a class cast exception (e.g. the AI attacking with Wings of the Guard into a planeswalker like Kaya, Ghost Assassin).
2017-11-03 06:40:52 +00:00
Hanmac
c4520a0ac2
CardPredicates: fixed containsKeyword
2017-11-02 05:38:16 +00:00
Hanmac
75bec0a132
AbilityManaPart: update SourceCard if it got updated inside of SpellAbility
2017-10-31 13:27:51 +00:00
Hanmac
b680878558
CardFactoryUtil: fixed multiple problems with Dredge
2017-10-30 19:25:50 +00:00
Hanmac
3f95ca2869
CardFactory: fixed etbCounter init twice for Planeswalker
2017-10-30 18:37:41 +00:00
Hanmac
003d7ac606
CardState & Keyword when copying the keywords and cardtraits, update the hostcard for them
...
for Keyword, update them when the Keyword get's copied
2017-10-30 10:17:18 +00:00
Hanmac
b61267d3bd
CardFactoryUtil: hide ETB Tapped Replacement Effects, already got the keyword text
2017-10-28 07:42:48 +00:00
Hanmac
a6728853db
CardFactoryUtil: fixed ETB tapped
2017-10-28 07:01:49 +00:00
Hanmac
d95c46e1b8
Keyword VII: Make KeywordInterface copyable for reasons
...
fixed CardFactoryUtil and etbCounter
2017-10-27 18:22:05 +00:00
Hanmac
d3a18c55d3
Try to fix Keyword Creation on CardState#copy
2017-10-27 06:16:08 +00:00
Hanmac
8bffadeb14
Keyword VI : the last of the changes
2017-10-27 02:45:12 +00:00
Hanmac
4abb037081
Keyword V: Rise of the intrinsic
2017-10-26 18:28:24 +00:00
Hanmac
abd929070e
Keyword IV : a new Hope to finish
2017-10-25 20:31:42 +00:00
Hanmac
ea937a410b
CloneEffect: fixed for Keyword change
2017-10-25 19:33:37 +00:00
Hanmac
64159bab6f
Keyword Change III: now CardTraits aren't added to Card/CardState anymore but they are added to Keywords only
...
CardState uses update functions to fill the list from unhiddenKeywords
2017-10-25 19:09:36 +00:00
Hanmac
0bac699cbf
KeywordUpdate: fixed more stuff
2017-10-23 20:13:42 +00:00
Hanmac
2030ffcea3
KeywordApocalypse: return KeywordInstance whenever possible
2017-10-23 19:54:12 +00:00
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
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
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
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
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
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
Hanmac
b6ec9728d8
CardFactoryUtil: add Reinforce as Keyword
2017-10-15 08:10:44 +00:00
Agetian
f70e33a3ea
- CostAdjustment: account for cases when subability uses targeting and the parent SA doesn't (e.g. Spellwild Ouphe targeted with an AF Charm instant).
2017-10-11 15:00:54 +00:00
Hanmac
857d6f87a0
CardFactoryUtil: moved Suspend to addSpellAbility
2017-10-11 06:20:51 +00:00
Hanmac
d3444621b9
CardFactoryUtil: move Fortify
2017-10-11 05:38:17 +00:00
Sol
9f4184974e
Extract TokenInfo from CardFactory
2017-10-10 00:52:32 +00:00
Agetian
27c508caa0
- RemAIDeck update: next iteration (a couple E cards).
2017-10-09 06:12:47 +00:00
Agetian
fe4c836cd2
- CostAdjustment: check subabilities for valid targets (fixes Skulduggery targeting opponent's Kopala).
2017-10-09 03:34:57 +00:00
Agetian
43862a4b7b
- Better check for Sunburst.
2017-10-08 10:55:19 +00:00