Add setInvulnerable(flag) method
Respect "notarget" metadata for targeting
Fix a double spell activation bug