Skip to content

Conversation

lambda-dom
Copy link
Contributor

@lambda-dom lambda-dom commented Jun 20, 2025

Fixing the crash in the poison room of the Watcher's Keep by implementing the solution in This thread.

Acknowledgments to the thread participants, in particular to Person that proposed this solution.

The solution is to simply swap the opcode 324 by 318 as there seem to be some weird interaction with printing messages for display. The reason I want the solution to cook longer is that IESDP has a note on the 324 opcode saying:

"When displaying its feedback message, it will attempt to identify the name of the parent spell if this effect is located in a child spell with no name. It does in the following manner: if the effect is used within a spell that has no name but there is a spell in the game whose resname is one character shorter with a valid name, then it will display that name. This feature is used by Sunfire ("SPWI523D.spl") in IWD:EE to check for thief evasion."

I have done blanket replacement for now, but it is unclear from the note if this has any actual gameplay functionality (the "check for thief evasion") or if it just has to do with displaying messages as per the opening "When displaying its feedback message".

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant