Pearl ABS attack interruption.

Is it possible to have an attack interrupted? As is, once an attack is initiated it's going to connect, even if the pc/npc making the attack is destroyed long before the attack "takes effect." So if an enemy starts to swing a big, slow, two-handed hammer, and you manage to kill him right as he raises his hammer, he'll die and drop loot, but you'll still take damage 40 frames later. Is this something that can be scripted around or is this something I'm stuck with? I would like to have attacks interrupt each other if possible.

Falcao's Pearl ABS V3 download:
http://www.mediafire.com/file/5046w6b7wg6i2ud/Falcao+Pearl+ABS+Liquid+V3.zip
Please edit your opening post to include a link to the web page where you got the script. That way, if people who want to help need to check something, they don't have to go hunting.
Thanks.
Thanks, I fixed it.
Is it possible to have an attack interrupted? As is, once an attack is initiated it's going to connect, even if the pc/npc making the attack is destroyed long before the attack "takes effect." So if an enemy starts to swing a big, slow, two-handed hammer, and you manage to kill him right as he raises his hammer, he'll die and drop loot, but you'll still take damage 40 frames later. Is this something that can be scripted around or is this something I'm stuck with?

Falcao's Pearl ABS V3 download:
http://www.mediafire.com/file/5046w6b7wg6i2ud/Falcao+Pearl+ABS+Liquid+V3.zip

Maybe at Pearn Kernel script, line 1553
modifying:
@touch_damage = touch if touch != nil
into:
@touch_damage = touch if touch != nil && @killed != true
will do it
Thanks @Isabella Ava That doesn't seem to have made any change though. I also should have specified that I want attacks to be interrupted by taking damage at all, not just on death.

Original thread: https://forums.rpgmakerweb.com/threads/pearl-abs-attack-interruption.92970/