Re: Formal Request Thread
The idea was this:
Necrotic Ooze has a few abilities to handle abilities from dead creatures.
It has a list of names associated with numbers. This is a hard-coded list which links a given creature with its activated abilities. (For this to work right, really, it needs to be a list of names with each name associated with a chest which contains the numbers for the abilities to better handle creatures with multiple abilities.)
Whenever it finds a creature in a graveyard with an activated ability, add that activated ability ID to the list of current abilities if and only if the list does not already contain that number.
Whenever it finds a creature card being removed from a graveyard with an activated ability, check if any other creature card in a graveyard has that same ability. If so, do nothing. If not, remove the activated ability ID from the list of current abilities.
Now, you have a list of ability IDs (each ID being the resource_id of the ability to grant) which should be granted to Necrotic Ooze. If that list has 10 or fewer abilities, then grant them all. If it has more than 10 abilities, then grant abilities 1 through 9 in the list and grant an activated ability that says "{0}: Next". When this ability is activated, stop granting abilities 1 through 9 and start granting abilities 10 through 18. If it is activated again, stop granting 10-18 and start granting 19-27. And so one, and so forth. (Really, I'd do it slightly differently so that if, say, there 13 abilities, then it would originally grant 1-9 and then next would grant 5-13, so there's always the maximum number available. But that's a minor detail.)
Necrotic Ooze has a few abilities to handle abilities from dead creatures.
It has a list of names associated with numbers. This is a hard-coded list which links a given creature with its activated abilities. (For this to work right, really, it needs to be a list of names with each name associated with a chest which contains the numbers for the abilities to better handle creatures with multiple abilities.)
- When Necrotic Ooze enters the battlefield, check each creature card in all graveyards for activated abilities.
- When a creature card is put into a graveyard from anywhere, check if it has an activated ability.
- When a creature card is removed from a graveyard, check if it has an activated ability.
Whenever it finds a creature in a graveyard with an activated ability, add that activated ability ID to the list of current abilities if and only if the list does not already contain that number.
Whenever it finds a creature card being removed from a graveyard with an activated ability, check if any other creature card in a graveyard has that same ability. If so, do nothing. If not, remove the activated ability ID from the list of current abilities.
Now, you have a list of ability IDs (each ID being the resource_id of the ability to grant) which should be granted to Necrotic Ooze. If that list has 10 or fewer abilities, then grant them all. If it has more than 10 abilities, then grant abilities 1 through 9 in the list and grant an activated ability that says "{0}: Next". When this ability is activated, stop granting abilities 1 through 9 and start granting abilities 10 through 18. If it is activated again, stop granting 10-18 and start granting 19-27. And so one, and so forth. (Really, I'd do it slightly differently so that if, say, there 13 abilities, then it would originally grant 1-9 and then next would grant 5-13, so there's always the maximum number available. But that's a minor detail.)