foul-magics/Mage/src/main/java/mage/abilities
ssk97 ec4c79e0e0
Fix copying subabilities to no longer duplicate them (#11399)
* Fix Subability copy bug (fix #10526 )

* Cards which copy abilities of other cards should not copy subabilities.

* Enable previously-failing tests

* Find more addAbility that should be done without subabilities

* Add documentation to addAbility function

* Add warning about not using basic addAbility when copying from a source

* Invert withSubabilities to fromExistingObject
2023-11-12 19:57:39 -05:00
..
abilityword Remove superfluous addManaCost method (#11288) 2023-10-09 15:25:19 -04:00
common refactor Quartzwood Crasher; Goro-Goro and Satoru 2023-11-08 23:28:12 -05:00
condition Refactored Ent's Fury 2023-11-07 10:20:26 -06:00
costs performance: improved CPU/memory usage with copy of cost's targets (related to #11285), added runtime check for wrong targets usage 2023-11-07 02:47:48 +04:00
decorator Remove superfluous addManaCost method (#11288) 2023-10-09 15:25:19 -04:00
dynamicvalue text fixes 2023-11-01 23:28:07 -04:00
effects Fix copying subabilities to no longer duplicate them (#11399) 2023-11-12 19:57:39 -05:00
hint refactor: improved ability's modes code (related to #11333) 2023-10-28 15:46:03 +04:00
icon
keyword Fix copying subabilities to no longer duplicate them (#11399) 2023-11-12 19:57:39 -05:00
mana refactor: additional improves for mana choice in some cards, related to Naked Singularity from 81039d6e72 2023-09-23 06:39:01 +04:00
meta
token Create common implementation for predefined tokens (#11065) 2023-08-29 20:28:21 -04:00
Abilities.java
AbilitiesImpl.java performance: improved CPU usage in games with big amount of permanents (related to #11285) 2023-11-07 01:14:07 +04:00
Ability.java Fix copying subabilities to no longer duplicate them (#11399) 2023-11-12 19:57:39 -05:00
AbilityImpl.java performance: improved CPU/memory usage with copy of cost's targets (related to #11285), added runtime check for wrong targets usage 2023-11-07 02:47:48 +04:00
ActivatedAbility.java Rework AsThough handling to allow choosing/affecting a specific alternate cast (#11114) 2023-10-02 18:42:54 -04:00
ActivatedAbilityImpl.java Remove superfluous addManaCost method (#11288) 2023-10-09 15:25:19 -04:00
ActivationInfo.java
CompoundAbility.java
DelayedTriggeredAbilities.java
DelayedTriggeredAbility.java
EvasionAbility.java
LoyaltyAbility.java Cleanup activated ability constructors (#11283) 2023-10-08 22:55:31 -04:00
MageSingleton.java
Mode.java Add modeTag + hint of used modes for "choose one that hasn't been chosen" abilities. (#10860) 2023-08-26 23:09:04 -04:00
Modes.java choose mode improves: 2023-11-02 17:57:55 +04:00
OpeningHandAction.java
PlayLandAbility.java Rework AsThough handling to allow choosing/affecting a specific alternate cast (#11114) 2023-10-02 18:42:54 -04:00
Pronoun.java
SpecialAction.java refactor: removed unused data from special action, improved code (related to #11137) 2023-09-17 14:37:49 +04:00
SpecialActions.java refactor: removed unused data from special action, improved code (related to #11137) 2023-09-17 14:37:49 +04:00
SpellAbility.java Implement Prototype ability (#11249) 2023-10-09 21:06:19 -04:00
StateTriggeredAbility.java cleanup some superfluous overrides (#11243) 2023-10-01 22:50:28 -04:00
StaticAbility.java clean some of the most frequent copy constructor / copy method (#11053) 2023-08-30 19:48:03 -04:00
TriggeredAbilities.java fix #11385 - triggers once per turn 2023-11-03 20:52:36 -04:00
TriggeredAbility.java fix #11385 - triggers once per turn 2023-11-03 20:52:36 -04:00
TriggeredAbilityImpl.java various and sundry text fixes 2023-11-04 18:41:56 -04:00