Hanmac wrote:but isn't "
Boonweaver Giant +
Animate Dead" should not pass because
Animate Dead can't ever enchant the Giant? or is it allowed to enchant it when Boonweaver got killed?
i am currently confused what you mean with "not pass"
Yep, you're right, it's not allowed to enchant it, but it does try to enchant it if we use !attachedTo.canBeEnchantedBy(c) - that's why I said "it does not pass" as in "the test for it does not pass"...

That was actually what prompted me to start coding my original fix yesterday... Basically, even with !attachedTo.canBeEnchantedBy(c),
Animate Dead will ETB and then go to the graveyard, which it shouldn't do.
Hmm, it looks like canBeEnchantedBy is not suited for that particular corner case check at the moment. I tried updating it to account for the situation which is handled by checkCanAttachTo in my fix, but unfortunately, that breaks other situations (for example, if that check is integrated into canBeEnchantedBy, then
Animate Dead stops working properly in normal cases, e.g. animating a creature from a graveyard). I'm not quite sure how to best adapt that function without breaking things elsewhere...
- Agetian