Closed Bartholomue closed 1 year ago
I'm thinking about how this could be implemented.
My findings so far:
I keep expecting that if I wear a napalm ring and kill a mummy, it'll blow up when I kill it
I was thinking about this.
While checking the source code for Mummy, I learned that the source code handles this Mummy specialty as if you wouldn't kill the monster.
Let me explain:
When a Mummy takes damage, the following happens, in order:
So technically the mummy does not die when you reduce its Health to below zero, but it is knocked down (the wiki uses this phrasing and I think it fits).
This is why the Napalm Ring does not work with the mummy, and since:
But at least I did some digging that would be helpful for someone else that would implement this.
I made a mod that does this, I can publish it soon
@aedenthorn thank you and well done on the implementation, spawning an explosion at the location is a creative solution. :)
Doesn't that explosion do any damage to other entities around the target as well?
It's just the standard napalm ring explosion, so has the same effect.
I keep expecting that if I wear a napalm ring and kill a mummy, it'll blow up when I kill it. Instead, I still have to bomb it. Would it be possible to make a mod that lets mummies blow up when killed if the player is wearing a napalm ring?