Just out of curiosity, is a ZScript interface to the new enemy defense settings in the works? Ideally, a read/write one.
I've got a certain... enemy that is comprised of smaller enemies "clinging" to a big one. The smaller enemies are only killable when pulled away from the big one.
Currently, I'm using manual collision detection to fake this dynamic sword-defense, but it would be pretty sweet if we could just do something like:
if(*pulled off*) {
myNPC->Defense[NPCD_SWORD] = NPCDS_NONE;
} else {
myNPC->Defense[NPCD_SWORD] = NPCDS_IGNORE;
}(Highly abstracted, but same idea)