foul-magics/Mage/src/main/java/mage/abilities/effects
xenohedron 9b3ff32a33
Rework sacrifice effects to support "can't be sacrificed" (#11587)
* add TargetSacrifice and canBeSacrificed

* SacrificeTargetCost refactor, now uses TargetSacrifice, constructors simplified, subclasses aligned

* fix text errors introduced by refactor

* refactor SacrificeEffect, SacrificeAllEffect, SacrificeOpponentsEffect

* cleanup keyword abilities involving sacrifice

* fix a bunch of custom effect classes involving sacrifice

* fix test choices

* update Assault Suit implementation

* fix filter check arguments

* add documentation to refactored common classes

* [CLB] Implement Jon Irenicus, Shattered One

* implement "{this} can't be sacrificed"

* add tests for Assault Suit and Jon Irenicus

* refactor out PlayerToRightGainsControlOfSourceEffect

* implement [LTC] Hithlain Rope

* add choose hint to all TargetSacrifice

---------

Co-authored-by: Evan Kranzler <theelk801@gmail.com>
Co-authored-by: PurpleCrowbar <26198472+PurpleCrowbar@users.noreply.github.com>
2023-12-31 14:10:37 -05:00
..
common Rework sacrifice effects to support "can't be sacrificed" (#11587) 2023-12-31 14:10:37 -05:00
keyword [LCC] Implement Topography Tracker (#11504) 2023-12-04 00:46:21 -05:00
mana some text fixes 2023-11-23 01:54:51 -05:00
ApplyCountersEffect.java
AsThoughEffect.java Rework AsThough handling to allow choosing/affecting a specific alternate cast (#11114) 2023-10-02 18:42:54 -04:00
AsThoughEffectImpl.java Rework AsThough handling to allow choosing/affecting a specific alternate cast (#11114) 2023-10-02 18:42:54 -04:00
AsThoughManaEffect.java
AsTurnedFaceUpEffect.java refactor: replacement effects don't use apply method now (#11484) 2023-11-28 11:17:28 +04:00
AuraReplacementEffect.java refactor: replacement effects don't use apply method now (#11484) 2023-11-28 11:17:28 +04:00
ContinuousEffect.java
ContinuousEffectImpl.java tests: added verify test to check miss of controlled filter in equip abilities (related to #11473); 2023-11-27 23:08:23 +04:00
ContinuousEffects.java Merge pull request #11178 from ssk97/MorphRework_v2 2023-10-02 23:01:40 -04:00
ContinuousEffectsList.java
ContinuousRuleModifyingEffect.java
ContinuousRuleModifyingEffectImpl.java
CostModificationEffect.java
CreateTokenCopySourceEffect.java
Effect.java
EffectImpl.java
Effects.java many the text fixes 2023-11-19 21:37:37 -05:00
EntersBattlefieldEffect.java
OneShotEffect.java
PayCostToAttackBlockEffect.java
PayCostToAttackBlockEffectImpl.java
PhantomPreventionEffect.java refactor: replacement effects don't use apply method now (#11484) 2023-11-28 11:17:28 +04:00
PlaneswalkerRedirectionEffect.java
PreventDamageAndRemoveCountersEffect.java refactor: replacement effects don't use apply method now (#11484) 2023-11-28 11:17:28 +04:00
PreventionEffect.java
PreventionEffectData.java
PreventionEffectImpl.java refactor: replacement effects don't use apply method now (#11484) 2023-11-28 11:17:28 +04:00
RedirectionEffect.java
ReplacementEffect.java
ReplacementEffectImpl.java refactor: replacement effects don't use apply method now (#11484) 2023-11-28 11:17:28 +04:00
RequirementEffect.java
RestrictionEffect.java
RestrictionUntapNotMoreThanEffect.java
ReturnMORToBattlefieldUnderOwnerControlWithCounterEffect.java
SearchEffect.java
SpliceCardEffect.java
WhileConditionContinuousEffect.java