crushed to death by a gas spore's explosion
From the newsgroup, remarking on an usual cause of death seen at NAO. Surviving a gas spore's explosion (via hit points, not from life-saving) left "gas spore's explosion" as stale killer.name. Being killed by opening a drawbridge (but not by closing or breaking one) only assigned killer.name if it didn't already have a value, so the stale reason got used: crushed to death by a gas spore's explosion. This fixes it two ways: clear the stale value after surviving the explosion, and assign a specific reason when opening the drawbridge. This also removes stale reason for death set up by various drawbridge activity. For the usual case, the hero only survives by life-saving which does its own clearing of killer.name. But there might have been cases where it was being set for the hero when operating on a monster, so no life-saving involved. The drawbridge code is not the easiest code to navigate....
This commit is contained in:
@@ -414,6 +414,9 @@ the "bonesid" written into bones files when they're created so that they can
|
||||
be validated when loaded was incorrect for bones in the quest branch
|
||||
("QBar.2" ended up being "ar.2", "QKni.4" ended up as "ni.4", and so
|
||||
forth) but worked anyway, because validation used same incorrect value
|
||||
surviving a gas spore's explosion would leave that explosion as a stale reason
|
||||
for death which might show up strangely ("crushed to death by a gas
|
||||
spore's explosion" when killed by an opening drawbridge)
|
||||
|
||||
|
||||
Fixes to Post-3.6.0 Problems that Were Exposed Via git Repository
|
||||
|
||||
Reference in New Issue
Block a user