Commit Graph

2908 Commits

Author SHA1 Message Date
Agetian
0c397a414e - A better place for replacement effect CARDNAME conversion. 2017-12-08 10:35:54 +00:00
Agetian
2a62001048 - Fixed a NPE on mobile Forge when looking up certain cards with replacement effects (e.g. Kess, Dissident Mage). 2017-12-08 10:31:27 +00:00
Agetian
b6b8b9440f - Removed a useless line from the previous commit. 2017-12-05 08:57:13 +00:00
Agetian
c9a64b8e96 - Attempting to fix a bug with the replacement handler not converting CARDNAME. 2017-12-05 04:59:58 +00:00
Hanmac
05a9da4eb8 CardFactoryUtil: removed extra line for Suspend 2017-12-03 17:00:27 +00:00
Blacksmith
946a360652 [maven-release-plugin] prepare for next development iteration 2017-12-03 15:21:13 +00:00
Blacksmith
071fe9a910 [maven-release-plugin] prepare release forge-1.6.5 2017-12-03 15:21:05 +00:00
Hanmac
0b69923ad7 StaticAbility: fixed References there being copied to the Static Ability 2017-11-23 14:05:26 +00:00
Hanmac
00eb90bcc6 CardFactory: remove copyCopiableAbilities because it isn't needed anymore 2017-11-22 14:15:30 +00:00
Hanmac
c5fad910ba remove use of CardFactory.copyCopiableAbilities, it is already done by copyCopiableCharacteristics 2017-11-19 09:02:38 +00:00
Hanmac
67de9ba209 Card: do Suspend and Hideaway as better keywords 2017-11-17 07:15:56 +00:00
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