Commit graph

20 commits

Author SHA1 Message Date
xenohedron
9480101432 refactor: SimpleActivatedAbility default zone (cards A) 2024-11-16 23:04:53 -05:00
xenohedron
670acdb4a6 refactor: SimpleStaticAbility default zone (cards A) 2024-11-16 23:04:53 -05:00
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
xenohedron
dd459c484f followup text fixes 2023-11-23 01:54:51 -05:00
DeepCrimson
ece7ea45bf
Fix raw use of parameterized class 'ManaCostsImpl' - 'a' cards (#9016)
Co-authored-by: DeepCrimson <deepcrimson@users.noreplyl.github.com>
2022-05-27 19:52:37 -06:00
Evan Kranzler
56603ffcd2 refactored card copy methods to be private 2021-02-02 17:07:37 -05:00
Oleg Agafonov
746bed7068 Additional fixes for #7006 2020-08-26 20:14:35 +04:00
Evan Kranzler
86906ec25f refactored all instances of SubtypePredicate 2020-01-06 16:48:00 -05:00
GrayedFox
3953f3dbdd
remove all MIT copyright notices from files 2018-06-02 17:59:49 +02:00
Evan Kranzler
a6e51e592b Changed all card classes to final
I was tired of the "overridable method call in constructor" warning and card classes should be final anyway
2018-05-21 10:53:44 -04:00
Oleg Agafonov
591de4d468 Refactoring: replace custom creature tokens with basic class (4 cards) 2018-05-10 14:03:44 +04:00
Marc Zwart
1053db617b fixed missing linebreaks 2018-04-03 14:31:59 +02:00
Marc Zwart
3e32287f00 fixed Token/TokenImpl imports and references 2018-04-03 14:05:41 +02:00
Marc Zwart
24dd7aef15 updated another batch of Token classes in Mage.Sets 2018-04-03 09:30:40 +02:00
LevelX2
cd6c7623ed * Added missing imports, imports reorg. 2017-07-23 16:29:29 +02:00
igoudt
105f346ebc subtypes for cards 'A' 2017-07-18 08:55:40 +02:00
igoudt
19db21c672 subtypes part 2 2017-05-20 22:41:25 +02:00
fireshoes
55b433ae36 [AKH] Added 3/27 spoilers to mtg-cards-data.txt. Implemented several of the new cards. 2017-03-28 22:25:29 -05:00
JOAC69
59f88047e4 Modify cards 2016-10-04 20:06:28 -05:00
JOAC69
4b8d31e5f4 Move cards 2016-10-04 19:58:48 -05:00
Renamed from Mage.Sets/src/mage/sets/elvesvsgoblins/AmbushCommander.java (Browse further)