mrimer
Level: Legendary Smitemaster
Rank Points: 5058
Registered: 02-04-2003
IP: Logged
|
Re: Can't hack mud/tar/gel while mother is killed (+2)
Phew! This is a tricky one.
The root cause of this issue is that when the tar is stabbed, a duel is prepared with the connected tar mother instead of immediately removing the stabbed tar. Then, when the bomb detonates and the explosion kills the tar mother, the combat is skipped, and the tar stab doesn't happen.
I've fixed this by queuing up a list of potential tar stabs, pending a monster duel. Then, after room events are processed, if there are no live monsters left to duel on the tarstuff being stabbed, the tar can be removed immediately after all (without having fought the mother, etc). If the monster the game engine originally intended you to fight dies, but there is another live monster on the tarstuff, you will start a fight with that other monster instead.
Fixed in rev 113.
____________________________
Gandalf? Yes... That's what they used to call me.
Gandalf the Grey. That was my name.
I am Gandalf the White.
And I come back to you now at the turn of the tide.
[Last edited by mrimer at 01-15-2016 02:36 PM]
|