foul-magics/Mage/src/main/java/mage/abilities/dynamicvalue/common
ssk97 32bf3eb9bf
Genericize Target Adjusters (#12107)
* Create generic X MV adjuster

* Update XTargetsAdjuster

* Create DynamicValueTargetsAdjuster to replace VerseCounterAdjuster

* Convert XTargetsAdjuster to use DynamicValueTargetsAdjuster

* Genericize MV target adjuster

* Converting custom classes for A and B cards, fix Back in Town to only target creature cards

* Add Power and Toughness target adjusters, C cards

* Set up and use Monstrosity X DynamicValue

* Move Scry amount dynamic value to common, add D and E cards

* Convert F to I cards

* Cards K-M

* N, O cards

* Cards O-R

* S cards (check Scrap Welder)

* Cards T - Z

* Rename target adjusters

* Add filter messages, don't add 0 count targets

* Clear blueprint targets (just in case), fix target names, Temporal Firestorm is not target

* Requested renames

* Aether Burst is "up to"

* Review fixes

* Add new cards, add source to dynamic value calculation
2024-05-03 01:12:52 -04:00
..
AbilityResolutionCount.java
ArtifactYouControlCount.java
AttachedPermanentPowerCount.java Fix LKI handling in AttachedPermanentPowerCount 2023-07-28 00:55:42 -04:00
AttachedPermanentToughnessCount.java rework Banewasp Affliction 2023-10-20 01:15:34 -04:00
AttackedThisTurnOpponentsCount.java remove PlayersAttackedThisTurnWatcher from default watchers 2023-11-30 00:56:32 -05:00
AttackingCreatureCount.java Code cleanup: protect all copy constructors (#10750) 2023-08-04 19:34:58 -04:00
AuraAttachedCount.java Code cleanup: protect all copy constructors (#10750) 2023-08-04 19:34:58 -04:00
BlockingCreatureCount.java
CardsDrawnThisTurnDynamicValue.java add doc comments for usage of default watchers 2023-11-29 20:57:12 -05:00
CardsInAllGraveyardsCount.java
CardsInAllHandsCount.java
CardsInControllerGraveyardCount.java Code cleanup: protect all copy constructors (#10750) 2023-08-04 19:34:58 -04:00
CardsInControllerHandCount.java
CardsInTargetHandCount.java
CardsInTargetPlayerHandCount.java
CardsInTargetPlayersGraveyardCount.java Code cleanup: protect all copy constructors (#10750) 2023-08-04 19:34:58 -04:00
CardTypeAssignment.java
CardTypesInGraveyardCount.java
CavesControlledAndInGraveCount.java text fixes 2023-11-01 23:28:07 -04:00
ChromaCount.java
ColorAssignment.java
ColorsOfManaSpentToCastCount.java
CommanderCastCountValue.java
CommanderCastFromCommandZoneValue.java [OTC] Implement Thunderclap Drake 2024-04-09 13:08:10 +02:00
CommanderGreatestManaValue.java [OTC] Implement Cactus Preserve 2024-04-06 13:42:23 +02:00
ControllerGainedLifeCount.java [LTC] Implement Assemble the Entmoot (#10711) 2023-07-31 23:50:29 -04:00
ControllerLifeCount.java
ControllerLifeDividedValue.java Code cleanup: protect all copy constructors (#10750) 2023-08-04 19:34:58 -04:00
ControllerLostLifeCount.java [WOE] Implement Rowan, Scion of War (#10853) 2023-08-18 15:16:50 -04:00
ConvokedSourceCount.java Costs Tag Tracking part 4: Convoke (#11446) 2023-11-23 01:31:56 +04:00
CountersCount.java Code cleanup: protect all copy constructors (#10750) 2023-08-04 19:34:58 -04:00
CountersSourceCount.java
CreaturesAttackingYouCount.java Additional fixes for 9d9916280a 2023-05-09 15:05:24 +04:00
CreaturesDiedThisTurnCount.java
CreaturesThatAttackedThisTurnCount.java [WOE] Implement Rowdy Research ; Implement Witchstalker Frenzy (#10985) 2023-08-24 08:33:10 -04:00
CreaturesYouControlCount.java
DescendedThisTurnCount.java [LCI] Implement Enterprising Scallywag 2023-10-28 10:04:33 -04:00
DevotionCount.java
DevouredCreaturesCount.java Code cleanup: protect all copy constructors (#10750) 2023-08-04 19:34:58 -04:00
DiscardCostCardManaValue.java
DomainValue.java
EachTwoManaSpentToCastValue.java game: fixed "if mana was spent to cast" abilities after leaves (#11419) 2023-11-17 12:02:47 +04:00
EffectKeyValue.java
EquipmentAttachedCount.java Code cleanup: protect all copy constructors (#10750) 2023-08-04 19:34:58 -04:00
ExileFromHandCostCardConvertedMana.java
GateYouControlCount.java
GetKickerXValue.java Use generics to ensure the correct class types stored inside the costs tags. 2023-11-17 02:37:06 -08:00
GetMonstrosityXValue.java Genericize Target Adjusters (#12107) 2024-05-03 01:12:52 -04:00
GetScryAmount.java Genericize Target Adjusters (#12107) 2024-05-03 01:12:52 -04:00
GetXLoyaltyValue.java Use generics to ensure the correct class types stored inside the costs tags. 2023-11-17 02:37:06 -08:00
GetXValue.java Use generics to ensure the correct class types stored inside the costs tags. 2023-11-17 02:37:06 -08:00
GreatestCommanderManaValue.java
GreatestPowerAmongControlledCreaturesValue.java
GreatestSharedCreatureTypeCount.java
GreatestToughnessAmongControlledCreaturesValue.java [LTR] Implement Last March of the Ents 2023-06-03 10:06:39 -04:00
HalfValue.java Code cleanup: protect all copy constructors (#10750) 2023-08-04 19:34:58 -04:00
HighestCMCOfPermanentValue.java Code cleanup: protect all copy constructors (#10750) 2023-08-04 19:34:58 -04:00
HighestManaValueCount.java clean some of the most frequent copy constructor / copy method (#11053) 2023-08-30 19:48:03 -04:00
InstantSorceryExileGraveyardCount.java
LandsYouControlCount.java
ManacostVariableValue.java Use generics to ensure the correct class types stored inside the costs tags. 2023-11-17 02:37:06 -08:00
ManaSpentToCastCount.java
ManaTypeInManaPoolCount.java Code cleanup: protect all copy constructors (#10750) 2023-08-04 19:34:58 -04:00
MorphManacostVariableValue.java
MultikickerCount.java Convert Kicker to costs tag system 2023-11-16 15:07:58 -08:00
OpponentsCount.java
OpponentsLostLifeCount.java
OpponentsPoisonCountersCount.java Allowed getOpponents to filter out players who have lost the game. Fixes Corrupt mechanic, Mycosynth Fiend, etc 2023-02-03 02:23:10 +00:00
ParleyCount.java [NCC] Fixed Phabine, Boss's Confidant not working properly (and added hint to ParleyCount). Closes #9603. 2022-11-04 22:28:49 -04:00
PartyCount.java
PermanentEnteringBattlefieldManaValue.java fix file location in source tree 2023-07-10 06:32:04 -04:00
PermanentsOnBattlefieldCount.java Code cleanup: protect all copy constructors (#10750) 2023-08-04 19:34:58 -04:00
PermanentsSacrificedThisTurnCount.java [LTR] Implement The Balrog, Durin's Bane (#10515) 2023-07-01 12:53:31 -04:00
PermanentsTargetOpponentControlsCount.java Code cleanup: protect all copy constructors (#10750) 2023-08-04 19:34:58 -04:00
PermanentsYouControlCount.java
PermanentsYouOwnThatOpponentsControlCount.java
PredicateCardAssignment.java refactor: improved targets that find a [type1] card and/or a [type2] card (#11497) 2023-12-01 19:26:30 +04:00
RemovedCountersForCostValue.java
RevealTargetFromHandCostCount.java
SacrificeCostCreaturesPower.java
SacrificeCostCreaturesToughness.java
SacrificeCostManaValue.java [CMM] Implement Demon of Fate's Design (#10737) 2023-08-12 15:49:06 -04:00
SavedDamageValue.java
SavedMilledValue.java make batchs for milling cards (per player, all) 2024-05-01 20:55:50 +02:00
SideboardCardsYouControlCount.java
SignInversionDynamicValue.java
SnowManaSpentValue.java
SourceControllerCountersCount.java implement [PIP] HELIOS One 2024-05-02 16:32:41 +02:00
SourceMutatedCount.java
SourcePermanentPowerCount.java Code cleanup: protect all copy constructors (#10750) 2023-08-04 19:34:58 -04:00
SourcePermanentToughnessValue.java
SpellsCastNotFromHandValue.java [WHO] Implement Impending Flux 2023-10-24 19:51:01 -04:00
StaticValue.java
SubTypeAssignment.java
SunburstCount.java
SweepNumber.java
TargetManaValue.java
TargetPermanentPowerCount.java [MKC] Implement Experiment Twelve, changes to TargetPermanentPowerCount (#11901) 2024-03-04 14:42:04 +04:00
TokensCreatedThisTurnCount.java
TotalCardsExiledOwnedManaValue.java [WOE] Implement Ashiok, Wicked Manipulator (#10909) 2023-08-30 19:15:56 -04:00
TotalPermanentsManaValue.java Fix game freeze caused by TotalPermanentsManaValue hint copy (#10751) 2023-08-04 18:09:43 -04:00
UrzaTerrainValue.java
ZuberasDiedDynamicValue.java