Page 1 of 1

(not a bug) Retaliation from beyond the grave?

Posted: Tue Sep 27, 2016 6:04 pm
by kaypy
It's hard to be 100% certain, but it sure seems that certain creatures are sometimes getting a retaliatory strike in response to the blow that kills them...

I think rats are the main culprits here, but that could just be that they have a more obvious attack sound...

Re: Retaliation from beyond the grave?

Posted: Tue Sep 27, 2016 8:47 pm
by Sophia
There is a check on monster_retaliate (which governs a counterattack after being struck) that prevents the function from being called if the monster would end up with 0 hp after the attack, so I don't think it's actually happening that way.

I think what's happening is that the monster gets to attack, which is resolved instantly, the party member kills them on the next frame, but their attack sound takes some finite amount of time so it's still playing when the monster is dead.

Re: Retaliation from beyond the grave?

Posted: Wed Sep 28, 2016 5:25 pm
by kaypy
That makes sense