Improve handling of abilities that let you cast spells from not hand zone once per turn (#11946)

* fix name of existing test

* adjust class name

* generate text

* use common class for Danitha

* add test

* update Gisa and Geralf

* rework Cemetery Illuminator, add test

* simplify effects allowing play from top of library

* simplify common classes which were bloated to support a single card

* simplify another

* remove unused import from test

* rework to check spell ability

* add more test cases

* add test cases

* add failing test case

* common watcher and hint for "once each turn, you may cast..."

* fix Assemble the Players to check spell ability, add test

* apply same improvements to Johann, Apprentice Sorcerer
This commit is contained in:
xenohedron 2024-03-18 23:09:31 -04:00 committed by GitHub
parent f04fcc43ef
commit d5295b0de3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
53 changed files with 910 additions and 899 deletions

View file

@ -20,12 +20,9 @@ public enum MageIdentifier {
// "Once each turn, you may cast an instant or sorcery spell from the top of your library."
//
CastFromGraveyardOnceWatcher,
CemeteryIlluminatorWatcher,
GisaAndGeralfWatcher,
DanithaNewBenaliasLightWatcher,
OnceEachTurnCastWatcher,
HaukensInsightWatcher,
IntrepidPaleontologistWatcher,
KaradorGhostChieftainWatcher,
KessDissidentMageWatcher,
MuldrothaTheGravetideWatcher,
ShareTheSpoilsWatcher,
@ -33,8 +30,6 @@ public enum MageIdentifier {
GlimpseTheCosmosWatcher,
SerraParagonWatcher,
OneWithTheMultiverseWatcher("Without paying manacost"),
JohannApprenticeSorcererWatcher,
AssembleThePlayersWatcher,
KaghaShadowArchdruidWatcher,
CourtOfLocthwainWatcher("Without paying manacost"),
LaraCroftTombRaiderWatcher,