foul-magics/Mage/src/main/java/mage/abilities
Cameron Merkel 73b63d14ad
TargetAmount refactors (#13128)
* Add minimum and maximum target counts as parameters for TargetAmount and its subclasses; update/add several rules comments (and one actual text) for clarity; remove unused imports

* Get amount+description from target instead of parameters for DistributeCountersEffect and DamageMultiEffect; additions to TargetImpl.getDescription to accommodate

* Create separate method to check if "any number" phrasing should be used, override it in TargetAmount

* Check instanceof TargetAmount before casting

* Add new constructors to chain off of for TargetCreaturePermanentAmount & TargetCreatureOrPlaneswalkerAmount

* Fix text for Storm the Seedcore

* Use Integer.MAX_VALUE instead of 0 to represent no maximum targets

* Add comment about getUseAnyNumber()

* Use amount-only constructors in some TargetAmount subclasses, add clarifying documentation

* Fix a few calls

* Require more specific filters
2024-12-17 19:23:18 -05:00
..
abilityword refactor: common logic for "at..." triggered abilities (#13045) 2024-10-27 21:03:40 -04:00
assignment
common refactor: fixed dies events support in single cards (part 8, related to #13089, continue from #13088); 2024-12-14 15:48:32 +04:00
condition [FDN] Implement Elenda, Saint of Dusk 2024-11-03 09:16:23 -05:00
costs Correct UntapTargetCost similarly to UntapSourceCost per 118.11 2024-12-01 12:21:24 -05:00
decorator refactor: shared logic for diff implementation of isInUseableZone, improved docs and readability; 2024-11-30 04:23:45 +04:00
dynamicvalue Introduce new batch event for life lost for a specific player (#13071) 2024-11-19 23:41:34 -05:00
effects TargetAmount refactors (#13128) 2024-12-17 19:23:18 -05:00
hint Venture into abilities - added card hints about current dungeon and room (part of #12274); 2024-09-20 18:03:23 +04:00
icon Can't be activated effects - fixed that some restricted effects show abilities as playable (example: Sharkey, Tyrant of the Shire and Karakas, fixed #10642) 2024-07-27 15:38:13 +04:00
keyword [MB2] Implement Hish of the Snake Cult (#13102) 2024-12-02 18:44:58 -05:00
mana implement [MH3] Primal Prayers ; use choice panel for cast mode choice ; allow some restricted "as thought as it had flash" to work only on matching alternative cast. (#12420) 2024-07-30 15:47:39 +02:00
meta refactor: shared logic for diff implementation of isInUseableZone, improved docs and readability; 2024-11-30 04:23:45 +04:00
token
triggers [PIP] Implement Overencumbered 2024-11-05 17:58:19 -05:00
Abilities.java GUI: introduced default card hints: 2024-07-27 09:40:41 +04:00
AbilitiesImpl.java GUI: introduced default card hints: 2024-07-27 09:40:41 +04:00
Ability.java refactor: shared logic for diff implementation of isInUseableZone, improved docs and readability; 2024-11-30 04:23:45 +04:00
AbilityImpl.java When you cast this spell - fixed that it required double cost for cards with alternative costs like Evoke (example: Nulldrifter, #12843) 2024-12-14 21:47:55 +04:00
ActivatedAbility.java
ActivatedAbilityImpl.java implement [MH3] Primal Prayers ; use choice panel for cast mode choice ; allow some restricted "as thought as it had flash" to work only on matching alternative cast. (#12420) 2024-07-30 15:47:39 +02:00
ActivationInfo.java
BatchTriggeredAbility.java rework batch events (#13066) 2024-11-19 21:23:08 -05:00
CompoundAbility.java GUI: introduced default card hints: 2024-07-27 09:40:41 +04:00
DelayedTriggeredAbilities.java
DelayedTriggeredAbility.java
EvasionAbility.java
LoyaltyAbility.java
MageSingleton.java
Mode.java [BLB] Implement Season of Gathering and Pawprints mechanic (#12617) 2024-08-14 21:13:09 -04:00
Modes.java rework allowing additional modes conditionally 2024-09-14 10:35:30 -04:00
OpeningHandAction.java
PlayLandAbility.java
SpecialAction.java
SpecialActions.java
SpellAbility.java implement [MH3] Primal Prayers ; use choice panel for cast mode choice ; allow some restricted "as thought as it had flash" to work only on matching alternative cast. (#12420) 2024-07-30 15:47:39 +02:00
StateTriggeredAbility.java
StaticAbility.java refactor: removed some usages of short LKI, moved static ability's useable zone logic to basic ability implementation; 2024-11-30 04:23:23 +04:00
TriggeredAbilities.java refactor: shared logic for diff implementation of isInUseableZone, improved docs and readability; 2024-11-30 04:23:45 +04:00
TriggeredAbility.java refactor: shared logic for diff implementation of isInUseableZone, improved docs and readability; 2024-11-30 04:23:45 +04:00
TriggeredAbilityImpl.java Triggered abilities - fixed that sacrice trigger doesn't work on itself (related to #13089, regression from #13088) 2024-12-14 16:59:20 +04:00