fix #H2582 - seemingly angry peaceful vault guard
Another one from nearly 7 years ago. Hero kicked embedded gold out of a wall while following the guard away from the vault and got "The guard calms down and picks up the gold." and player thought it was odd because the guard was peaceful. It is odd, but guards have an agitation state (0..7) when peaceful and it is always non-zero when this event occurs. Suppress the "calms down" part unless the agitation is close to making the guard turn hostile. [Agitation is set to 5 after that event, so it isn't very calming.] Also, the guard was picking up gold from underneath the hero while two steps away. Move him adjacent (although it doesn't knock other monsters out of the way if there's no room) prior to the message, then back again after. That's how if works for gold that's not at the guard's location and not at the hero's location, although that case does knock another monster out of the way if one is on the gold.
This commit is contained in:
@@ -290,6 +290,9 @@ apply fix from grunthack to prevent panic "fakecorr overflow" when vault guard
|
||||
couldn't figure out how to lead the hero from vault to civilization;
|
||||
fixes longstanding bug C343-23
|
||||
vibrating square is not really a trap so monsters don't need to avoid it
|
||||
if hero kicks some embedded gold out of a wall while following vault gaurd
|
||||
away from vault, don't report "the guard _calms_down_and_ picks up
|
||||
the gold" unless he's on brink of going ballistic
|
||||
|
||||
|
||||
Fixes to Post-3.6.1 Problems that Were Exposed Via git Repository
|
||||
|
||||
Reference in New Issue
Block a user