fix #H5547 - named vampire shapeshifting message
Report was about "Pet vampire" but the relevant aspect was that the vampire had been assigned a name, not that it was tame: You observe a Hilda where a Hilda was. Investigating this has uncovered two other bugs, one potentially serious. m_monnam() overrides hallucination but seems to be getting used to some situations where hallucination should be honored (several instances). Dynamically constructed format strings are including monster or object names in the format (rather than the usual use as arguments), so player assigned names containing percent signs could cause havoc (a few instances). This fixes some of the former and one of the latter, but doesn't deal with various other cases revealed by grep.
This commit is contained in:
@@ -389,6 +389,8 @@ poor message when shape-shifted vampire reverts if cause of 'death' was
|
||||
The vampire bat is disintegrated. The vampire bat suddenly transforms
|
||||
and rises as a vampire. (fix: switch to existing alternate phrasing
|
||||
used for amorphous form, "reconstitute" rather than "transform")
|
||||
poor message when named vampire shifts shape within view:
|
||||
You observe a Dracula where a Dracula was.
|
||||
adult green dragons and the Chromatic Dragon were blinded by gas clouds
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user