foul-magics/Mage/src/main/java/mage/util/functions
ssk97 5e095afdb0
Implement Prototype ability (#11249)
Prototype is a SpellAbilityType, for which alternate costs are permitted. It has a continuous effect that applies on the battlefield as well as a method to modify the spell on the stack. Permanents have an isPrototyped flag that copy effects can check explicitly (same brittle method as transformed permanents use; reworking copy effects to streamline them is a separate scope).

Many test cases have been added to confirm functionality (thanks to Zerris for additional test suggestions).

---------

Co-authored-by: Susucre <34709007+Susucre@users.noreply.github.com>
Co-authored-by: Evan Kranzler <theelk801@gmail.com>
Co-authored-by: xenohedron <xenohedron@users.noreply.github.com>
2023-10-09 21:06:19 -04:00
..
AbilityCopyApplier.java
AddSubtypeCopyApplier.java
CardTypeCopyApplier.java
CopyApplier.java
CopyTokenFunction.java Implement Prototype ability (#11249) 2023-10-09 21:06:19 -04:00
EmptyCopyApplier.java
RemoveTypeCopyApplier.java Added Storm of Saruman card (#10433) 2023-06-08 16:58:28 -04:00
StackObjectCopyApplier.java Remove unneeded parameter from StackObjectCopyApplier.getNextNewTargetType (all users were using an Iterator or a fixed return value) 2022-09-14 03:23:21 -04:00