replace groovy script with card script
replace groovy script with card script
replace groovy code with card script
support 'whenever another <permanent> leaves the battlefield, <effect>'
replace groovy code with card script
support 'whenever a/an <permanent> leaves the battlefield, <effect>'
replace groovy code with card script
replace groovy code with card script
replace groovy code with card script
replace requires_groovy_code with ability property
simplified groovy code