Trying to make a pseudo-block NPC(SMM style Muncher) killable
Posted: Sun Jul 05, 2020 3:49 am
...But I seem to have unlocked the secret to immortality. No matter what harmtypes I set or options I tweak, this NPC is 100% impossible to kill.
Hammers just fly through it, POW blocks have no effect, and they find lavabathing altogether far too relaxing. I'm comparing their code to my Koopatrol NPC, and I've flipped booleans around to try to get them to die- but replacing their registerHarmType with the Koopatrol's, using all its bools, none of that seems to allow them to die. I did try replacing their .lua with the Koopatrol NPC's in its entirety, and that did make them killable, but just trying to copy parts of it around doesn't seem to get the result I need.
I've looked up the documentation as usual, and can find no information about why this might be happening(or, for that matter, what makes an NPC vulnerable to POW block damage anyway).
NPC.ini:
NPC.lua:
Hammers just fly through it, POW blocks have no effect, and they find lavabathing altogether far too relaxing. I'm comparing their code to my Koopatrol NPC, and I've flipped booleans around to try to get them to die- but replacing their registerHarmType with the Koopatrol's, using all its bools, none of that seems to allow them to die. I did try replacing their .lua with the Koopatrol NPC's in its entirety, and that did make them killable, but just trying to copy parts of it around doesn't seem to get the result I need.
I've looked up the documentation as usual, and can find no information about why this might be happening(or, for that matter, what makes an NPC vulnerable to POW block damage anyway).
NPC.ini:
Spoiler: show
Spoiler: show