Usurper icon indicating copy to clipboard operation
Usurper copied to clipboard

Monster Summoning Zombie

Open dan1982code opened this issue 4 years ago • 4 comments

*Fight in the dungeons *Sometimes, a monster can summon undead -- "a zombie suddenly rises" *If that zombie kills you on its first turn, you aren't actually killed. (Things are reset on its subsequent turns, by which point it works properly.)

Has this bug been there all along, back to DOS? I'd be shocked.

The fix appears to be related to setting the zombie's target. Without a target, weird stuff happens and it decreases hitpoints from a fake player?? Not totally sure. I just tried to fix it.

Can anyone confirm this one or provide additional info?

dan1982code avatar Apr 04 '20 03:04 dan1982code

I do recall many odd times in the past when I would see the death message appear more than once in succession before finally dying in the dungeon. However I don't specifically recall it being exclusive to battles with a summoned zombie. Any chance it might also happen during those large battles with the gangs of orcs or rogues?

codefenix-ConChaos avatar Apr 06 '20 14:04 codefenix-ConChaos

Hmm -- not sure. If you see it, though, could you let me know?

The bug I found seems exclusive to enemies that "from the ground, a corpse suddenly rises". All other enemies seem to have their targets set correctly.

dan1982code avatar Apr 06 '20 14:04 dan1982code

I was killed by a zombie on a very recent play test, and as far as I recall, I stayed dead when it killed me.

I didn't have the presence of mind at the time to get a screenshot, unfortunately. I'll try to pay closer attention for the next time it happens though.

codefenix-ConChaos avatar Aug 08 '21 16:08 codefenix-ConChaos

Thank you :) glad I seem to have fixed this one.

I'll call it a zombie bug, lol: I think it existed in the DOS Jakob versions but was latent because of how memory is initialized etc.

dan1982code avatar Aug 08 '21 16:08 dan1982code