Update c23171610.lua

Fix: Now will not destroy Machines immune to Spells, unless they become immune after it has resolved.